Lines Matching refs:idma64c
151 static inline u32 idma64c_readl(struct idma64_chan *idma64c, int offset) in idma64c_readl() argument
153 return readl(idma64c->regs + offset); in idma64c_readl()
156 static inline void idma64c_writel(struct idma64_chan *idma64c, int offset, in idma64c_writel() argument
159 writel(value, idma64c->regs + offset); in idma64c_writel()
162 #define channel_readl(idma64c, reg) \ argument
163 idma64c_readl(idma64c, IDMA64_CH_##reg)
164 #define channel_writel(idma64c, reg, value) \ argument
165 idma64c_writel(idma64c, IDMA64_CH_##reg, (value))
167 static inline u64 idma64c_readq(struct idma64_chan *idma64c, int offset) in idma64c_readq() argument
169 return lo_hi_readq(idma64c->regs + offset); in idma64c_readq()
172 static inline void idma64c_writeq(struct idma64_chan *idma64c, int offset, in idma64c_writeq() argument
175 lo_hi_writeq(value, idma64c->regs + offset); in idma64c_writeq()
178 #define channel_readq(idma64c, reg) \ argument
179 idma64c_readq(idma64c, IDMA64_CH_##reg)
180 #define channel_writeq(idma64c, reg, value) \ argument
181 idma64c_writeq(idma64c, IDMA64_CH_##reg, (value))