Lines Matching refs:edma_cc
217 struct edma_cc;
228 struct edma_cc *ecc;
238 struct edma_cc { struct
302 static inline unsigned int edma_read(struct edma_cc *ecc, int offset) in edma_read()
307 static inline void edma_write(struct edma_cc *ecc, int offset, int val) in edma_write()
312 static inline void edma_modify(struct edma_cc *ecc, int offset, unsigned and, in edma_modify()
322 static inline void edma_and(struct edma_cc *ecc, int offset, unsigned and) in edma_and()
330 static inline void edma_or(struct edma_cc *ecc, int offset, unsigned or) in edma_or()
338 static inline unsigned int edma_read_array(struct edma_cc *ecc, int offset, in edma_read_array()
344 static inline void edma_write_array(struct edma_cc *ecc, int offset, int i, in edma_write_array()
350 static inline void edma_modify_array(struct edma_cc *ecc, int offset, int i, in edma_modify_array()
356 static inline void edma_or_array(struct edma_cc *ecc, int offset, int i, in edma_or_array()
362 static inline void edma_or_array2(struct edma_cc *ecc, int offset, int i, int j, in edma_or_array2()
368 static inline void edma_write_array2(struct edma_cc *ecc, int offset, int i, in edma_write_array2()
374 static inline unsigned int edma_shadow0_read(struct edma_cc *ecc, int offset) in edma_shadow0_read()
379 static inline unsigned int edma_shadow0_read_array(struct edma_cc *ecc, in edma_shadow0_read_array()
385 static inline void edma_shadow0_write(struct edma_cc *ecc, int offset, in edma_shadow0_write()
391 static inline void edma_shadow0_write_array(struct edma_cc *ecc, int offset, in edma_shadow0_write_array()
397 static inline unsigned int edma_param_read(struct edma_cc *ecc, int offset, in edma_param_read()
403 static inline void edma_param_write(struct edma_cc *ecc, int offset, in edma_param_write()
409 static inline void edma_param_modify(struct edma_cc *ecc, int offset, in edma_param_modify()
415 static inline void edma_param_and(struct edma_cc *ecc, int offset, int param_no, in edma_param_and()
421 static inline void edma_param_or(struct edma_cc *ecc, int offset, int param_no, in edma_param_or()
427 static void edma_assign_priority_to_queue(struct edma_cc *ecc, int queue_no, in edma_assign_priority_to_queue()
437 struct edma_cc *ecc = echan->ecc; in edma_set_chmap()
448 struct edma_cc *ecc = echan->ecc; in edma_setup_interrupt()
464 static void edma_write_slot(struct edma_cc *ecc, unsigned slot, in edma_write_slot()
473 static int edma_read_slot(struct edma_cc *ecc, unsigned slot, in edma_read_slot()
499 static int edma_alloc_slot(struct edma_cc *ecc, int slot) in edma_alloc_slot()
533 static void edma_free_slot(struct edma_cc *ecc, unsigned slot) in edma_free_slot()
551 static void edma_link(struct edma_cc *ecc, unsigned from, unsigned to) in edma_link()
573 static dma_addr_t edma_get_position(struct edma_cc *ecc, unsigned slot, in edma_get_position()
593 struct edma_cc *ecc = echan->ecc; in edma_start()
620 struct edma_cc *ecc = echan->ecc; in edma_stop()
666 struct edma_cc *ecc = echan->ecc; in edma_trigger_channel()
679 struct edma_cc *ecc = echan->ecc; in edma_clean_channel()
698 struct edma_cc *ecc = echan->ecc; in edma_assign_channel_eventq()
716 struct edma_cc *ecc = echan->ecc; in edma_alloc_channel()
741 static inline struct edma_cc *to_edma_cc(struct dma_device *d) in to_edma_cc()
743 return container_of(d, struct edma_cc, dma_slave); in to_edma_cc()
764 struct edma_cc *ecc = echan->ecc; in edma_execute()
1462 struct edma_cc *ecc = data; in dma_irq_handler()
1507 struct edma_cc *ecc = echan->ecc; in edma_error_handler()
1548 static inline bool edma_error_pending(struct edma_cc *ecc) in edma_error_pending()
1561 struct edma_cc *ecc = data; in dma_ccerr_handler()
1638 struct edma_cc *ecc = echan->ecc; in edma_alloc_chan_resources()
1892 static void edma_dma_init(struct edma_cc *ecc, bool legacy_mode) in edma_dma_init()
1985 struct edma_cc *ecc) in edma_setup_from_hw()
2198 struct edma_cc *ecc = ofdma->of_dma_data; in of_edma_xlate()
2260 struct edma_cc *ecc; in edma_probe()
2493 struct edma_cc *ecc = dev_get_drvdata(dev); in edma_remove()
2513 struct edma_cc *ecc = dev_get_drvdata(dev); in edma_pm_suspend()
2527 struct edma_cc *ecc = dev_get_drvdata(dev); in edma_pm_resume()