Home
last modified time | relevance | path

Searched refs:sw_desc (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/dma/ppc4xx/
Dadma.c1911 struct ppc440spe_adma_desc_slot *sw_desc; in ppc440spe_adma_tx_submit() local
1918 sw_desc = tx_to_ppc440spe_adma_slot(tx); in ppc440spe_adma_tx_submit()
1920 group_start = sw_desc->group_head; in ppc440spe_adma_tx_submit()
1929 list_splice_init(&sw_desc->group_list, &chan->chain); in ppc440spe_adma_tx_submit()
1936 list_splice_init(&sw_desc->group_list, in ppc440spe_adma_tx_submit()
1950 sw_desc->async_tx.cookie, sw_desc->idx, sw_desc); in ppc440spe_adma_tx_submit()
1962 struct ppc440spe_adma_desc_slot *sw_desc, *group_start; in ppc440spe_adma_prep_dma_interrupt() local
1973 sw_desc = ppc440spe_adma_alloc_slots(ppc440spe_chan, slot_cnt, in ppc440spe_adma_prep_dma_interrupt()
1975 if (sw_desc) { in ppc440spe_adma_prep_dma_interrupt()
1976 group_start = sw_desc->group_head; in ppc440spe_adma_prep_dma_interrupt()
[all …]
/Linux-v4.19/drivers/dma/
Dmv_xor_v2.c314 struct mv_xor_v2_sw_desc *sw_desc = in mv_xor_v2_tx_submit() local
321 __func__, sw_desc, &sw_desc->async_tx); in mv_xor_v2_tx_submit()
330 memcpy(dest_hw_desc, &sw_desc->hw_desc, xor_dev->desc_size); in mv_xor_v2_tx_submit()
348 struct mv_xor_v2_sw_desc *sw_desc; in mv_xor_v2_prep_sw_desc() local
361 list_for_each_entry(sw_desc, &xor_dev->free_sw_desc, free_list) { in mv_xor_v2_prep_sw_desc()
362 if (async_tx_test_ack(&sw_desc->async_tx)) { in mv_xor_v2_prep_sw_desc()
373 list_del(&sw_desc->free_list); in mv_xor_v2_prep_sw_desc()
378 return sw_desc; in mv_xor_v2_prep_sw_desc()
388 struct mv_xor_v2_sw_desc *sw_desc; in mv_xor_v2_prep_dma_memcpy() local
398 sw_desc = mv_xor_v2_prep_sw_desc(xor_dev); in mv_xor_v2_prep_dma_memcpy()
[all …]
Diop-adma.c372 struct iop_adma_desc_slot *sw_desc = tx_to_iop_adma_slot(tx); in iop_adma_tx_submit() local
380 grp_start = sw_desc->group_head; in iop_adma_tx_submit()
389 list_splice_init(&sw_desc->tx_list, in iop_adma_tx_submit()
398 iop_paranoia(iop_desc_get_next_desc(sw_desc)); in iop_adma_tx_submit()
410 __func__, sw_desc->async_tx.cookie, sw_desc->idx); in iop_adma_tx_submit()
498 struct iop_adma_desc_slot *sw_desc, *grp_start; in iop_adma_prep_dma_interrupt() local
505 sw_desc = iop_adma_alloc_slots(iop_chan, slot_cnt, slots_per_op); in iop_adma_prep_dma_interrupt()
506 if (sw_desc) { in iop_adma_prep_dma_interrupt()
507 grp_start = sw_desc->group_head; in iop_adma_prep_dma_interrupt()
509 sw_desc->async_tx.flags = flags; in iop_adma_prep_dma_interrupt()
[all …]
Dpxa_dma.c565 static void set_updater_desc(struct pxad_desc_sw *sw_desc, in set_updater_desc() argument
569 sw_desc->hw_desc[sw_desc->nb_desc - 1]; in set_updater_desc()
570 dma_addr_t dma = sw_desc->hw_desc[sw_desc->nb_desc - 2]->ddadr; in set_updater_desc()
579 if (sw_desc->cyclic) in set_updater_desc()
580 sw_desc->hw_desc[sw_desc->nb_desc - 2]->ddadr = sw_desc->first; in set_updater_desc()
585 struct pxad_desc_sw *sw_desc = to_pxad_sw_desc(vd); in is_desc_completed() local
587 sw_desc->hw_desc[sw_desc->nb_desc - 1]; in is_desc_completed()
773 struct pxad_desc_sw *sw_desc = to_pxad_sw_desc(vd); in pxad_free_desc() local
775 BUG_ON(sw_desc->nb_desc == 0); in pxad_free_desc()
776 for (i = sw_desc->nb_desc - 1; i >= 0; i--) { in pxad_free_desc()
[all …]
Dmv_xor.c187 struct mv_xor_desc_slot *sw_desc) in mv_chan_start_new_chain() argument
190 __func__, __LINE__, sw_desc); in mv_chan_start_new_chain()
193 mv_chan_set_next_descriptor(mv_chan, sw_desc->async_tx.phys); in mv_chan_start_new_chain()
392 struct mv_xor_desc_slot *sw_desc = to_mv_xor_slot(tx); in mv_xor_tx_submit() local
400 __func__, sw_desc, &sw_desc->async_tx); in mv_xor_tx_submit()
406 list_move_tail(&sw_desc->node, &mv_chan->chain); in mv_xor_tx_submit()
413 list_move_tail(&sw_desc->node, &mv_chan->chain); in mv_xor_tx_submit()
419 mv_desc_set_next_desc(old_chain_tail, sw_desc->async_tx.phys); in mv_xor_tx_submit()
434 mv_chan_start_new_chain(mv_chan, sw_desc); in mv_xor_tx_submit()
567 struct mv_xor_desc_slot *sw_desc; in mv_xor_prep_dma_xor() local
[all …]
/Linux-v4.19/drivers/usb/roles/
Dintel-xhci-usb-role-switch.c125 static const struct usb_role_switch_desc sw_desc = { variable
150 data->role_sw = usb_role_switch_register(dev, &sw_desc); in intel_xhci_usb_probe()