Lines Matching refs:__iomem

38 extern void atomic_io_modify(void __iomem *reg, u32 mask, u32 set);
39 extern void atomic_io_modify_relaxed(void __iomem *reg, u32 mask, u32 set);
45 void __raw_writesb(volatile void __iomem *addr, const void *data, int bytelen);
46 void __raw_writesw(volatile void __iomem *addr, const void *data, int wordlen);
47 void __raw_writesl(volatile void __iomem *addr, const void *data, int longlen);
49 void __raw_readsb(const volatile void __iomem *addr, void *data, int bytelen);
50 void __raw_readsw(const volatile void __iomem *addr, void *data, int wordlen);
51 void __raw_readsl(const volatile void __iomem *addr, void *data, int longlen);
68 static inline void __raw_writew(u16 val, volatile void __iomem *addr) in __raw_writew()
75 static inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw()
86 static inline void __raw_writeb(u8 val, volatile void __iomem *addr) in __raw_writeb()
93 static inline void __raw_writel(u32 val, volatile void __iomem *addr) in __raw_writel()
100 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb()
110 static inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl()
137 extern void __iomem *__arm_ioremap_caller(phys_addr_t, size_t, unsigned int,
139 extern void __iomem *__arm_ioremap_pfn(unsigned long, unsigned long, size_t, unsigned int);
140 extern void __iomem *__arm_ioremap_exec(phys_addr_t, size_t, bool cached);
141 extern void __iounmap(volatile void __iomem *addr);
143 extern void __iomem * (*arch_ioremap_caller)(phys_addr_t, size_t,
145 extern void (*arch_iounmap)(volatile void __iomem *);
155 static inline void __iomem *__typesafe_io(unsigned long addr) in __typesafe_io()
157 return (void __iomem *)addr; in __typesafe_io()
160 #define IOMEM(x) ((void __force __iomem *)(x))
174 #define PCI_IOBASE ((void __iomem *)PCI_IO_VIRT_BASE)
193 void __iomem *pci_remap_cfgspace(resource_size_t res_cookie, size_t size);
276 extern void _memcpy_fromio(void *, const volatile void __iomem *, size_t);
277 extern void _memcpy_toio(volatile void __iomem *, const void *, size_t);
278 extern void _memset_io(volatile void __iomem *, int, size_t);
318 static inline void memset_io(volatile void __iomem *dst, unsigned c, in memset_io()
326 static inline void memcpy_fromio(void *to, const volatile void __iomem *from, in memcpy_fromio()
334 static inline void memcpy_toio(volatile void __iomem *to, const void *from, in memcpy_toio()
385 void __iomem *ioremap(resource_size_t res_cookie, size_t size);
391 void __iomem *ioremap_cache(resource_size_t res_cookie, size_t size);
394 void __iomem *ioremap_wc(resource_size_t res_cookie, size_t size);
398 void iounmap(volatile void __iomem *iomem_cookie);
415 extern void __iomem *ioport_map(unsigned long port, unsigned int nr);
419 extern void ioport_unmap(void __iomem *addr);
425 extern void pci_iounmap(struct pci_dev *dev, void __iomem *addr);