Lines Matching refs:ds
337 struct txx9dmac_slave *ds = dc->chan.private; in txx9dmac_dostart() local
354 if (ds) { in txx9dmac_dostart()
355 if (ds->tx_reg) { in txx9dmac_dostart()
356 sai = ds->reg_width; in txx9dmac_dostart()
360 dai = ds->reg_width; in txx9dmac_dostart()
375 if (ds) { in txx9dmac_dostart()
376 if (ds->tx_reg) { in txx9dmac_dostart()
377 sai = ds->reg_width; in txx9dmac_dostart()
381 dai = ds->reg_width; in txx9dmac_dostart()
816 struct txx9dmac_slave *ds = chan->private; in txx9dmac_prep_slave_sg() local
824 BUG_ON(!ds || !ds->reg_width); in txx9dmac_prep_slave_sg()
825 if (ds->tx_reg) in txx9dmac_prep_slave_sg()
850 desc->hwdesc.DAR = ds->tx_reg; in txx9dmac_prep_slave_sg()
852 desc->hwdesc.SAR = ds->rx_reg; in txx9dmac_prep_slave_sg()
859 desc->hwdesc32.DAR = ds->tx_reg; in txx9dmac_prep_slave_sg()
861 desc->hwdesc32.SAR = ds->rx_reg; in txx9dmac_prep_slave_sg()
867 sai = ds->reg_width; in txx9dmac_prep_slave_sg()
871 dai = ds->reg_width; in txx9dmac_prep_slave_sg()
995 struct txx9dmac_slave *ds = chan->private; in txx9dmac_alloc_chan_resources() local
1014 if (ds) in txx9dmac_alloc_chan_resources()
1018 if (!ds || in txx9dmac_alloc_chan_resources()
1019 (ds->tx_reg && ds->rx_reg) || (!ds->tx_reg && !ds->rx_reg)) in txx9dmac_alloc_chan_resources()
1022 TXX9_DMA_CCR_XFSZ(__ffs(ds->reg_width)); in txx9dmac_alloc_chan_resources()