1 #ifndef TEMU_BUS_AMBA_H
2 #define TEMU_BUS_AMBA_H
20 static const uint32_t teAMBA_VendorGaisler = 0x01;
21 static const uint32_t teAMBA_VendorPender = 0x02;
22 static const uint32_t teAMBA_VendorEsa = 0x04;
23 static const uint32_t teAMBA_VendorAstrium = 0x06;
24 static const uint32_t teAMBA_VendorOpenChip = 0x07;
25 static const uint32_t teAMBA_VendorOpenCores = 0x08;
26 static const uint32_t teAMBA_VendorVarious = 0x09;
27 static const uint32_t teAMBA_VendorDlr = 0x0a;
28 static const uint32_t teAMBA_VendorEonic = 0x0b;
29 static const uint32_t teAMBA_VendorParisTech = 0x0c;
30 static const uint32_t teAMBA_VendorRadionor = 0x0f;
31 static const uint32_t teAMBA_VendorGleichmann = 0x10;
32 static const uint32_t teAMBA_VendorMenta = 0x11;
33 static const uint32_t teAMBA_VendorSun = 0x13;
34 static const uint32_t teAMBA_VendorMovidia = 0x14;
35 static const uint32_t teAMBA_VendorOrbita = 0x17;
36 static const uint32_t teAMBA_VendorSiemens = 0x1a;
37 static const uint32_t teAMBA_VendorActel = 0xac;
38 static const uint32_t teAMBA_VendorCaltech = 0xca;
39 static const uint32_t teAMBA_VendorEmbeddit = 0xea;
110 static inline uint32_t
125 Ahb->
Bar[Id] = (Ahb->
Bar[Id] & 0x000fffff) | (Addr & 0xfff00000);
131 Ahb->
Bar[Id] = (Ahb->
Bar[Id] & 0xfff0ffff) | (CP << 16);
137 Ahb->
Bar[Id] = (Ahb->
Bar[Id] & 0xffff000f) | (Mask << 4);
143 Ahb->
Bar[Id] = (Ahb->
Bar[Id] & 0xfffffff0) | Type;
173 static inline uint32_t
182 Apb->
Bar = (Apb->
Bar & 0x000fffff) | ((Addr & 0x000fff00) << 12);
188 Apb->
Bar = (Apb->
Bar & 0xfff0ffff) | (CP << 16);
194 Apb->
Bar = (Apb->
Bar & 0xffff000f) | (Mask << 4);
200 Apb->
Bar = (Apb->
Bar & 0xfffffff0) | Type;
struct temu_ApbIface temu_ApbIface
#define OBJSYS_OBJ_TYPE(N)
AHB bus plug and play record.
struct temu_AhbIface temu_AhbIface
APB bus plug and play record.