/linux-6.3-rc2/drivers/dma/ppc4xx/ |
A D | adma.c | 1936 sw_desc->async_tx.cookie, sw_desc->idx, sw_desc); in ppc440spe_adma_tx_submit() 1961 if (sw_desc) { in ppc440spe_adma_prep_dma_interrupt() 1969 return sw_desc ? &sw_desc->async_tx : NULL; in ppc440spe_adma_prep_dma_interrupt() 2010 return sw_desc ? &sw_desc->async_tx : NULL; in ppc440spe_adma_prep_dma_memcpy() 2055 return sw_desc ? &sw_desc->async_tx : NULL; in ppc440spe_adma_prep_dma_xor() 2533 return sw_desc ? &sw_desc->async_tx : NULL; in ppc440spe_adma_prep_dma_pq() 2539 return sw_desc ? &sw_desc->async_tx : NULL; in ppc440spe_adma_prep_dma_pq() 2576 return sw_desc ? &sw_desc->async_tx : NULL; in ppc440spe_adma_prep_dma_pq() 2755 return sw_desc ? &sw_desc->async_tx : NULL; in ppc440spe_adma_prep_dma_pqzero_sum() 2802 sw_desc = ppc440spe_get_group_entry(sw_desc, index); in ppc440spe_adma_set_dest() [all …]
|
/linux-6.3-rc2/drivers/dma/ |
A D | mv_xor_v2.c | 314 __func__, sw_desc, &sw_desc->async_tx); in mv_xor_v2_tx_submit() 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() 392 if (!sw_desc) in mv_xor_v2_prep_dma_memcpy() 424 return &sw_desc->async_tx; in mv_xor_v2_prep_dma_memcpy() 448 if (!sw_desc) in mv_xor_v2_prep_dma_xor() 483 return &sw_desc->async_tx; in mv_xor_v2_prep_dma_xor() 498 if (!sw_desc) in mv_xor_v2_prep_dma_interrupt() 513 return &sw_desc->async_tx; in mv_xor_v2_prep_dma_interrupt() 815 sw_desc->idx = i; in mv_xor_v2_probe() [all …]
|
A D | pxa_dma.c | 520 sw_desc->hw_desc[sw_desc->nb_desc - 1]; in set_updater_desc() 531 sw_desc->hw_desc[sw_desc->nb_desc - 2]->ddadr = sw_desc->first; in set_updater_desc() 538 sw_desc->hw_desc[sw_desc->nb_desc - 1]; in is_desc_completed() 735 kfree(sw_desc); in pxad_free_desc() 745 sw_desc = kzalloc(struct_size(sw_desc, hw_desc, nb_hw_desc), in pxad_alloc_desc() 747 if (!sw_desc) in pxad_alloc_desc() 752 sw_desc->hw_desc[i] = dma_pool_alloc(sw_desc->desc_pool, in pxad_alloc_desc() 768 return sw_desc; in pxad_alloc_desc() 937 if (!sw_desc) in pxad_prep_memcpy() 984 if (!sw_desc) in pxad_prep_slave_sg() [all …]
|
A 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() 392 __func__, sw_desc, &sw_desc->async_tx); in mv_xor_tx_submit() 559 struct mv_xor_desc_slot *sw_desc; in mv_xor_prep_dma_xor() local 576 sw_desc = mv_chan_alloc_slot(mv_chan); in mv_xor_prep_dma_xor() 577 if (sw_desc) { in mv_xor_prep_dma_xor() 578 sw_desc->type = DMA_XOR; in mv_xor_prep_dma_xor() 579 sw_desc->async_tx.flags = flags; in mv_xor_prep_dma_xor() 582 mv_desc_set_mode(sw_desc); in mv_xor_prep_dma_xor() 594 __func__, sw_desc, &sw_desc->async_tx); in mv_xor_prep_dma_xor() [all …]
|
/linux-6.3-rc2/drivers/dma/xilinx/ |
A D | xdma.c | 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 227 kfree(sw_desc); in xdma_free_desc() 245 sw_desc = kzalloc(sizeof(*sw_desc), GFP_NOWAIT); in xdma_alloc_desc() 246 if (!sw_desc) in xdma_alloc_desc() 249 sw_desc->chan = chan; in xdma_alloc_desc() 252 sw_desc->desc_blocks = kcalloc(dblk_num, sizeof(*sw_desc->desc_blocks), in xdma_alloc_desc() 271 return sw_desc; in xdma_alloc_desc() 470 if (!sw_desc) in xdma_prep_device_sg() [all …]
|
A D | xilinx_dpdma.c | 555 struct xilinx_dpdma_sw_desc *sw_desc; in xilinx_dpdma_chan_alloc_sw_desc() local 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() 578 dma_pool_free(chan->desc_pool, sw_desc, sw_desc->dma_addr); in xilinx_dpdma_chan_free_sw_desc() 591 struct xilinx_dpdma_sw_desc *sw_desc; in xilinx_dpdma_chan_dump_tx_desc() local 665 list_del(&sw_desc->node); in xilinx_dpdma_chan_free_tx_desc() 688 struct xilinx_dpdma_sw_desc *sw_desc; in xilinx_dpdma_chan_prep_interleaved_dma() local 705 if (!sw_desc) { in xilinx_dpdma_chan_prep_interleaved_dma() 710 xilinx_dpdma_sw_desc_set_dma_addrs(chan->xdev, sw_desc, sw_desc, in xilinx_dpdma_chan_prep_interleaved_dma() [all …]
|
/linux-6.3-rc2/drivers/usb/roles/ |
A 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.3-rc2/drivers/usb/typec/mux/ |
A D | gpio-sbu-mux.c | 97 struct typec_switch_desc sw_desc = { }; in gpio_sbu_mux_probe() local 118 sw_desc.drvdata = sbu_mux; in gpio_sbu_mux_probe() 119 sw_desc.fwnode = dev_fwnode(dev); in gpio_sbu_mux_probe() 120 sw_desc.set = gpio_sbu_switch_set; in gpio_sbu_mux_probe() 122 sbu_mux->sw = typec_switch_register(dev, &sw_desc); in gpio_sbu_mux_probe()
|
A 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()
|
A D | fsa4480.c | 131 struct typec_switch_desc sw_desc = { }; in fsa4480_probe() local 162 sw_desc.drvdata = fsa; in fsa4480_probe() 163 sw_desc.fwnode = dev_fwnode(dev); in fsa4480_probe() 164 sw_desc.set = fsa4480_switch_set; in fsa4480_probe() 166 fsa->sw = typec_switch_register(dev, &sw_desc); in fsa4480_probe()
|
A D | intel_pmc_mux.c | 517 struct typec_switch_desc sw_desc = { }; in pmc_usb_register_port() local 541 sw_desc.fwnode = fwnode; in pmc_usb_register_port() 542 sw_desc.drvdata = port; in pmc_usb_register_port() 543 sw_desc.name = fwnode_get_name(fwnode); in pmc_usb_register_port() 544 sw_desc.set = pmc_usb_set_orientation; in pmc_usb_register_port() 546 port->typec_sw = typec_switch_register(pmc->dev, &sw_desc); in pmc_usb_register_port()
|
/linux-6.3-rc2/drivers/usb/cdns3/ |
A 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.3-rc2/drivers/usb/typec/ |
A 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.3-rc2/drivers/net/wireless/ath/ath11k/ |
A D | dp_rx.c | 5260 struct hal_sw_monitor_ring *sw_desc = ring_entry; in ath11k_dp_rx_full_mon_mpdu_pop() local 5284 FIELD_GET(HAL_SW_MON_RING_INFO0_END_OF_PPDU, sw_desc->info0); in ath11k_dp_rx_full_mon_mpdu_pop() 5289 sw_desc->info0) == in ath11k_dp_rx_full_mon_mpdu_pop() 5293 sw_desc->info0); in ath11k_dp_rx_full_mon_mpdu_pop()
|