Lines Matching refs:vd

186 	struct virt_dma_desc vd;  member
268 const struct vendor_data *vd; member
306 return container_of(tx, struct pl08x_txd, vd.tx); in to_pl08x_txd()
364 if (pl08x->vd->pl080s) in pl08x_write_lli()
383 if (pl08x->vd->pl080s) in pl08x_write_lli()
400 struct virt_dma_desc *vd = vchan_next_desc(&plchan->vc); in pl08x_start_next_txd() local
401 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_start_next_txd()
404 list_del(&txd->vd.node); in pl08x_start_next_txd()
552 if (pl08x->vd->pl080s) in pl08x_getbytes_chan()
578 if (pl08x->vd->pl080s) in pl08x_getbytes_chan()
610 for (i = 0; i < pl08x->vd->channels; i++) { in pl08x_get_phy_channel()
624 if (i == pl08x->vd->channels) { in pl08x_get_phy_channel()
863 if (pl08x->vd->pl080s) in pl08x_fill_lli_for_desc()
891 if (pl08x->vd->pl080s) { in pl08x_dump_lli()
1071 pl08x->vd->max_transfer_size; in pl08x_fill_llis_for_desc()
1172 static void pl08x_desc_free(struct virt_dma_desc *vd) in pl08x_desc_free() argument
1174 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_desc_free()
1175 struct pl08x_dma_chan *plchan = to_pl08x_chan(vd->tx.chan); in pl08x_desc_free()
1177 dma_descriptor_unmap(&vd->tx); in pl08x_desc_free()
1219 struct virt_dma_desc *vd; in pl08x_dma_tx_status() local
1241 vd = vchan_find_desc(&plchan->vc, cookie); in pl08x_dma_tx_status()
1242 if (vd) { in pl08x_dma_tx_status()
1244 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_dma_tx_status()
1460 if (pl08x->vd->dualmaster) in pl08x_prep_dma_memcpy()
1470 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_dma_memcpy()
1623 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_slave_sg()
1666 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_dma_cyclic()
1683 if (config->device_fc && pl08x->vd->pl080s) { in pl08x_config()
1718 pl08x_desc_free(&plchan->at->vd); in pl08x_terminate_all()
1803 if (pl08x->vd->nomadik) in pl08x_ensure_on()
1827 for (i = 0; i < pl08x->vd->channels; i++) { in pl08x_irq()
1844 vchan_cyclic_callback(&tx->vd); in pl08x_irq()
1853 vchan_cookie_complete(&tx->vd); in pl08x_irq()
1974 for (i = 0; i < pl08x->vd->channels; i++) { in pl08x_debugfs_show()
2215 const struct vendor_data *vd = id->data; in pl08x_probe() local
2289 pl08x->vd = vd; in pl08x_probe()
2294 if (pl08x->vd->dualmaster) { in pl08x_probe()
2299 if (vd->pl080s) in pl08x_probe()
2334 pl08x->phy_chans = kzalloc((vd->channels * sizeof(*pl08x->phy_chans)), in pl08x_probe()
2344 for (i = 0; i < vd->channels; i++) { in pl08x_probe()
2349 ch->reg_config = ch->base + vd->config_offset; in pl08x_probe()
2357 if (vd->nomadik) { in pl08x_probe()
2373 pl08x->vd->channels, false); in pl08x_probe()
2410 amba_part(adev), pl08x->vd->pl080s ? "s" : "", amba_rev(adev), in pl08x_probe()