Lines Matching refs:dma_ch
75 int dma_ch; member
482 c->dma_ch); in omap_dma_drain_chan()
711 omap_dma_callback, c, &c->dma_ch); in omap_dma_alloc_chan_resources()
713 ret = omap_dma_get_lch(od, &c->dma_ch); in omap_dma_alloc_chan_resources()
716 dev_dbg(dev, "allocating channel %u for %u\n", c->dma_ch, c->dma_sig); in omap_dma_alloc_chan_resources()
719 omap_dma_assign(od, c, c->dma_ch); in omap_dma_alloc_chan_resources()
725 val = BIT(c->dma_ch); in omap_dma_alloc_chan_resources()
731 val &= ~BIT(c->dma_ch); in omap_dma_alloc_chan_resources()
741 c->ccr |= c->dma_ch + 1; in omap_dma_alloc_chan_resources()
762 od->irq_enable_mask &= ~BIT(c->dma_ch); in omap_dma_free_chan_resources()
768 od->lch_map[c->dma_ch] = NULL; in omap_dma_free_chan_resources()
772 omap_free_dma(c->dma_ch); in omap_dma_free_chan_resources()
774 omap_dma_put_lch(od, c->dma_ch); in omap_dma_free_chan_resources()
776 dev_dbg(od->ddev.dev, "freeing channel %u used for %u\n", c->dma_ch, in omap_dma_free_chan_resources()
1079 d->clnk_ctrl = c->dma_ch; in omap_dma_prep_slave_sg()
1230 d->clnk_ctrl = c->dma_ch | CLNK_CTRL_ENABLE_LNK; in omap_dma_prep_dma_cyclic()