Lines Matching refs:omap_dmadev
42 struct omap_dmadev { struct
233 static inline struct omap_dmadev *to_omap_dma_dev(struct dma_device *d) in to_omap_dma_dev()
235 return container_of(d, struct omap_dmadev, ddev); in to_omap_dma_dev()
253 struct omap_dmadev *od = to_omap_dma_dev(vd->tx.chan->device); in omap_dma_desc_free()
351 static void omap_dma_glbl_write(struct omap_dmadev *od, unsigned reg, unsigned val) in omap_dma_glbl_write()
360 static unsigned omap_dma_glbl_read(struct omap_dmadev *od, unsigned reg) in omap_dma_glbl_read()
401 static void omap_dma_clear_lch(struct omap_dmadev *od, int lch) in omap_dma_clear_lch()
414 static void omap_dma_assign(struct omap_dmadev *od, struct omap_chan *c, in omap_dma_assign()
424 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); in omap_dma_start()
487 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); in omap_dma_stop()
633 struct omap_dmadev *od = devid; in omap_dma_irq()
671 static int omap_dma_get_lch(struct omap_dmadev *od, int *lch) in omap_dma_get_lch()
694 static void omap_dma_put_lch(struct omap_dmadev *od, int lch) in omap_dma_put_lch()
702 static inline bool omap_dma_legacy(struct omap_dmadev *od) in omap_dma_legacy()
709 struct omap_dmadev *od = to_omap_dma_dev(chan->device); in omap_dma_alloc_chan_resources()
762 struct omap_dmadev *od = to_omap_dma_dev(chan->device); in omap_dma_free_chan_resources()
825 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); in omap_dma_chan_read_3_3()
837 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); in omap_dma_get_src_pos()
863 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); in omap_dma_get_dst_pos()
963 struct omap_dmadev *od = to_omap_dma_dev(chan->device); in omap_dma_prep_slave_sg()
1144 struct omap_dmadev *od = to_omap_dma_dev(chan->device); in omap_dma_prep_dma_cyclic()
1428 struct omap_dmadev *od = to_omap_dma_dev(chan->device); in omap_dma_pause()
1481 struct omap_dmadev *od = to_omap_dma_dev(chan->device); in omap_dma_resume()
1502 static int omap_dma_chan_init(struct omap_dmadev *od) in omap_dma_chan_init()
1517 static void omap_dma_free(struct omap_dmadev *od) in omap_dma_free()
1530 static bool omap_dma_busy(struct omap_dmadev *od) in omap_dma_busy()
1553 struct omap_dmadev *od; in omap_dma_busy_notifier()
1555 od = container_of(nb, struct omap_dmadev, nb); in omap_dma_busy_notifier()
1575 static void omap_dma_context_save(struct omap_dmadev *od) in omap_dma_context_save()
1583 static void omap_dma_context_restore(struct omap_dmadev *od) in omap_dma_context_restore()
1605 struct omap_dmadev *od; in omap_dma_context_notifier()
1607 od = container_of(nb, struct omap_dmadev, nb); in omap_dma_context_notifier()
1625 static void omap_dma_init_gcr(struct omap_dmadev *od, int arb_rate, in omap_dma_init_gcr()
1659 struct omap_dmadev *od; in omap_dma_probe()
1848 struct omap_dmadev *od = platform_get_drvdata(pdev); in omap_dma_remove()
1928 struct omap_dmadev *od = to_omap_dma_dev(chan->device); in omap_dma_filter_fn()