Lines Matching full:cx

24 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr)  in cx18_raw_readl()  argument
30 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry() argument
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
52 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry() argument
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
90 void cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew_noretry() argument
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
111 void cx18_writeb_noretry(struct cx18 *cx, u8 val, void __iomem *addr) in cx18_writeb_noretry() argument
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()
127 void cx18_memcpy_fromio(struct cx18 *cx, void *to, in cx18_memcpy_fromio() argument
133 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count);
137 static inline void cx18_write_reg_noretry(struct cx18 *cx, u32 val, u32 reg) in cx18_write_reg_noretry() argument
139 cx18_writel_noretry(cx, val, cx->reg_mem + reg); in cx18_write_reg_noretry()
142 static inline void cx18_write_reg(struct cx18 *cx, u32 val, u32 reg) in cx18_write_reg() argument
144 cx18_writel(cx, val, cx->reg_mem + reg); in cx18_write_reg()
147 static inline void cx18_write_reg_expect(struct cx18 *cx, u32 val, u32 reg, in cx18_write_reg_expect() argument
150 cx18_writel_expect(cx, val, cx->reg_mem + reg, eval, mask); in cx18_write_reg_expect()
153 static inline u32 cx18_read_reg(struct cx18 *cx, u32 reg) in cx18_read_reg() argument
155 return cx18_readl(cx, cx->reg_mem + reg); in cx18_read_reg()
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()
170 void cx18_sw1_irq_enable(struct cx18 *cx, u32 val);
171 void cx18_sw1_irq_disable(struct cx18 *cx, u32 val);
172 void cx18_sw2_irq_enable(struct cx18 *cx, u32 val);
173 void cx18_sw2_irq_disable(struct cx18 *cx, u32 val);
174 void cx18_sw2_irq_disable_cpu(struct cx18 *cx, u32 val);
175 void cx18_setup_page(struct cx18 *cx, u32 addr);