Home
last modified time | relevance | path

Searched full:tx_desc (Results 1 – 25 of 132) sorted by relevance

123456

/linux-6.12.1/drivers/infiniband/ulp/isert/ !
Dib_isert.c780 isert_login_post_send(struct isert_conn *isert_conn, struct iser_tx_desc *tx_desc) in isert_login_post_send() argument
786 ib_dma_sync_single_for_device(ib_dev, tx_desc->dma_addr, in isert_login_post_send()
789 tx_desc->tx_cqe.done = isert_login_send_done; in isert_login_post_send()
792 send_wr.wr_cqe = &tx_desc->tx_cqe; in isert_login_post_send()
793 send_wr.sg_list = tx_desc->tx_sg; in isert_login_post_send()
794 send_wr.num_sge = tx_desc->num_sge; in isert_login_post_send()
807 struct iser_tx_desc *tx_desc) in __isert_create_send_desc() argument
810 memset(&tx_desc->iser_header, 0, sizeof(struct iser_ctrl)); in __isert_create_send_desc()
811 tx_desc->iser_header.flags = ISCSI_CTRL; in __isert_create_send_desc()
813 tx_desc->num_sge = 1; in __isert_create_send_desc()
[all …]
/linux-6.12.1/drivers/crypto/ccp/ !
Dccp-dmaengine.c111 if (!async_tx_test_ack(&desc->tx_desc)) in ccp_cleanup_desc_resources()
148 desc->tx_desc.cookie, cmd); in ccp_issue_next_cmd()
155 ret, desc->tx_desc.cookie, cmd); in ccp_issue_next_cmd()
170 __func__, desc->tx_desc.cookie, cmd); in ccp_free_active_cmd()
193 struct dma_async_tx_descriptor *tx_desc; in ccp_handle_active_desc() local
212 tx_desc = &desc->tx_desc; in ccp_handle_active_desc()
214 tx_desc = NULL; in ccp_handle_active_desc()
225 desc->tx_desc.cookie, desc->status); in ccp_handle_active_desc()
227 dma_cookie_complete(tx_desc); in ccp_handle_active_desc()
228 dma_descriptor_unmap(tx_desc); in ccp_handle_active_desc()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ !
Den_tx.c241 struct mlx4_en_tx_desc *tx_desc = ring->buf + (index << LOG_TXBB_SIZE); in mlx4_en_stamp_wqe() local
244 __be32 *ptr = (__be32 *)tx_desc; in mlx4_en_stamp_wqe()
248 if (likely((void *)tx_desc + in mlx4_en_stamp_wqe()
281 struct mlx4_en_tx_desc *tx_desc = ring->buf + (index << LOG_TXBB_SIZE); in mlx4_en_free_tx_desc() local
282 struct mlx4_wqe_data_seg *data = (void *) tx_desc + tx_info->data_offset; in mlx4_en_free_tx_desc()
312 if (likely((void *)tx_desc + in mlx4_en_free_tx_desc()
405 struct mlx4_en_tx_desc *tx_desc; in mlx4_en_handle_err_cqe() local
419 tx_desc = ring->buf + (wqe_index << LOG_TXBB_SIZE); in mlx4_en_handle_err_cqe()
420 print_hex_dump(KERN_WARNING, "", DUMP_PREFIX_OFFSET, 16, 1, tx_desc, desc_size, false); in mlx4_en_handle_err_cqe()
690 static void build_inline_wqe(struct mlx4_en_tx_desc *tx_desc, in build_inline_wqe() argument
[all …]
/linux-6.12.1/drivers/net/ethernet/sunplus/ !
Dspl2sw_desc.c37 if (!comm->tx_desc) in spl2sw_tx_descs_clean()
41 comm->tx_desc[i].cmd1 = 0; in spl2sw_tx_descs_clean()
43 comm->tx_desc[i].cmd2 = 0; in spl2sw_tx_descs_clean()
44 comm->tx_desc[i].addr1 = 0; in spl2sw_tx_descs_clean()
45 comm->tx_desc[i].addr2 = 0; in spl2sw_tx_descs_clean()
103 comm->tx_desc = NULL; in spl2sw_descs_free()
119 memset(comm->tx_desc, '\0', sizeof(struct spl2sw_mac_desc) * in spl2sw_tx_descs_init()
187 comm->tx_desc = comm->desc_base; in spl2sw_descs_alloc()
190 comm->rx_desc[0] = &comm->tx_desc[TX_DESC_NUM + MAC_GUARD_DESC_NUM]; in spl2sw_descs_alloc()
214 comm->tx_desc = NULL; in spl2sw_descs_init()
/linux-6.12.1/drivers/infiniband/ulp/iser/ !
Diser_initiator.c144 struct iser_tx_desc *tx_desc, enum iser_desc_type type, in iser_create_send_desc() argument
149 tx_desc->type = type; in iser_create_send_desc()
150 tx_desc->cqe.done = done; in iser_create_send_desc()
153 tx_desc->dma_addr, ISER_HEADERS_LEN, DMA_TO_DEVICE); in iser_create_send_desc()
155 memset(&tx_desc->iser_header, 0, sizeof(struct iser_ctrl)); in iser_create_send_desc()
156 tx_desc->iser_header.flags = ISER_VER; in iser_create_send_desc()
157 tx_desc->num_sge = 1; in iser_create_send_desc()
351 struct iser_tx_desc *tx_desc = &iser_task->desc; in iser_send_command() local
356 iser_create_send_desc(iser_conn, tx_desc, ISCSI_TX_SCSI_COMMAND, in iser_send_command()
397 err = iser_post_send(&iser_conn->ib_conn, tx_desc); in iser_send_command()
[all …]
Diser_memory.c253 struct iser_tx_desc *tx_desc = &iser_task->desc; in iser_reg_sig_mr() local
257 struct ib_reg_wr *wr = &tx_desc->reg_wr; in iser_reg_sig_mr()
268 iser_inv_rkey(&tx_desc->inv_wr, mr, cqe, &wr->wr); in iser_reg_sig_mr()
281 wr->wr.next = &tx_desc->send_wr; in iser_reg_sig_mr()
310 struct iser_tx_desc *tx_desc = &iser_task->desc; in iser_fast_reg_mr() local
313 struct ib_reg_wr *wr = &tx_desc->reg_wr; in iser_fast_reg_mr()
317 iser_inv_rkey(&tx_desc->inv_wr, mr, cqe, &wr->wr); in iser_fast_reg_mr()
328 wr->wr.next = &tx_desc->send_wr; in iser_fast_reg_mr()
Discsi_iser.c187 * @tx_desc: iser tx descriptor
196 struct iser_tx_desc *tx_desc) in iser_initialize_task_headers() argument
206 dma_addr = ib_dma_map_single(device->ib_device, (void *)tx_desc, in iser_initialize_task_headers()
211 tx_desc->inv_wr.next = NULL; in iser_initialize_task_headers()
212 tx_desc->reg_wr.wr.next = NULL; in iser_initialize_task_headers()
213 tx_desc->mapped = true; in iser_initialize_task_headers()
214 tx_desc->dma_addr = dma_addr; in iser_initialize_task_headers()
215 tx_desc->tx_sg[0].addr = tx_desc->dma_addr; in iser_initialize_task_headers()
216 tx_desc->tx_sg[0].length = ISER_HEADERS_LEN; in iser_initialize_task_headers()
217 tx_desc->tx_sg[0].lkey = device->pd->local_dma_lkey; in iser_initialize_task_headers()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ !
Dixgbe_xsk.c394 union ixgbe_adv_tx_desc *tx_desc = NULL; in ixgbe_xmit_zc() local
421 tx_desc = IXGBE_TX_DESC(xdp_ring, xdp_ring->next_to_use); in ixgbe_xmit_zc()
422 tx_desc->read.buffer_addr = cpu_to_le64(dma); in ixgbe_xmit_zc()
429 tx_desc->read.cmd_type_len = cpu_to_le32(cmd_type); in ixgbe_xmit_zc()
430 tx_desc->read.olinfo_status = in ixgbe_xmit_zc()
438 if (tx_desc) { in ixgbe_xmit_zc()
462 union ixgbe_adv_tx_desc *tx_desc; in ixgbe_clean_xdp_tx_irq() local
467 tx_desc = IXGBE_TX_DESC(tx_ring, ntc); in ixgbe_clean_xdp_tx_irq()
470 if (!(tx_desc->wb.status & cpu_to_le32(IXGBE_TXD_STAT_DD))) in ixgbe_clean_xdp_tx_irq()
484 tx_desc++; in ixgbe_clean_xdp_tx_irq()
[all …]
/linux-6.12.1/drivers/dma/ptdma/ !
Dptdma-dmaengine.c81 struct dma_async_tx_descriptor *tx_desc; in pt_handle_active_desc() local
94 tx_desc = &desc->vd.tx; in pt_handle_active_desc()
97 tx_desc = NULL; in pt_handle_active_desc()
107 dma_cookie_complete(tx_desc); in pt_handle_active_desc()
108 dma_descriptor_unmap(tx_desc); in pt_handle_active_desc()
112 tx_desc = NULL; in pt_handle_active_desc()
120 if (tx_desc) { in pt_handle_active_desc()
121 dmaengine_desc_get_callback_invoke(tx_desc, NULL); in pt_handle_active_desc()
122 dma_run_dependencies(tx_desc); in pt_handle_active_desc()
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/ !
Dtx.c37 struct rtw_tx_desc *tx_desc = (struct rtw_tx_desc *)skb->data; in rtw_tx_fill_tx_desc() local
43 tx_desc->w0 = le32_encode_bits(pkt_info->tx_pkt_size, RTW_TX_DESC_W0_TXPKTSIZE) | in rtw_tx_fill_tx_desc()
49 tx_desc->w1 = le32_encode_bits(pkt_info->mac_id, RTW_TX_DESC_W1_MACID) | in rtw_tx_fill_tx_desc()
56 tx_desc->w2 = le32_encode_bits(pkt_info->ampdu_en, RTW_TX_DESC_W2_AGG_EN) | in rtw_tx_fill_tx_desc()
61 tx_desc->w3 = le32_encode_bits(pkt_info->hw_ssn_sel, RTW_TX_DESC_W3_HW_SSN_SEL) | in rtw_tx_fill_tx_desc()
68 tx_desc->w4 = le32_encode_bits(pkt_info->rate, RTW_TX_DESC_W4_DATARATE); in rtw_tx_fill_tx_desc()
70 tx_desc->w5 = le32_encode_bits(pkt_info->short_gi, RTW_TX_DESC_W5_DATA_SHORT) | in rtw_tx_fill_tx_desc()
75 tx_desc->w6 = le32_encode_bits(pkt_info->sn, RTW_TX_DESC_W6_SW_DEFINE); in rtw_tx_fill_tx_desc()
77 tx_desc->w8 = le32_encode_bits(pkt_info->en_hwseq, RTW_TX_DESC_W8_EN_HWSEQ); in rtw_tx_fill_tx_desc()
79 tx_desc->w9 = le32_encode_bits(pkt_info->seq, RTW_TX_DESC_W9_SW_SEQ); in rtw_tx_fill_tx_desc()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/idpf/ !
Didpf_singleq_txrx.c198 struct idpf_base_tx_desc *tx_desc; in idpf_tx_singleq_map() local
211 tx_desc = &tx_q->base_tx[i]; in idpf_tx_singleq_map()
232 tx_desc->buf_addr = cpu_to_le64(dma); in idpf_tx_singleq_map()
238 tx_desc->qw1 = idpf_tx_singleq_build_ctob(td_cmd, in idpf_tx_singleq_map()
244 tx_desc = &tx_q->base_tx[0]; in idpf_tx_singleq_map()
248 tx_desc++; in idpf_tx_singleq_map()
257 tx_desc->buf_addr = cpu_to_le64(dma); in idpf_tx_singleq_map()
263 tx_desc->qw1 = idpf_tx_singleq_build_ctob(td_cmd, offsets, in idpf_tx_singleq_map()
268 tx_desc = &tx_q->base_tx[0]; in idpf_tx_singleq_map()
272 tx_desc++; in idpf_tx_singleq_map()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/ !
Dice_txrx_lib.c272 struct ice_tx_desc *tx_desc; in ice_clean_xdp_irq() local
281 tx_desc = ICE_TX_DESC(xdp_ring, idx); in ice_clean_xdp_irq()
282 if (tx_desc->cmd_type_offset_bsz & in ice_clean_xdp_irq()
328 tx_desc->cmd_type_offset_bsz = 0; in ice_clean_xdp_irq()
349 struct ice_tx_desc *tx_desc; in __ice_xmit_xdp_ring() local
372 tx_desc = ICE_TX_DESC(xdp_ring, ntu); in __ice_xmit_xdp_ring()
394 tx_desc->buf_addr = cpu_to_le64(dma); in __ice_xmit_xdp_ring()
395 tx_desc->cmd_type_offset_bsz = ice_build_ctob(0, 0, size, 0); in __ice_xmit_xdp_ring()
404 tx_desc = ICE_TX_DESC(xdp_ring, ntu); in __ice_xmit_xdp_ring()
422 tx_desc->cmd_type_offset_bsz |= in __ice_xmit_xdp_ring()
Dice_xsk.c611 struct ice_tx_desc *tx_desc; in ice_clean_xdp_irq_zc() local
620 tx_desc = ICE_TX_DESC(xdp_ring, last_rs); in ice_clean_xdp_irq_zc()
621 if (tx_desc->cmd_type_offset_bsz & in ice_clean_xdp_irq_zc()
654 tx_desc->cmd_type_offset_bsz = 0; in ice_clean_xdp_irq_zc()
684 struct ice_tx_desc *tx_desc; in ice_xmit_xdp_tx_zc() local
705 tx_desc = ICE_TX_DESC(xdp_ring, ntu); in ice_xmit_xdp_tx_zc()
717 tx_desc->buf_addr = cpu_to_le64(dma); in ice_xmit_xdp_tx_zc()
718 tx_desc->cmd_type_offset_bsz = ice_build_ctob(0, 0, size, 0); in ice_xmit_xdp_tx_zc()
728 tx_desc = ICE_TX_DESC(xdp_ring, ntu); in ice_xmit_xdp_tx_zc()
738 tx_desc->cmd_type_offset_bsz |= in ice_xmit_xdp_tx_zc()
[all …]
Dice_txrx.c38 struct ice_tx_desc *tx_desc; in ice_prgm_fdir_fltr() local
74 tx_desc = ICE_TX_DESC(tx_ring, i); in ice_prgm_fdir_fltr()
84 tx_desc->buf_addr = cpu_to_le64(dma); in ice_prgm_fdir_fltr()
91 tx_desc->cmd_type_offset_bsz = in ice_prgm_fdir_fltr()
100 first->next_to_watch = tx_desc; in ice_prgm_fdir_fltr()
223 struct ice_tx_desc *tx_desc; in ice_clean_tx_irq() local
230 tx_desc = ICE_TX_DESC(tx_ring, i); in ice_clean_tx_irq()
247 ice_trace(clean_tx_irq, tx_ring, tx_desc, tx_buf); in ice_clean_tx_irq()
274 while (tx_desc != eop_desc) { in ice_clean_tx_irq()
275 ice_trace(clean_tx_irq_unmap, tx_ring, tx_desc, tx_buf); in ice_clean_tx_irq()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/ !
Dfm10k_main.c746 struct fm10k_tx_desc *tx_desc; in fm10k_tso() local
775 tx_desc = FM10K_TX_DESC(tx_ring, tx_ring->next_to_use); in fm10k_tso()
776 tx_desc->hdrlen = hdrlen; in fm10k_tso()
777 tx_desc->mss = cpu_to_le16(skb_shinfo(skb)->gso_size); in fm10k_tso()
793 struct fm10k_tx_desc *tx_desc; in fm10k_tx_csum() local
869 tx_desc = FM10K_TX_DESC(tx_ring, tx_ring->next_to_use); in fm10k_tx_csum()
870 tx_desc->hdrlen = 0; in fm10k_tx_csum()
871 tx_desc->mss = 0; in fm10k_tx_csum()
892 struct fm10k_tx_desc *tx_desc, u16 i, in fm10k_tx_desc_push() argument
900 tx_desc->buffer_addr = cpu_to_le64(dma); in fm10k_tx_desc_push()
[all …]
/linux-6.12.1/drivers/net/ethernet/seeq/ !
Dsgiseeq.c96 struct sgiseeq_tx_desc *tx_desc; member
196 sp->tx_desc[i].tdma.cntinfo = TCNTINFO_INIT; in seeq_init_ring()
197 dma_sync_desc_dev(dev, &sp->tx_desc[i]); in seeq_init_ring()
230 if (sp->tx_desc[i].skb) { in seeq_purge_ring()
231 dev_kfree_skb(sp->tx_desc[i].skb); in seeq_purge_ring()
232 sp->tx_desc[i].skb = NULL; in seeq_purge_ring()
253 struct sgiseeq_tx_desc *t = gpriv->tx_desc; in sgiseeq_dump_rings()
312 hregs->tx_ndptr = VIRT_TO_DMA(sp, sp->tx_desc); in init_seeq()
443 td = &sp->tx_desc[i]; in kick_tx()
448 td = &sp->tx_desc[i]; in kick_tx()
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath12k/ !
Ddp_tx.c80 struct ath12k_tx_desc_info *tx_desc, in ath12k_dp_tx_release_txbuf() argument
84 list_move_tail(&tx_desc->list, &dp->tx_desc_free_list[pool_id]); in ath12k_dp_tx_release_txbuf()
225 struct ath12k_tx_desc_info *tx_desc; in ath12k_dp_tx() local
270 tx_desc = ath12k_dp_tx_assign_buffer(dp, pool_id); in ath12k_dp_tx()
271 if (!tx_desc) in ath12k_dp_tx()
374 tx_desc->skb = skb; in ath12k_dp_tx()
375 tx_desc->mac_id = ar->pdev_idx; in ath12k_dp_tx()
376 ti.desc_id = tx_desc->desc_id; in ath12k_dp_tx()
471 ath12k_dp_tx_release_txbuf(dp, tx_desc, pool_id); in ath12k_dp_tx()
696 struct ath12k_tx_desc_info *tx_desc = NULL; in ath12k_dp_tx_completion_handler() local
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/i40e/ !
Di40e_xsk.c535 struct i40e_tx_desc *tx_desc; in i40e_xmit_pkt() local
541 tx_desc = I40E_TX_DESC(xdp_ring, xdp_ring->next_to_use++); in i40e_xmit_pkt()
542 tx_desc->buffer_addr = cpu_to_le64(dma); in i40e_xmit_pkt()
543 tx_desc->cmd_type_offset_bsz = build_ctob(cmd, 0, desc->len, 0); in i40e_xmit_pkt()
552 struct i40e_tx_desc *tx_desc; in i40e_xmit_pkt_batch() local
562 tx_desc = I40E_TX_DESC(xdp_ring, ntu++); in i40e_xmit_pkt_batch()
563 tx_desc->buffer_addr = cpu_to_le64(dma); in i40e_xmit_pkt_batch()
564 tx_desc->cmd_type_offset_bsz = build_ctob(cmd, 0, desc[i].len, 0); in i40e_xmit_pkt_batch()
588 struct i40e_tx_desc *tx_desc; in i40e_set_rs_bit() local
590 tx_desc = I40E_TX_DESC(xdp_ring, ntu); in i40e_set_rs_bit()
[all …]
/linux-6.12.1/drivers/staging/rtl8712/ !
Drtl8712_xmit.c248 struct tx_desc *ptx_desc = (struct tx_desc *)pxmitbuf->pbuf; in r8712_construct_txaggr_cmd_desc()
282 struct tx_desc *ptx_desc = (struct tx_desc *)pxmitbuf->pbuf; in r8712_append_mpdu_unit()
338 (((struct tx_desc *)pxmitbuf->pbuf)->txdw0 & 0x0000ffff); in r8712_xmitframe_aggr_next()
345 (((struct tx_desc *)pxmitbuf->pbuf)->txdw0 & 0x0000ffff); in r8712_xmitframe_aggr_next()
353 struct tx_desc *ptxdesc = pxmitbuf->pbuf; in r8712_dump_aggr_xframe()
398 struct tx_desc *ptxdesc = (struct tx_desc *)pmem; in update_txdesc()
406 struct tx_desc txdesc_mp; in update_txdesc()
408 memcpy(&txdesc_mp, ptxdesc, sizeof(struct tx_desc)); in update_txdesc()
409 memset(ptxdesc, 0, sizeof(struct tx_desc)); in update_txdesc()
530 struct tx_desc *ptxdesc_mp; in update_txdesc()
Drtl8712_xmit.h39 #define tx_cmd tx_desc
78 struct tx_desc { struct
91 struct tx_desc txdesc; argument
/linux-6.12.1/drivers/net/ethernet/hisilicon/ !
Dhip04_eth.c173 struct tx_desc { struct
226 struct tx_desc *tx_desc; member
451 struct tx_desc *desc; in hip04_tx_reclaim()
461 desc = &priv->tx_desc[tx_tail]; in hip04_tx_reclaim()
511 struct tx_desc *desc = &priv->tx_desc[tx_head]; in hip04_mac_start_xmit()
540 phys = priv->tx_desc_dma + tx_head * sizeof(struct tx_desc); in hip04_mac_start_xmit()
542 offsetof(struct tx_desc, send_addr)); in hip04_mac_start_xmit()
859 priv->tx_desc = dma_alloc_coherent(d, in hip04_alloc_ring()
860 TX_DESC_NUM * sizeof(struct tx_desc), in hip04_alloc_ring()
862 if (!priv->tx_desc) in hip04_alloc_ring()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ !
Dxdp_metadata.c106 printf("%p: tx_desc[%d] -> %lx\n", xsk, i, addr); in open_xsk()
156 struct xdp_desc *tx_desc; in generate_packet() local
168 tx_desc = xsk_ring_prod__tx_desc(&xsk->tx, idx); in generate_packet()
169 tx_desc->addr = idx % (UMEM_NUM / 2) * UMEM_FRAME_SIZE + sizeof(struct xsk_tx_metadata); in generate_packet()
170 printf("%p: tx_desc[%u]->addr=%llx\n", xsk, idx, tx_desc->addr); in generate_packet()
171 data = xsk_umem__get_data(xsk->umem_area, tx_desc->addr); in generate_packet()
209 tx_desc->len = sizeof(*eth) + sizeof(*iph) + sizeof(*udph) + UDP_PAYLOAD_BYTES; in generate_packet()
210 tx_desc->options |= XDP_TX_METADATA; in generate_packet()
/linux-6.12.1/drivers/net/ethernet/ !
Dec_bhf.c103 struct tx_desc { struct
144 struct tx_desc *tx_descs;
170 static void ec_bhf_send_packet(struct ec_bhf_priv *priv, struct tx_desc *desc) in ec_bhf_send_packet()
178 static int ec_bhf_desc_sent(struct tx_desc *desc) in ec_bhf_desc_sent()
286 struct tx_desc *desc; in ec_bhf_start_xmit()
361 priv->tx_dcount = priv->tx_buf.len / sizeof(struct tx_desc); in ec_bhf_setup_tx_descs()
362 priv->tx_descs = (struct tx_desc *)priv->tx_buf.buf; in ec_bhf_setup_tx_descs()
409 FIFO_SIZE * sizeof(struct tx_desc)); in ec_bhf_open()
/linux-6.12.1/drivers/dma/xilinx/ !
Dxilinx_dpdma.c585 * @tx_desc: tx descriptor to dump
590 struct xilinx_dpdma_tx_desc *tx_desc) in xilinx_dpdma_chan_dump_tx_desc() argument
599 list_for_each_entry(sw_desc, &tx_desc->descriptors, node) { in xilinx_dpdma_chan_dump_tx_desc()
636 struct xilinx_dpdma_tx_desc *tx_desc; in xilinx_dpdma_chan_alloc_tx_desc() local
638 tx_desc = kzalloc(sizeof(*tx_desc), GFP_NOWAIT); in xilinx_dpdma_chan_alloc_tx_desc()
639 if (!tx_desc) in xilinx_dpdma_chan_alloc_tx_desc()
642 INIT_LIST_HEAD(&tx_desc->descriptors); in xilinx_dpdma_chan_alloc_tx_desc()
643 tx_desc->chan = chan; in xilinx_dpdma_chan_alloc_tx_desc()
644 tx_desc->error = false; in xilinx_dpdma_chan_alloc_tx_desc()
646 return tx_desc; in xilinx_dpdma_chan_alloc_tx_desc()
[all …]
/linux-6.12.1/drivers/spi/ !
Dspi-pxa2xx-dma.c139 struct dma_async_tx_descriptor *tx_desc, *rx_desc; in pxa2xx_spi_dma_prepare() local
142 tx_desc = pxa2xx_spi_dma_prepare_one(drv_data, DMA_MEM_TO_DEV, xfer); in pxa2xx_spi_dma_prepare()
143 if (!tx_desc) { in pxa2xx_spi_dma_prepare()
161 dmaengine_submit(tx_desc); in pxa2xx_spi_dma_prepare()

123456