/linux-6.6.21/drivers/dma/ppc4xx/ |
D | adma.c | 1897 struct ppc440spe_adma_desc_slot *sw_desc; in ppc440spe_adma_tx_submit() local 1904 sw_desc = tx_to_ppc440spe_adma_slot(tx); in ppc440spe_adma_tx_submit() 1906 group_start = sw_desc->group_head; in ppc440spe_adma_tx_submit() 1915 list_splice_init(&sw_desc->group_list, &chan->chain); in ppc440spe_adma_tx_submit() 1922 list_splice_init(&sw_desc->group_list, in ppc440spe_adma_tx_submit() 1936 sw_desc->async_tx.cookie, sw_desc->idx, sw_desc); in ppc440spe_adma_tx_submit() 1948 struct ppc440spe_adma_desc_slot *sw_desc, *group_start; in ppc440spe_adma_prep_dma_interrupt() local 1959 sw_desc = ppc440spe_adma_alloc_slots(ppc440spe_chan, slot_cnt, in ppc440spe_adma_prep_dma_interrupt() 1961 if (sw_desc) { in ppc440spe_adma_prep_dma_interrupt() 1962 group_start = sw_desc->group_head; in ppc440spe_adma_prep_dma_interrupt() [all …]
|
/linux-6.6.21/drivers/dma/ |
D | mv_xor_v2.c | 307 struct mv_xor_v2_sw_desc *sw_desc = in mv_xor_v2_tx_submit() local 314 __func__, sw_desc, &sw_desc->async_tx); in mv_xor_v2_tx_submit() 323 memcpy(dest_hw_desc, &sw_desc->hw_desc, xor_dev->desc_size); in mv_xor_v2_tx_submit() 341 struct mv_xor_v2_sw_desc *sw_desc; in mv_xor_v2_prep_sw_desc() local 354 list_for_each_entry(sw_desc, &xor_dev->free_sw_desc, free_list) { in mv_xor_v2_prep_sw_desc() 355 if (async_tx_test_ack(&sw_desc->async_tx)) { in mv_xor_v2_prep_sw_desc() 366 list_del(&sw_desc->free_list); in mv_xor_v2_prep_sw_desc() 371 return sw_desc; in mv_xor_v2_prep_sw_desc() 381 struct mv_xor_v2_sw_desc *sw_desc; in mv_xor_v2_prep_dma_memcpy() local 391 sw_desc = mv_xor_v2_prep_sw_desc(xor_dev); in mv_xor_v2_prep_dma_memcpy() [all …]
|
D | pxa_dma.c | 516 static void set_updater_desc(struct pxad_desc_sw *sw_desc, in set_updater_desc() argument 520 sw_desc->hw_desc[sw_desc->nb_desc - 1]; in set_updater_desc() 521 dma_addr_t dma = sw_desc->hw_desc[sw_desc->nb_desc - 2]->ddadr; in set_updater_desc() 530 if (sw_desc->cyclic) in set_updater_desc() 531 sw_desc->hw_desc[sw_desc->nb_desc - 2]->ddadr = sw_desc->first; in set_updater_desc() 536 struct pxad_desc_sw *sw_desc = to_pxad_sw_desc(vd); in is_desc_completed() local 538 sw_desc->hw_desc[sw_desc->nb_desc - 1]; in is_desc_completed() 723 struct pxad_desc_sw *sw_desc = to_pxad_sw_desc(vd); in pxad_free_desc() local 725 for (i = sw_desc->nb_desc - 1; i >= 0; i--) { in pxad_free_desc() 727 dma = sw_desc->hw_desc[i - 1]->ddadr; in pxad_free_desc() [all …]
|
D | mv_xor.c | 179 struct mv_xor_desc_slot *sw_desc) in mv_chan_start_new_chain() argument 182 __func__, __LINE__, sw_desc); in mv_chan_start_new_chain() 185 mv_chan_set_next_descriptor(mv_chan, sw_desc->async_tx.phys); in mv_chan_start_new_chain() 384 struct mv_xor_desc_slot *sw_desc = to_mv_xor_slot(tx); in mv_xor_tx_submit() local 392 __func__, sw_desc, &sw_desc->async_tx); in mv_xor_tx_submit() 398 list_move_tail(&sw_desc->node, &mv_chan->chain); in mv_xor_tx_submit() 405 list_move_tail(&sw_desc->node, &mv_chan->chain); in mv_xor_tx_submit() 411 mv_desc_set_next_desc(old_chain_tail, sw_desc->async_tx.phys); in mv_xor_tx_submit() 426 mv_chan_start_new_chain(mv_chan, sw_desc); in mv_xor_tx_submit() 559 struct mv_xor_desc_slot *sw_desc; in mv_xor_prep_dma_xor() local [all …]
|
/linux-6.6.21/drivers/dma/xilinx/ |
D | xdma.c | 143 static void xdma_link_desc_blocks(struct xdma_desc *sw_desc) in xdma_link_desc_blocks() argument 151 for (i = 1; i < sw_desc->dblk_num; i++) { in xdma_link_desc_blocks() 152 block = &sw_desc->desc_blocks[i - 1]; in xdma_link_desc_blocks() 164 last_blk_desc = (sw_desc->desc_num - 1) & XDMA_DESC_ADJACENT_MASK; in xdma_link_desc_blocks() 165 if (((sw_desc->dblk_num - 1) & XDMA_DESC_BLOCK_MASK) > 0) { in xdma_link_desc_blocks() 166 block = &sw_desc->desc_blocks[sw_desc->dblk_num - 2]; in xdma_link_desc_blocks() 172 block = &sw_desc->desc_blocks[sw_desc->dblk_num - 1]; in xdma_link_desc_blocks() 215 struct xdma_desc *sw_desc; in xdma_free_desc() local 218 sw_desc = to_xdma_desc(vdesc); in xdma_free_desc() 219 for (i = 0; i < sw_desc->dblk_num; i++) { in xdma_free_desc() [all …]
|
D | xilinx_dpdma.c | 505 struct xilinx_dpdma_sw_desc *sw_desc, in xilinx_dpdma_sw_desc_set_dma_addrs() argument 510 struct xilinx_dpdma_hw_desc *hw_desc = &sw_desc->hw; in xilinx_dpdma_sw_desc_set_dma_addrs() 537 prev->hw.next_desc = lower_32_bits(sw_desc->dma_addr); in xilinx_dpdma_sw_desc_set_dma_addrs() 541 upper_32_bits(sw_desc->dma_addr)); in xilinx_dpdma_sw_desc_set_dma_addrs() 555 struct xilinx_dpdma_sw_desc *sw_desc; in xilinx_dpdma_chan_alloc_sw_desc() local 558 sw_desc = dma_pool_zalloc(chan->desc_pool, GFP_ATOMIC, &dma_addr); in xilinx_dpdma_chan_alloc_sw_desc() 559 if (!sw_desc) in xilinx_dpdma_chan_alloc_sw_desc() 562 sw_desc->dma_addr = dma_addr; in xilinx_dpdma_chan_alloc_sw_desc() 564 return sw_desc; in xilinx_dpdma_chan_alloc_sw_desc() 576 struct xilinx_dpdma_sw_desc *sw_desc) in xilinx_dpdma_chan_free_sw_desc() argument [all …]
|
/linux-6.6.21/drivers/usb/roles/ |
D | intel-xhci-usb-role-switch.c | 153 struct usb_role_switch_desc sw_desc = { }; in intel_xhci_usb_probe() local 176 sw_desc.set = intel_xhci_usb_set_role, in intel_xhci_usb_probe() 177 sw_desc.get = intel_xhci_usb_get_role, in intel_xhci_usb_probe() 178 sw_desc.allow_userspace_control = true, in intel_xhci_usb_probe() 179 sw_desc.fwnode = software_node_fwnode(&intel_xhci_usb_node); in intel_xhci_usb_probe() 180 sw_desc.driver_data = data; in intel_xhci_usb_probe() 186 data->role_sw = usb_role_switch_register(dev, &sw_desc); in intel_xhci_usb_probe() 188 fwnode_handle_put(sw_desc.fwnode); in intel_xhci_usb_probe()
|
/linux-6.6.21/drivers/usb/typec/mux/ |
D | gpio-sbu-mux.c | 94 struct typec_switch_desc sw_desc = { }; in gpio_sbu_mux_probe() local 115 sw_desc.drvdata = sbu_mux; in gpio_sbu_mux_probe() 116 sw_desc.fwnode = dev_fwnode(dev); in gpio_sbu_mux_probe() 117 sw_desc.set = gpio_sbu_switch_set; in gpio_sbu_mux_probe() 119 sbu_mux->sw = typec_switch_register(dev, &sw_desc); in gpio_sbu_mux_probe()
|
D | pi3usb30532.c | 117 struct typec_switch_desc sw_desc = { }; in pi3usb30532_probe() local 136 sw_desc.drvdata = pi; in pi3usb30532_probe() 137 sw_desc.fwnode = dev->fwnode; in pi3usb30532_probe() 138 sw_desc.set = pi3usb30532_sw_set; in pi3usb30532_probe() 140 pi->sw = typec_switch_register(dev, &sw_desc); in pi3usb30532_probe()
|
D | fsa4480.c | 185 struct typec_switch_desc sw_desc = { }; in fsa4480_probe() local 218 sw_desc.drvdata = fsa; in fsa4480_probe() 219 sw_desc.fwnode = dev_fwnode(dev); in fsa4480_probe() 220 sw_desc.set = fsa4480_switch_set; in fsa4480_probe() 222 fsa->sw = typec_switch_register(dev, &sw_desc); in fsa4480_probe()
|
D | nb7vpq904m.c | 418 struct typec_switch_desc sw_desc = { }; in nb7vpq904m_probe() local 468 sw_desc.drvdata = nb7; in nb7vpq904m_probe() 469 sw_desc.fwnode = dev->fwnode; in nb7vpq904m_probe() 470 sw_desc.set = nb7vpq904m_sw_set; in nb7vpq904m_probe() 472 nb7->sw = typec_switch_register(dev, &sw_desc); in nb7vpq904m_probe()
|
D | intel_pmc_mux.c | 554 struct typec_switch_desc sw_desc = { }; in pmc_usb_register_port() local 578 sw_desc.fwnode = fwnode; in pmc_usb_register_port() 579 sw_desc.drvdata = port; in pmc_usb_register_port() 580 sw_desc.name = fwnode_get_name(fwnode); in pmc_usb_register_port() 581 sw_desc.set = pmc_usb_set_orientation; in pmc_usb_register_port() 583 port->typec_sw = typec_switch_register(pmc->dev, &sw_desc); in pmc_usb_register_port()
|
/linux-6.6.21/drivers/usb/cdns3/ |
D | core.c | 441 struct usb_role_switch_desc sw_desc = { }; in cdns_init() local 443 sw_desc.set = cdns_role_set; in cdns_init() 444 sw_desc.get = cdns_role_get; in cdns_init() 445 sw_desc.allow_userspace_control = true; in cdns_init() 446 sw_desc.driver_data = cdns; in cdns_init() 447 sw_desc.fwnode = dev->fwnode; in cdns_init() 449 cdns->role_sw = usb_role_switch_register(dev, &sw_desc); in cdns_init()
|
/linux-6.6.21/drivers/usb/typec/ |
D | anx7411.c | 1050 struct typec_switch_desc sw_desc = { }; in anx7411_register_switch() local 1052 sw_desc.fwnode = fwnode; in anx7411_register_switch() 1053 sw_desc.drvdata = ctx; in anx7411_register_switch() 1054 sw_desc.name = fwnode_get_name(fwnode); in anx7411_register_switch() 1055 sw_desc.set = anx7411_usb_set_orientation; in anx7411_register_switch() 1057 ctx->typec.typec_switch = typec_switch_register(dev, &sw_desc); in anx7411_register_switch()
|
/linux-6.6.21/drivers/phy/qualcomm/ |
D | phy-qcom-qmp-combo.c | 3173 struct typec_switch_desc sw_desc = {}; in qmp_combo_typec_switch_register() local 3176 sw_desc.drvdata = qmp; in qmp_combo_typec_switch_register() 3177 sw_desc.fwnode = dev->fwnode; in qmp_combo_typec_switch_register() 3178 sw_desc.set = qmp_combo_typec_switch_set; in qmp_combo_typec_switch_register() 3179 qmp->sw = typec_switch_register(dev, &sw_desc); in qmp_combo_typec_switch_register()
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | dp_rx.c | 5292 struct hal_sw_monitor_ring *sw_desc = ring_entry; in ath11k_dp_rx_full_mon_mpdu_pop() local 5316 FIELD_GET(HAL_SW_MON_RING_INFO0_END_OF_PPDU, sw_desc->info0); in ath11k_dp_rx_full_mon_mpdu_pop() 5321 sw_desc->info0) == in ath11k_dp_rx_full_mon_mpdu_pop() 5325 sw_desc->info0); in ath11k_dp_rx_full_mon_mpdu_pop()
|