Lines Matching refs:edma_cc
217 struct edma_cc;
228 struct edma_cc *ecc;
238 struct edma_cc { struct
309 static inline unsigned int edma_read(struct edma_cc *ecc, int offset) in edma_read()
314 static inline void edma_write(struct edma_cc *ecc, int offset, int val) in edma_write()
319 static inline void edma_modify(struct edma_cc *ecc, int offset, unsigned and, in edma_modify()
329 static inline void edma_and(struct edma_cc *ecc, int offset, unsigned and) in edma_and()
337 static inline void edma_or(struct edma_cc *ecc, int offset, unsigned or) in edma_or()
345 static inline unsigned int edma_read_array(struct edma_cc *ecc, int offset, in edma_read_array()
351 static inline void edma_write_array(struct edma_cc *ecc, int offset, int i, in edma_write_array()
357 static inline void edma_modify_array(struct edma_cc *ecc, int offset, int i, in edma_modify_array()
363 static inline void edma_or_array(struct edma_cc *ecc, int offset, int i, in edma_or_array()
369 static inline void edma_or_array2(struct edma_cc *ecc, int offset, int i, int j, in edma_or_array2()
375 static inline void edma_write_array2(struct edma_cc *ecc, int offset, int i, in edma_write_array2()
381 static inline unsigned int edma_shadow0_read(struct edma_cc *ecc, int offset) in edma_shadow0_read()
386 static inline unsigned int edma_shadow0_read_array(struct edma_cc *ecc, in edma_shadow0_read_array()
392 static inline void edma_shadow0_write(struct edma_cc *ecc, int offset, in edma_shadow0_write()
398 static inline void edma_shadow0_write_array(struct edma_cc *ecc, int offset, in edma_shadow0_write_array()
404 static inline unsigned int edma_param_read(struct edma_cc *ecc, int offset, in edma_param_read()
410 static inline void edma_param_write(struct edma_cc *ecc, int offset, in edma_param_write()
416 static inline void edma_param_modify(struct edma_cc *ecc, int offset, in edma_param_modify()
422 static inline void edma_param_and(struct edma_cc *ecc, int offset, int param_no, in edma_param_and()
428 static inline void edma_param_or(struct edma_cc *ecc, int offset, int param_no, in edma_param_or()
434 static void edma_assign_priority_to_queue(struct edma_cc *ecc, int queue_no, in edma_assign_priority_to_queue()
444 struct edma_cc *ecc = echan->ecc; in edma_set_chmap()
455 struct edma_cc *ecc = echan->ecc; in edma_setup_interrupt()
471 static void edma_write_slot(struct edma_cc *ecc, unsigned slot, in edma_write_slot()
480 static int edma_read_slot(struct edma_cc *ecc, unsigned slot, in edma_read_slot()
506 static int edma_alloc_slot(struct edma_cc *ecc, int slot) in edma_alloc_slot()
540 static void edma_free_slot(struct edma_cc *ecc, unsigned slot) in edma_free_slot()
558 static void edma_link(struct edma_cc *ecc, unsigned from, unsigned to) in edma_link()
580 static dma_addr_t edma_get_position(struct edma_cc *ecc, unsigned slot, in edma_get_position()
600 struct edma_cc *ecc = echan->ecc; in edma_start()
627 struct edma_cc *ecc = echan->ecc; in edma_stop()
673 struct edma_cc *ecc = echan->ecc; in edma_trigger_channel()
686 struct edma_cc *ecc = echan->ecc; in edma_clean_channel()
705 struct edma_cc *ecc = echan->ecc; in edma_assign_channel_eventq()
723 struct edma_cc *ecc = echan->ecc; in edma_alloc_channel()
754 static inline struct edma_cc *to_edma_cc(struct dma_device *d) in to_edma_cc()
756 return container_of(d, struct edma_cc, dma_slave); in to_edma_cc()
777 struct edma_cc *ecc = echan->ecc; in edma_execute()
1550 struct edma_cc *ecc = data; in dma_irq_handler()
1595 struct edma_cc *ecc = echan->ecc; in edma_error_handler()
1636 static inline bool edma_error_pending(struct edma_cc *ecc) in edma_error_pending()
1649 struct edma_cc *ecc = data; in dma_ccerr_handler()
1726 struct edma_cc *ecc = echan->ecc; in edma_alloc_chan_resources()
1980 static void edma_dma_init(struct edma_cc *ecc, bool legacy_mode) in edma_dma_init()
2077 struct edma_cc *ecc) in edma_setup_from_hw()
2290 struct edma_cc *ecc = ofdma->of_dma_data; in of_edma_xlate()
2350 struct edma_cc *ecc; in edma_probe()
2614 struct edma_cc *ecc = dev_get_drvdata(dev); in edma_remove()
2636 struct edma_cc *ecc = dev_get_drvdata(dev); in edma_pm_suspend()
2650 struct edma_cc *ecc = dev_get_drvdata(dev); in edma_pm_resume()