Lines Matching refs:ops
58 const struct shdma_ops *ops = sdev->ops; in shdma_chan_xfer_ld_queue() local
62 if (ops->channel_busy(schan)) in shdma_chan_xfer_ld_queue()
68 ops->start_xfer(schan, sdesc); in shdma_chan_xfer_ld_queue()
132 const struct shdma_ops *ops = sdev->ops; in shdma_tx_submit() local
140 ops->setup_xfer(schan, schan->slave_id); in shdma_tx_submit()
177 const struct shdma_ops *ops = sdev->ops; in shdma_setup_slave() local
182 ret = ops->set_slave(schan, match, slave_addr, true); in shdma_setup_slave()
195 ret = ops->set_slave(schan, match, slave_addr, false); in shdma_setup_slave()
210 const struct shdma_ops *ops = sdev->ops; in shdma_alloc_chan_resources() local
239 desc = ops->embedded_desc(schan->desc, i); in shdma_alloc_chan_resources()
299 ret = sdev->ops->set_slave(schan, slave_id, 0, true); in shdma_chan_filter()
316 ret = sdev->ops->set_slave(schan, slave_id, 0, true); in shdma_chan_filter()
457 const struct shdma_ops *ops = sdev->ops; in shdma_free_chan_resources() local
462 ops->halt_channel(schan); in shdma_free_chan_resources()
509 const struct shdma_ops *ops = sdev->ops; in shdma_add_desc() local
523 ops->desc_setup(schan, new, *src, *dst, ©_size); in shdma_add_desc()
670 const struct shdma_ops *ops = sdev->ops; in shdma_prep_slave_sg() local
686 slave_addr = ops->slave_addr(schan); in shdma_prep_slave_sg()
702 const struct shdma_ops *ops = sdev->ops; in shdma_prep_dma_cyclic() local
728 slave_addr = ops->slave_addr(schan); in shdma_prep_dma_cyclic()
760 const struct shdma_ops *ops = sdev->ops; in shdma_terminate_all() local
764 ops->halt_channel(schan); in shdma_terminate_all()
766 if (ops->get_partial && !list_empty(&schan->ld_queue)) { in shdma_terminate_all()
770 desc->partial = ops->get_partial(schan, desc); in shdma_terminate_all()
857 const struct shdma_ops *ops = sdev->ops; in shdma_reset() local
873 ops->halt_channel(schan); in shdma_reset()
907 const struct shdma_ops *ops = in chan_irq() local
908 to_shdma_dev(schan->dma_chan.device)->ops; in chan_irq()
913 ret = ops->chan_irq(schan, irq) ? IRQ_WAKE_THREAD : IRQ_NONE; in chan_irq()
923 const struct shdma_ops *ops = in chan_irqt() local
924 to_shdma_dev(schan->dma_chan.device)->ops; in chan_irqt()
930 ops->desc_completed(schan, sdesc)) { in chan_irqt()
1001 if (!sdev->ops || in shdma_init()
1003 !sdev->ops->embedded_desc || in shdma_init()
1004 !sdev->ops->start_xfer || in shdma_init()
1005 !sdev->ops->setup_xfer || in shdma_init()
1006 !sdev->ops->set_slave || in shdma_init()
1007 !sdev->ops->desc_setup || in shdma_init()
1008 !sdev->ops->slave_addr || in shdma_init()
1009 !sdev->ops->channel_busy || in shdma_init()
1010 !sdev->ops->halt_channel || in shdma_init()
1011 !sdev->ops->desc_completed) in shdma_init()