Lines Matching refs:xaddr

457 __EXTERN_INLINE u8 t2_readb(const volatile void __iomem *xaddr)  in t2_readb()  argument
459 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_readb()
468 __EXTERN_INLINE u16 t2_readw(const volatile void __iomem *xaddr) in t2_readw() argument
470 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_readw()
483 __EXTERN_INLINE u32 t2_readl(const volatile void __iomem *xaddr) in t2_readl() argument
485 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_readl()
494 __EXTERN_INLINE u64 t2_readq(const volatile void __iomem *xaddr) in t2_readq() argument
496 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_readq()
507 __EXTERN_INLINE void t2_writeb(u8 b, volatile void __iomem *xaddr) in t2_writeb() argument
509 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_writeb()
518 __EXTERN_INLINE void t2_writew(u16 b, volatile void __iomem *xaddr) in t2_writew() argument
520 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_writew()
533 __EXTERN_INLINE void t2_writel(u32 b, volatile void __iomem *xaddr) in t2_writel() argument
535 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_writel()
542 __EXTERN_INLINE void t2_writeq(u64 b, volatile void __iomem *xaddr) in t2_writeq() argument
544 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_writeq()
579 __EXTERN_INLINE u##NS t2_ioread##NS(const void __iomem *xaddr) \
581 if (t2_is_mmio(xaddr)) \
582 return t2_read##OS(xaddr); \
584 return t2_in##OS((unsigned long)xaddr - T2_IO); \
586 __EXTERN_INLINE void t2_iowrite##NS(u##NS b, void __iomem *xaddr) \
588 if (t2_is_mmio(xaddr)) \
589 t2_write##OS(b, xaddr); \
591 t2_out##OS(b, (unsigned long)xaddr - T2_IO); \