Lines Matching defs:edma_cc
217 struct edma_cc;
228 struct edma_cc *ecc;
238 struct edma_cc {
309 static inline unsigned int edma_read(struct edma_cc *ecc, int offset)
314 static inline void edma_write(struct edma_cc *ecc, int offset, int val)
319 static inline void edma_modify(struct edma_cc *ecc, int offset, unsigned and,
329 static inline void edma_and(struct edma_cc *ecc, int offset, unsigned and)
337 static inline void edma_or(struct edma_cc *ecc, int offset, unsigned or)
345 static inline unsigned int edma_read_array(struct edma_cc *ecc, int offset,
351 static inline void edma_write_array(struct edma_cc *ecc, int offset, int i,
357 static inline void edma_modify_array(struct edma_cc *ecc, int offset, int i,
363 static inline void edma_or_array(struct edma_cc *ecc, int offset, int i,
369 static inline void edma_or_array2(struct edma_cc *ecc, int offset, int i, int j,
375 static inline void edma_write_array2(struct edma_cc *ecc, int offset, int i,
381 static inline unsigned int edma_shadow0_read(struct edma_cc *ecc, int offset)
386 static inline unsigned int edma_shadow0_read_array(struct edma_cc *ecc,
392 static inline void edma_shadow0_write(struct edma_cc *ecc, int offset,
398 static inline void edma_shadow0_write_array(struct edma_cc *ecc, int offset,
404 static inline unsigned int edma_param_read(struct edma_cc *ecc, int offset,
410 static inline void edma_param_write(struct edma_cc *ecc, int offset,
416 static inline void edma_param_modify(struct edma_cc *ecc, int offset,
422 static inline void edma_param_and(struct edma_cc *ecc, int offset, int param_no,
428 static inline void edma_param_or(struct edma_cc *ecc, int offset, int param_no,
434 static void edma_assign_priority_to_queue(struct edma_cc *ecc, int queue_no,
444 struct edma_cc *ecc = echan->ecc;
455 struct edma_cc *ecc = echan->ecc;
471 static void edma_write_slot(struct edma_cc *ecc, unsigned slot,
480 static int edma_read_slot(struct edma_cc *ecc, unsigned slot,
493 * @ecc: pointer to edma_cc struct
506 static int edma_alloc_slot(struct edma_cc *ecc, int slot)
540 static void edma_free_slot(struct edma_cc *ecc, unsigned slot)
552 * @ecc: pointer to edma_cc struct
558 static void edma_link(struct edma_cc *ecc, unsigned from, unsigned to)
574 * @ecc: pointer to edma_cc struct
580 static dma_addr_t edma_get_position(struct edma_cc *ecc, unsigned slot,
600 struct edma_cc *ecc = echan->ecc;
627 struct edma_cc *ecc = echan->ecc;
673 struct edma_cc *ecc = echan->ecc;
686 struct edma_cc *ecc = echan->ecc;
705 struct edma_cc *ecc = echan->ecc;
723 struct edma_cc *ecc = echan->ecc;
754 static inline struct edma_cc *to_edma_cc(struct dma_device *d)
756 return container_of(d, struct edma_cc, dma_slave);
777 struct edma_cc *ecc = echan->ecc;
1550 struct edma_cc *ecc = data;
1595 struct edma_cc *ecc = echan->ecc;
1636 static inline bool edma_error_pending(struct edma_cc *ecc)
1649 struct edma_cc *ecc = data;
1726 struct edma_cc *ecc = echan->ecc;
1980 static void edma_dma_init(struct edma_cc *ecc, bool legacy_mode)
2077 struct edma_cc *ecc)
2290 struct edma_cc *ecc = ofdma->of_dma_data;
2350 struct edma_cc *ecc;
2624 struct edma_cc *ecc = dev_get_drvdata(dev);
2646 struct edma_cc *ecc = dev_get_drvdata(dev);
2660 struct edma_cc *ecc = dev_get_drvdata(dev);