9 #ifndef TEMU_BUS_AMBA_H
10 #define TEMU_BUS_AMBA_H
28 static const uint32_t teAMBA_VendorGaisler = 0x01;
29 static const uint32_t teAMBA_VendorPender = 0x02;
30 static const uint32_t teAMBA_VendorEsa = 0x04;
31 static const uint32_t teAMBA_VendorAstrium = 0x06;
32 static const uint32_t teAMBA_VendorOpenChip = 0x07;
33 static const uint32_t teAMBA_VendorOpenCores = 0x08;
34 static const uint32_t teAMBA_VendorVarious = 0x09;
35 static const uint32_t teAMBA_VendorDlr = 0x0a;
36 static const uint32_t teAMBA_VendorEonic = 0x0b;
37 static const uint32_t teAMBA_VendorParisTech = 0x0c;
38 static const uint32_t teAMBA_VendorRadionor = 0x0f;
39 static const uint32_t teAMBA_VendorGleichmann = 0x10;
40 static const uint32_t teAMBA_VendorMenta = 0x11;
41 static const uint32_t teAMBA_VendorSun = 0x13;
42 static const uint32_t teAMBA_VendorMovidia = 0x14;
43 static const uint32_t teAMBA_VendorOrbita = 0x17;
44 static const uint32_t teAMBA_VendorSiemens = 0x1a;
45 static const uint32_t teAMBA_VendorActel = 0xac;
46 static const uint32_t teAMBA_VendorCaltech = 0xca;
47 static const uint32_t teAMBA_VendorEmbeddit = 0xea;
67 #define TEMU_AHB_IFACE_TYPE "AhbIface"
88 #define TEMU_APB_IFACE_TYPE "ApbIface"
118 static inline uint32_t
133 Ahb->
Bar[Id] = (Ahb->
Bar[Id] & 0x000fffff) | (Addr & 0xfff00000);
139 Ahb->
Bar[Id] = (Ahb->
Bar[Id] & 0xfff0ffff) | (CP << 16);
145 Ahb->
Bar[Id] = (Ahb->
Bar[Id] & 0xffff000f) | (Mask << 4);
151 Ahb->
Bar[Id] = (Ahb->
Bar[Id] & 0xfffffff0) | Type;
162 static inline uint32_t
174 static inline uint32_t
187 static inline uint32_t
200 static inline uint32_t
209 Apb->
Bar = (Apb->
Bar & 0x000fffff) | ((Addr & 0x000fff00) << 12);
215 Apb->
Bar = (Apb->
Bar & 0xfff0ffff) | (CP << 16);
221 Apb->
Bar = (Apb->
Bar & 0xffff000f) | (Mask << 4);
227 Apb->
Bar = (Apb->
Bar & 0xfffffff0) | Type;
struct temu_ApbIface temu_ApbIface
AHB bus plug and play record.
#define TEMU_IFACE_REFERENCE_TYPE(N)
struct temu_AhbIface temu_AhbIface
APB bus plug and play record.