Lines Matching defs:addr
60 #define readb(addr) (*(volatile u8 *)(uintptr_t)(addr)) argument
61 #define readw(addr) (*(volatile u16 *)(uintptr_t)(addr)) argument
62 #define readl(addr) (*(volatile u32 *)(uintptr_t)(addr)) argument
63 #define readq(addr) (*(volatile u64 *)(uintptr_t)(addr)) argument
69 #define writeb(b, addr) (*(volatile u8 *)(addr) = (b)) argument
70 #define writew(b, addr) (*(volatile u16 *)(addr) = (b)) argument
71 #define writel(b, addr) (*(volatile u32 *)(addr) = (b)) argument
72 #define writeq(b, addr) (*(volatile u64 *)(addr) = (b)) argument
102 #define clrbits(type, addr, clear) \ argument
105 #define setbits(type, addr, set) \ argument
108 #define clrsetbits(type, addr, clear, set) \ argument
111 #define clrbits_be32(addr, clear) clrbits(be32, addr, clear) argument
112 #define setbits_be32(addr, set) setbits(be32, addr, set) argument
113 #define clrsetbits_be32(addr, clear, set) clrsetbits(be32, addr, clear, set) argument
115 #define clrbits_le32(addr, clear) clrbits(le32, addr, clear) argument
116 #define setbits_le32(addr, set) setbits(le32, addr, set) argument
117 #define clrsetbits_le32(addr, clear, set) clrsetbits(le32, addr, clear, set) argument
119 #define clrbits_be16(addr, clear) clrbits(be16, addr, clear) argument
120 #define setbits_be16(addr, set) setbits(be16, addr, set) argument
121 #define clrsetbits_be16(addr, clear, set) clrsetbits(be16, addr, clear, set) argument
123 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear) argument
124 #define setbits_le16(addr, set) setbits(le16, addr, set) argument
125 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set) argument
127 #define clrbits_8(addr, clear) clrbits(8, addr, clear) argument
128 #define setbits_8(addr, set) setbits(8, addr, set) argument
129 #define clrsetbits_8(addr, clear, set) clrsetbits(8, addr, clear, set) argument
211 #define clrio(type, addr, clear) \ in __INS() argument
214 #define setio(type, addr, set) \ in __INS() argument
217 #define clrsetio(type, addr, clear, set) \ in __INS() argument
220 #define clrio_32(addr, clear) clrio(l, addr, clear) in __INS() argument
221 #define clrio_16(addr, clear) clrio(w, addr, clear) in __INS() argument
222 #define clrio_8(addr, clear) clrio(b, addr, clear) in __INS() argument
224 #define setio_32(addr, set) setio(l, addr, set) in __INS() argument
225 #define setio_16(addr, set) setio(w, addr, set) in __INS() argument
226 #define setio_8(addr, set) setio(b, addr, set) in __INS() argument
228 #define clrsetio_32(addr, clear, set) clrsetio(l, addr, clear, set) in __INS() argument
229 #define clrsetio_16(addr, clear, set) clrsetio(w, addr, clear, set) in __INS() argument
230 #define clrsetio_8(addr, clear, set) clrsetio(b, addr, clear, set) in __INS() argument
268 #define IO_COND(addr, is_pio, is_mmio) do { \ argument
277 static inline u8 ioread8(const volatile void __iomem *addr) in ioread8()
283 static inline u16 ioread16(const volatile void __iomem *addr) in ioread16()
289 static inline u32 ioread32(const volatile void __iomem *addr) in ioread32()
295 static inline void iowrite8(u8 value, volatile void __iomem *addr) in iowrite8()
300 static inline void iowrite16(u16 value, volatile void __iomem *addr) in iowrite16()
305 static inline void iowrite32(u32 value, volatile void __iomem *addr) in iowrite32()