Lines Matching refs:vd

184 	struct virt_dma_desc vd;  member
266 const struct vendor_data *vd; member
304 return container_of(tx, struct pl08x_txd, vd.tx); in to_pl08x_txd()
362 if (pl08x->vd->pl080s) in pl08x_write_lli()
381 if (pl08x->vd->pl080s) in pl08x_write_lli()
398 struct virt_dma_desc *vd = vchan_next_desc(&plchan->vc); in pl08x_start_next_txd() local
399 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_start_next_txd()
402 list_del(&txd->vd.node); in pl08x_start_next_txd()
550 if (pl08x->vd->pl080s) in pl08x_getbytes_chan()
576 if (pl08x->vd->pl080s) in pl08x_getbytes_chan()
608 for (i = 0; i < pl08x->vd->channels; i++) { in pl08x_get_phy_channel()
622 if (i == pl08x->vd->channels) { in pl08x_get_phy_channel()
861 if (pl08x->vd->pl080s) in pl08x_fill_lli_for_desc()
889 if (pl08x->vd->pl080s) { in pl08x_dump_lli()
1069 pl08x->vd->max_transfer_size; in pl08x_fill_llis_for_desc()
1170 static void pl08x_desc_free(struct virt_dma_desc *vd) in pl08x_desc_free() argument
1172 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_desc_free()
1173 struct pl08x_dma_chan *plchan = to_pl08x_chan(vd->tx.chan); in pl08x_desc_free()
1175 dma_descriptor_unmap(&vd->tx); in pl08x_desc_free()
1217 struct virt_dma_desc *vd; in pl08x_dma_tx_status() local
1239 vd = vchan_find_desc(&plchan->vc, cookie); in pl08x_dma_tx_status()
1240 if (vd) { in pl08x_dma_tx_status()
1242 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_dma_tx_status()
1458 if (pl08x->vd->dualmaster) in pl08x_prep_dma_memcpy()
1468 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_dma_memcpy()
1621 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_slave_sg()
1664 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_dma_cyclic()
1681 if (config->device_fc && pl08x->vd->pl080s) { in pl08x_config()
1716 pl08x_desc_free(&plchan->at->vd); in pl08x_terminate_all()
1801 if (pl08x->vd->nomadik) in pl08x_ensure_on()
1825 for (i = 0; i < pl08x->vd->channels; i++) { in pl08x_irq()
1842 vchan_cyclic_callback(&tx->vd); in pl08x_irq()
1851 vchan_cookie_complete(&tx->vd); in pl08x_irq()
1972 for (i = 0; i < pl08x->vd->channels; i++) { in pl08x_debugfs_show()
2036 const struct vendor_data *vd = id->data; in pl08x_probe() local
2103 pl08x->vd = vd; in pl08x_probe()
2108 if (pl08x->vd->dualmaster) { in pl08x_probe()
2113 if (vd->pl080s) in pl08x_probe()
2148 pl08x->phy_chans = kzalloc((vd->channels * sizeof(*pl08x->phy_chans)), in pl08x_probe()
2158 for (i = 0; i < vd->channels; i++) { in pl08x_probe()
2163 ch->reg_config = ch->base + vd->config_offset; in pl08x_probe()
2171 if (vd->nomadik) { in pl08x_probe()
2187 pl08x->vd->channels, false); in pl08x_probe()
2224 amba_part(adev), pl08x->vd->pl080s ? "s" : "", amba_rev(adev), in pl08x_probe()