Lines Matching refs:first_desc
868 struct cppi5_host_desc_t *first_desc, *next_desc;
872 first_desc = desc;
873 next_desc = first_desc;
875 cppi5_hdesc_get_obuf(first_desc, &buf_dma, &buf_dma_len);
880 next_desc_dma = cppi5_hdesc_get_next_hbdesc(first_desc);
894 k3_cppi_desc_pool_free(tx_chn->desc_pool, first_desc);
1029 struct cppi5_host_desc_t *first_desc, *next_desc, *cur_desc;
1062 first_desc = k3_cppi_desc_pool_alloc(tx_chn->desc_pool);
1063 if (!first_desc) {
1069 cppi5_hdesc_init(first_desc, CPPI5_INFO0_HDESC_EPIB_PRESENT,
1071 cppi5_desc_set_pktids(&first_desc->hdr, 0, 0x3FFF);
1072 cppi5_hdesc_set_pkttype(first_desc, 0x7);
1073 cppi5_desc_set_tags_ids(&first_desc->hdr, 0, port->port_id);
1075 cppi5_hdesc_attach_buf(first_desc, buf_dma, pkt_len, buf_dma, pkt_len);
1076 swdata = cppi5_hdesc_get_swdata(first_desc);
1078 psdata = cppi5_hdesc_get_psdata(first_desc);
1099 cur_desc = first_desc;
1138 cppi5_hdesc_set_pktlen(first_desc, pkt_len);
1139 desc_dma = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool, first_desc);
1140 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma);
1166 am65_cpsw_nuss_xmit_free(tx_chn, dev, first_desc);
1173 am65_cpsw_nuss_xmit_free(tx_chn, dev, first_desc);