Lines Matching defs:idma64
146 #define channel_set_bit(idma64, reg, mask) \
147 dma_writel(idma64, reg, ((mask) << 8) | (mask))
148 #define channel_clear_bit(idma64, reg, mask) \
149 dma_writel(idma64, reg, ((mask) << 8) | 0)
183 struct idma64 {
193 static inline struct idma64 *to_idma64(struct dma_device *ddev)
195 return container_of(ddev, struct idma64, dma);
198 static inline u32 idma64_readl(struct idma64 *idma64, int offset)
200 return readl(idma64->regs + offset);
203 static inline void idma64_writel(struct idma64 *idma64, int offset, u32 value)
205 writel(value, idma64->regs + offset);
208 #define dma_readl(idma64, reg) \
209 idma64_readl(idma64, IDMA64_##reg)
210 #define dma_writel(idma64, reg, value) \
211 idma64_writel(idma64, IDMA64_##reg, (value))
219 * @idma64: struct idma64 that is filed by idma64_probe()
226 struct idma64 *idma64;