Lines Matching refs:addr

71 static inline void writeb(u8 val, volatile void __iomem *addr)  in writeb()  argument
74 __arch_putb(val, addr); in writeb()
77 static inline void writew(u16 val, volatile void __iomem *addr) in writew() argument
80 __arch_putw(val, addr); in writew()
83 static inline void writel(u32 val, volatile void __iomem *addr) in writel() argument
86 __arch_putl(val, addr); in writel()
89 static inline void writeq(u64 val, volatile void __iomem *addr) in writeq() argument
92 __arch_putq(val, addr); in writeq()
95 static inline u8 readb(const volatile void __iomem *addr) in readb() argument
99 val = __arch_getb(addr); in readb()
104 static inline u16 readw(const volatile void __iomem *addr) in readw() argument
108 val = __arch_getw(addr); in readw()
113 static inline u32 readl(const volatile void __iomem *addr) in readl() argument
117 val = __arch_getl(addr); in readl()
122 static inline u64 readq(const volatile void __iomem *addr) in readq() argument
126 val = __arch_getq(addr); in readq()
170 #define clrbits(type, addr, clear) \ argument
171 out_##type((addr), in_##type(addr) & ~(clear))
173 #define setbits(type, addr, set) \ argument
174 out_##type((addr), in_##type(addr) | (set))
176 #define clrsetbits(type, addr, clear, set) \ argument
177 out_##type((addr), (in_##type(addr) & ~(clear)) | (set))
179 #define clrbits_be32(addr, clear) clrbits(be32, addr, clear) argument
180 #define setbits_be32(addr, set) setbits(be32, addr, set) argument
181 #define clrsetbits_be32(addr, clear, set) clrsetbits(be32, addr, clear, set) argument
183 #define clrbits_le32(addr, clear) clrbits(le32, addr, clear) argument
184 #define setbits_le32(addr, set) setbits(le32, addr, set) argument
185 #define clrsetbits_le32(addr, clear, set) clrsetbits(le32, addr, clear, set) argument
187 #define clrbits_be16(addr, clear) clrbits(be16, addr, clear) argument
188 #define setbits_be16(addr, set) setbits(be16, addr, set) argument
189 #define clrsetbits_be16(addr, clear, set) clrsetbits(be16, addr, clear, set) argument
191 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear) argument
192 #define setbits_le16(addr, set) setbits(le16, addr, set) argument
193 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set) argument
195 #define clrbits_8(addr, clear) clrbits(8, addr, clear) argument
196 #define setbits_8(addr, set) setbits(8, addr, set) argument
197 #define clrsetbits_8(addr, clear, set) clrsetbits(8, addr, clear, set) argument
246 static inline void readsb(unsigned int *addr, void *data, int bytelen) in readsb() argument
251 ptr = (unsigned char *)addr; in readsb()
261 static inline void readsw(unsigned int *addr, void *data, int wordlen) in readsw() argument
266 ptr = (unsigned short *)addr; in readsw()
276 static inline void readsl(unsigned int *addr, void *data, int longlen) in readsl() argument
281 ptr = (unsigned int *)addr; in readsl()
291 static inline void writesb(unsigned int *addr, const void *data, int bytelen) in writesb() argument
296 ptr = (unsigned char *)addr; in writesb()
306 static inline void writesw(unsigned int *addr, const void *data, int wordlen) in writesw() argument
311 ptr = (unsigned short *)addr; in writesw()
321 static inline void writesl(unsigned int *addr, const void *data, int longlen) in writesl() argument
326 ptr = (unsigned int *)addr; in writesl()
410 #define isa_readb(addr) __raw_readb(__mem_isa(addr)) argument
411 #define isa_readw(addr) __raw_readw(__mem_isa(addr)) argument
412 #define isa_readl(addr) __raw_readl(__mem_isa(addr)) argument
413 #define isa_writeb(val, addr) __raw_writeb(val, __mem_isa(addr)) argument
414 #define isa_writew(val, addr) __raw_writew(val, __mem_isa(addr)) argument
415 #define isa_writel(val, addr) __raw_writel(val, __mem_isa(addr)) argument
442 #define isa_readb(addr) (__readwrite_bug("isa_readb"), 0) argument
443 #define isa_readw(addr) (__readwrite_bug("isa_readw"), 0) argument
444 #define isa_readl(addr) (__readwrite_bug("isa_readl"), 0) argument
445 #define isa_writeb(val, addr) __readwrite_bug("isa_writeb") argument
446 #define isa_writew(val, addr) __readwrite_bug("isa_writew") argument
447 #define isa_writel(val, addr) __readwrite_bug("isa_writel") argument