Lines Matching refs:xaddr
204 __EXTERN_INLINE u8 jensen_readb(const volatile void __iomem *xaddr) in jensen_readb() argument
206 unsigned long addr = (unsigned long) xaddr; in jensen_readb()
216 __EXTERN_INLINE u16 jensen_readw(const volatile void __iomem *xaddr) in jensen_readw() argument
218 unsigned long addr = (unsigned long) xaddr; in jensen_readw()
228 __EXTERN_INLINE u32 jensen_readl(const volatile void __iomem *xaddr) in jensen_readl() argument
230 unsigned long addr = (unsigned long) xaddr; in jensen_readl()
236 __EXTERN_INLINE u64 jensen_readq(const volatile void __iomem *xaddr) in jensen_readq() argument
238 unsigned long addr = (unsigned long) xaddr; in jensen_readq()
249 __EXTERN_INLINE void jensen_writeb(u8 b, volatile void __iomem *xaddr) in jensen_writeb() argument
251 unsigned long addr = (unsigned long) xaddr; in jensen_writeb()
257 __EXTERN_INLINE void jensen_writew(u16 b, volatile void __iomem *xaddr) in jensen_writew() argument
259 unsigned long addr = (unsigned long) xaddr; in jensen_writew()
265 __EXTERN_INLINE void jensen_writel(u32 b, volatile void __iomem *xaddr) in jensen_writel() argument
267 unsigned long addr = (unsigned long) xaddr; in jensen_writel()
273 __EXTERN_INLINE void jensen_writeq(u64 b, volatile void __iomem *xaddr) in jensen_writeq() argument
275 unsigned long addr = (unsigned long) xaddr; in jensen_writeq()
308 __EXTERN_INLINE unsigned int jensen_ioread##NS(const void __iomem *xaddr) \
310 if (jensen_is_mmio(xaddr)) \
311 return jensen_read##OS(xaddr - 0x100000000ul); \
313 return jensen_in##OS((unsigned long)xaddr); \
315 __EXTERN_INLINE void jensen_iowrite##NS(u##NS b, void __iomem *xaddr) \
317 if (jensen_is_mmio(xaddr)) \
318 jensen_write##OS(b, xaddr - 0x100000000ul); \
320 jensen_out##OS(b, (unsigned long)xaddr); \