Lines Matching refs:mmp_tdma_chan
101 struct mmp_tdma_chan { struct
134 struct mmp_tdma_chan *tdmac[TDMA_CHANNEL_NUM]; argument
137 #define to_mmp_tdma_chan(dchan) container_of(dchan, struct mmp_tdma_chan, chan)
143 static void mmp_tdma_chan_set_desc(struct mmp_tdma_chan *tdmac, dma_addr_t phys) in mmp_tdma_chan_set_desc()
150 static void mmp_tdma_enable_irq(struct mmp_tdma_chan *tdmac, bool enable) in mmp_tdma_enable_irq()
158 static void mmp_tdma_enable_chan(struct mmp_tdma_chan *tdmac) in mmp_tdma_enable_chan()
168 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_disable_chan()
183 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_resume_chan()
194 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_pause_chan()
205 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_config_chan()
288 static int mmp_tdma_clear_chan_irq(struct mmp_tdma_chan *tdmac) in mmp_tdma_clear_chan_irq()
302 static size_t mmp_tdma_get_pos(struct mmp_tdma_chan *tdmac) in mmp_tdma_get_pos()
320 struct mmp_tdma_chan *tdmac = dev_id; in mmp_tdma_chan_handler()
336 struct mmp_tdma_chan *tdmac = tdev->tdmac[i]; in mmp_tdma_int_handler()
351 struct mmp_tdma_chan *tdmac = from_tasklet(tdmac, t, tasklet); in dma_do_tasklet()
356 static void mmp_tdma_free_descriptor(struct mmp_tdma_chan *tdmac) in mmp_tdma_free_descriptor()
374 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(tx->chan); in mmp_tdma_tx_submit()
383 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_alloc_chan_resources()
400 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_free_chan_resources()
408 static struct mmp_tdma_desc *mmp_tdma_alloc_descriptor(struct mmp_tdma_chan *tdmac) in mmp_tdma_alloc_descriptor()
427 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_prep_dma_cyclic()
497 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_terminate_all()
509 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_config()
520 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_config_write()
539 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_tx_status()
550 struct mmp_tdma_chan *tdmac = to_mmp_tdma_chan(chan); in mmp_tdma_issue_pending()
567 struct mmp_tdma_chan *tdmac; in mmp_tdma_chan_init()