Lines Matching refs:idmac
31 static int ipu_disable_channel(struct idmac *idmac, struct idmac_channel *ichan,
42 #define to_ipu(id) container_of(id, struct ipu, idmac)
605 * @idmac: IPU DMAC context.
609 static int ipu_enable_channel(struct idmac *idmac, struct idmac_channel *ichan)
611 struct ipu *ipu = to_ipu(idmac);
665 struct idmac *idmac = to_idmac(ichan->dma_chan.device);
666 struct ipu *ipu = to_ipu(idmac);
847 struct idmac *idmac = to_idmac(tx->chan->device);
848 struct ipu *ipu = to_ipu(idmac);
914 ret = ipu_enable_channel(idmac, ichan);
942 struct idmac *idmac = to_idmac(ichan->dma_chan.device);
948 tasklet_disable(&to_ipu(idmac)->tasklet);
967 tasklet_enable(&to_ipu(idmac)->tasklet);
974 * @idmac: IPU DMAC context.
978 static int ipu_init_channel(struct idmac *idmac, struct idmac_channel *ichan)
985 struct ipu *ipu = to_ipu(idmac);
1034 * @idmac: IPU DMAC context.
1037 static void ipu_uninit_channel(struct idmac *idmac, struct idmac_channel *ichan)
1044 struct ipu *ipu = to_ipu(idmac);
1093 * @idmac: IPU DMAC context.
1099 static int ipu_disable_channel(struct idmac *idmac, struct idmac_channel *ichan,
1103 struct ipu *ipu = to_ipu(idmac);
1458 struct idmac *idmac = to_idmac(chan->device);
1459 struct ipu *ipu = to_ipu(idmac);
1479 struct idmac *idmac = to_idmac(chan->device);
1487 ipu_disable_channel(idmac, ichan,
1490 tasklet_disable(&to_ipu(idmac)->tasklet);
1510 tasklet_enable(&to_ipu(idmac)->tasklet);
1557 struct idmac *idmac = to_idmac(chan->device);
1577 ipu_disable_channel(idmac, ichan, true);
1579 ret = ipu_init_channel(idmac, ichan);
1607 ipu_uninit_channel(idmac, ichan);
1617 struct idmac *idmac = to_idmac(chan->device);
1644 ipu_uninit_channel(idmac, ichan);
1648 tasklet_schedule(&to_ipu(idmac)->tasklet);
1664 struct idmac *idmac = &ipu->idmac;
1665 struct dma_device *dma = &idmac->dma;
1695 dma_chan->device = &idmac->dma;
1703 return dma_async_device_register(&idmac->dma);
1709 struct idmac *idmac = &ipu->idmac;
1718 dma_async_device_unregister(&idmac->dma);