Lines Matching refs:addr
8 static inline __u64 hi_lo_readq(const volatile void __iomem *addr) in hi_lo_readq() argument
10 const volatile u32 __iomem *p = addr; in hi_lo_readq()
19 static inline void hi_lo_writeq(__u64 val, volatile void __iomem *addr) in hi_lo_writeq() argument
21 writel(val >> 32, addr + 4); in hi_lo_writeq()
22 writel(val, addr); in hi_lo_writeq()
25 static inline __u64 hi_lo_readq_relaxed(const volatile void __iomem *addr) in hi_lo_readq_relaxed() argument
27 const volatile u32 __iomem *p = addr; in hi_lo_readq_relaxed()
36 static inline void hi_lo_writeq_relaxed(__u64 val, volatile void __iomem *addr) in hi_lo_writeq_relaxed() argument
38 writel_relaxed(val >> 32, addr + 4); in hi_lo_writeq_relaxed()
39 writel_relaxed(val, addr); in hi_lo_writeq_relaxed()
60 static inline u64 ioread64_hi_lo(const void __iomem *addr) in ioread64_hi_lo() argument
64 high = ioread32(addr + sizeof(u32)); in ioread64_hi_lo()
65 low = ioread32(addr); in ioread64_hi_lo()
73 static inline void iowrite64_hi_lo(u64 val, void __iomem *addr) in iowrite64_hi_lo() argument
75 iowrite32(val >> 32, addr + sizeof(u32)); in iowrite64_hi_lo()
76 iowrite32(val, addr); in iowrite64_hi_lo()
82 static inline u64 ioread64be_hi_lo(const void __iomem *addr) in ioread64be_hi_lo() argument
86 high = ioread32be(addr); in ioread64be_hi_lo()
87 low = ioread32be(addr + sizeof(u32)); in ioread64be_hi_lo()
95 static inline void iowrite64be_hi_lo(u64 val, void __iomem *addr) in iowrite64be_hi_lo() argument
97 iowrite32be(val >> 32, addr); in iowrite64be_hi_lo()
98 iowrite32be(val, addr + sizeof(u32)); in iowrite64be_hi_lo()