Lines Matching defs:owl_dma
211 * struct owl_dma - Holder for the Owl DMA controller
224 struct owl_dma {
265 static void dma_update(struct owl_dma *od, u32 reg, u32 val, bool state)
279 static void dma_writel(struct owl_dma *od, u32 reg, u32 data)
284 static u32 dma_readl(struct owl_dma *od, u32 reg)
289 static inline struct owl_dma *to_owl_dma(struct dma_device *dd)
291 return container_of(dd, struct owl_dma, dma);
341 static void owl_dma_free_lli(struct owl_dma *od,
348 static struct owl_dma_lli *owl_dma_alloc_lli(struct owl_dma *od)
387 struct owl_dma *od = to_owl_dma(vchan->vc.chan.device);
467 static struct owl_dma_pchan *owl_dma_get_pchan(struct owl_dma *od,
490 static int owl_dma_pchan_busy(struct owl_dma *od, struct owl_dma_pchan *pchan)
499 static void owl_dma_terminate_pchan(struct owl_dma *od,
536 struct owl_dma *od = to_owl_dma(vchan->vc.chan.device);
583 static void owl_dma_phy_free(struct owl_dma *od, struct owl_dma_vchan *vchan)
593 struct owl_dma *od = dev_id;
675 static void owl_dma_free_txd(struct owl_dma *od, struct owl_dma_txd *txd)
690 struct owl_dma *od = to_owl_dma(vd->tx.chan->device);
698 struct owl_dma *od = to_owl_dma(chan->device);
839 struct owl_dma *od = to_owl_dma(vchan->vc.chan.device);
870 struct owl_dma *od = to_owl_dma(chan->device);
921 struct owl_dma *od = to_owl_dma(chan->device);
986 struct owl_dma *od = to_owl_dma(chan->device);
1049 static inline void owl_dma_free(struct owl_dma *od)
1064 struct owl_dma *od = ofdma->of_dma_data;
1092 struct owl_dma *od;
1234 struct owl_dma *od = platform_get_drvdata(pdev);