• Home
  • Raw
  • Download

Lines Matching refs:addr

8 static inline __u64 lo_hi_readq(const volatile void __iomem *addr)  in lo_hi_readq()  argument
10 const volatile u32 __iomem *p = addr; in lo_hi_readq()
19 static inline void lo_hi_writeq(__u64 val, volatile void __iomem *addr) in lo_hi_writeq() argument
21 writel(val, addr); in lo_hi_writeq()
22 writel(val >> 32, addr + 4); in lo_hi_writeq()
25 static inline __u64 lo_hi_readq_relaxed(const volatile void __iomem *addr) in lo_hi_readq_relaxed() argument
27 const volatile u32 __iomem *p = addr; in lo_hi_readq_relaxed()
36 static inline void lo_hi_writeq_relaxed(__u64 val, volatile void __iomem *addr) in lo_hi_writeq_relaxed() argument
38 writel_relaxed(val, addr); in lo_hi_writeq_relaxed()
39 writel_relaxed(val >> 32, addr + 4); in lo_hi_writeq_relaxed()
60 static inline u64 ioread64_lo_hi(const void __iomem *addr) in ioread64_lo_hi() argument
64 low = ioread32(addr); in ioread64_lo_hi()
65 high = ioread32(addr + sizeof(u32)); in ioread64_lo_hi()
73 static inline void iowrite64_lo_hi(u64 val, void __iomem *addr) in iowrite64_lo_hi() argument
75 iowrite32(val, addr); in iowrite64_lo_hi()
76 iowrite32(val >> 32, addr + sizeof(u32)); in iowrite64_lo_hi()
82 static inline u64 ioread64be_lo_hi(const void __iomem *addr) in ioread64be_lo_hi() argument
86 low = ioread32be(addr + sizeof(u32)); in ioread64be_lo_hi()
87 high = ioread32be(addr); in ioread64be_lo_hi()
95 static inline void iowrite64be_lo_hi(u64 val, void __iomem *addr) in iowrite64be_lo_hi() argument
97 iowrite32be(val, addr + sizeof(u32)); in iowrite64be_lo_hi()
98 iowrite32be(val >> 32, addr); in iowrite64be_lo_hi()