Lines Matching refs:vd

199 	struct virt_dma_desc vd;  member
284 const struct vendor_data *vd; member
322 return container_of(tx, struct pl08x_txd, vd.tx); in to_pl08x_txd()
394 if (pl08x->vd->pl080s) in pl08x_write_lli()
514 if (pl08x->vd->pl080s) in pl08x_write_lli()
531 struct virt_dma_desc *vd = vchan_next_desc(&plchan->vc); in pl08x_start_next_txd() local
532 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_start_next_txd()
535 list_del(&txd->vd.node); in pl08x_start_next_txd()
825 for (i = 0; i < pl08x->vd->channels; i++) { in pl08x_get_phy_channel()
839 if (i == pl08x->vd->channels) { in pl08x_get_phy_channel()
973 if (pl08x->vd->ftdmac020) { in pl08x_get_bytes_for_lli()
1015 if (pl08x->vd->ftdmac020) { in pl08x_lli_control_bits()
1136 if (pl08x->vd->ftdmac020) { in pl08x_choose_master_bus()
1186 if (pl08x->vd->pl080s) in pl08x_fill_lli_for_desc()
1189 if (pl08x->vd->ftdmac020) { in pl08x_fill_lli_for_desc()
1220 if (pl08x->vd->pl080s) { in pl08x_dump_lli()
1334 if (pl08x->vd->ftdmac020) in pl08x_fill_llis_for_desc()
1403 pl08x->vd->max_transfer_size; in pl08x_fill_llis_for_desc()
1481 if (pl08x->vd->ftdmac020) in pl08x_fill_llis_for_desc()
1508 static void pl08x_desc_free(struct virt_dma_desc *vd) in pl08x_desc_free() argument
1510 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_desc_free()
1511 struct pl08x_dma_chan *plchan = to_pl08x_chan(vd->tx.chan); in pl08x_desc_free()
1513 dma_descriptor_unmap(&vd->tx); in pl08x_desc_free()
1547 struct virt_dma_desc *vd; in pl08x_dma_tx_status() local
1569 vd = vchan_find_desc(&plchan->vc, cookie); in pl08x_dma_tx_status()
1570 if (vd) { in pl08x_dma_tx_status()
1572 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_dma_tx_status()
1828 if (pl08x->vd->dualmaster) in pl08x_memcpy_cctl()
1870 if (pl08x->vd->dualmaster) in pl08x_ftdmac020_memcpy_cctl()
1908 if (pl08x->vd->ftdmac020) { in pl08x_prep_dma_memcpy()
1925 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_dma_memcpy()
2080 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_slave_sg()
2123 return vchan_tx_prep(&plchan->vc, &txd->vd, flags); in pl08x_prep_dma_cyclic()
2140 if (config->device_fc && pl08x->vd->pl080s) { in pl08x_config()
2175 vchan_terminate_vdesc(&plchan->at->vd); in pl08x_terminate_all()
2274 if (pl08x->vd->nomadik) in pl08x_ensure_on()
2277 if (pl08x->vd->ftdmac020) { in pl08x_ensure_on()
2303 for (i = 0; i < pl08x->vd->channels; i++) { in pl08x_irq()
2320 vchan_cyclic_callback(&tx->vd); in pl08x_irq()
2329 vchan_cookie_complete(&tx->vd); in pl08x_irq()
2460 for (i = 0; i < pl08x->vd->channels; i++) { in pl08x_debugfs_show()
2660 if (pl08x->vd->signals) { in pl08x_of_probe()
2662 pl08x->vd->signals, in pl08x_of_probe()
2669 for (i = 0; i < pl08x->vd->signals; i++) { in pl08x_of_probe()
2676 pd->num_slave_channels = pl08x->vd->signals; in pl08x_of_probe()
2696 struct vendor_data *vd = id->data; in pl08x_probe() local
2720 pl08x->vd = vd; in pl08x_probe()
2728 if (vd->ftdmac020) { in pl08x_probe()
2746 vd->channels = (val >> 12) & 0x0f; in pl08x_probe()
2747 vd->dualmaster = !!(val & BIT(9)); in pl08x_probe()
2766 if (vd->ftdmac020) in pl08x_probe()
2774 if (vd->signals) { in pl08x_probe()
2819 if (pl08x->vd->dualmaster) { in pl08x_probe()
2824 if (vd->pl080s) in pl08x_probe()
2842 if (vd->ftdmac020) in pl08x_probe()
2858 pl08x->phy_chans = kzalloc((vd->channels * sizeof(*pl08x->phy_chans)), in pl08x_probe()
2865 for (i = 0; i < vd->channels; i++) { in pl08x_probe()
2870 if (vd->ftdmac020) { in pl08x_probe()
2880 ch->reg_config = ch->base + vd->config_offset; in pl08x_probe()
2886 if (vd->pl080s) in pl08x_probe()
2896 if (vd->nomadik) { in pl08x_probe()
2912 pl08x->vd->channels, false); in pl08x_probe()
2953 amba_part(adev), pl08x->vd->pl080s ? "s" : "", amba_rev(adev), in pl08x_probe()