Lines Matching full:addr

24 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr)  in cx18_raw_readl()  argument
26 return __raw_readl(addr); in cx18_raw_readl()
30 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry() argument
32 __raw_writel(val, addr); in cx18_raw_writel_noretry()
35 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel() argument
39 cx18_raw_writel_noretry(cx, val, addr); in cx18_raw_writel()
40 if (val == cx18_raw_readl(cx, addr)) in cx18_raw_writel()
46 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) in cx18_readl() argument
48 return readl(addr); in cx18_readl()
52 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry() argument
54 writel(val, addr); in cx18_writel_noretry()
57 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel() argument
61 cx18_writel_noretry(cx, val, addr); in cx18_writel()
62 if (val == cx18_readl(cx, addr)) in cx18_writel()
68 void cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, in cx18_writel_expect() argument
75 cx18_writel_noretry(cx, val, addr); in cx18_writel_expect()
76 r = cx18_readl(cx, addr); in cx18_writel_expect()
84 static inline u16 cx18_readw(struct cx18 *cx, const void __iomem *addr) in cx18_readw() argument
86 return readw(addr); in cx18_readw()
90 void cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew_noretry() argument
92 writew(val, addr); in cx18_writew_noretry()
95 static inline void cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew() argument
99 cx18_writew_noretry(cx, val, addr); in cx18_writew()
100 if (val == cx18_readw(cx, addr)) in cx18_writew()
105 static inline u8 cx18_readb(struct cx18 *cx, const void __iomem *addr) in cx18_readb() argument
107 return readb(addr); in cx18_readb()
111 void cx18_writeb_noretry(struct cx18 *cx, u8 val, void __iomem *addr) in cx18_writeb_noretry() argument
113 writeb(val, addr); in cx18_writeb_noretry()
116 static inline void cx18_writeb(struct cx18 *cx, u8 val, void __iomem *addr) in cx18_writeb() argument
120 cx18_writeb_noretry(cx, val, addr); in cx18_writeb()
121 if (val == cx18_readb(cx, addr)) in cx18_writeb()
133 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count);
160 static inline void cx18_write_enc(struct cx18 *cx, u32 val, u32 addr) in cx18_write_enc() argument
162 cx18_writel(cx, val, cx->enc_mem + addr); in cx18_write_enc()
165 static inline u32 cx18_read_enc(struct cx18 *cx, u32 addr) in cx18_read_enc() argument
167 return cx18_readl(cx, cx->enc_mem + addr); in cx18_read_enc()
175 void cx18_setup_page(struct cx18 *cx, u32 addr);