Lines Matching refs:DMAC_CHAN_16
198 if (chan->chip->dw->hdata->nr_channels >= DMAC_CHAN_16) { in axi_chan_disable()
200 if (chan->id >= DMAC_CHAN_16) { in axi_chan_disable()
201 val &= ~((u64)(BIT(chan->id) >> DMAC_CHAN_16) in axi_chan_disable()
203 val |= (u64)(BIT(chan->id) >> DMAC_CHAN_16) in axi_chan_disable()
225 if (chan->chip->dw->hdata->nr_channels >= DMAC_CHAN_16) { in axi_chan_enable()
227 if (chan->id >= DMAC_CHAN_16) { in axi_chan_enable()
228 val |= (u64)(BIT(chan->id) >> DMAC_CHAN_16) in axi_chan_enable()
230 (u64)(BIT(chan->id) >> DMAC_CHAN_16) in axi_chan_enable()
254 if (chan->chip->dw->hdata->nr_channels >= DMAC_CHAN_16) in axi_chan_is_hw_enable()
259 if (chan->id >= DMAC_CHAN_16) in axi_chan_is_hw_enable()
260 return !!(val & ((u64)(BIT(chan->id) >> DMAC_CHAN_16) << DMAC_CHAN_BLOCK_SHIFT)); in axi_chan_is_hw_enable()
1226 if (chan->chip->dw->hdata->nr_channels >= DMAC_CHAN_16) { in dma_chan_pause()
1228 if (chan->id >= DMAC_CHAN_16) { in dma_chan_pause()
1229 val |= (u64)(BIT(chan->id) >> DMAC_CHAN_16) in dma_chan_pause()
1231 (u64)(BIT(chan->id) >> DMAC_CHAN_16) in dma_chan_pause()
1273 if (chan->chip->dw->hdata->nr_channels >= DMAC_CHAN_16) { in axi_chan_resume()
1275 if (chan->id >= DMAC_CHAN_16) { in axi_chan_resume()
1276 val &= ~((u64)(BIT(chan->id) >> DMAC_CHAN_16) in axi_chan_resume()
1278 val |= ((u64)(BIT(chan->id) >> DMAC_CHAN_16) in axi_chan_resume()