Lines Matching defs:first_desc
534 struct cppi5_host_desc_t *first_desc, *next_desc;
538 first_desc = desc;
539 next_desc = first_desc;
541 cppi5_hdesc_get_obuf(first_desc, &buf_dma, &buf_dma_len);
546 next_desc_dma = cppi5_hdesc_get_next_hbdesc(first_desc);
563 k3_cppi_desc_pool_free(tx_chn->desc_pool, first_desc);
1538 struct cppi5_host_desc_t *first_desc, *next_desc, *cur_desc;
1571 first_desc = k3_cppi_desc_pool_alloc(tx_chn->desc_pool);
1572 if (!first_desc) {
1579 am65_cpsw_nuss_set_buf_type(tx_chn, first_desc,
1582 cppi5_hdesc_init(first_desc, CPPI5_INFO0_HDESC_EPIB_PRESENT,
1584 cppi5_desc_set_pktids(&first_desc->hdr, 0, AM65_CPSW_CPPI_TX_FLOW_ID);
1585 cppi5_hdesc_set_pkttype(first_desc, AM65_CPSW_CPPI_TX_PKT_TYPE);
1586 cppi5_desc_set_tags_ids(&first_desc->hdr, 0, port->port_id);
1589 cppi5_hdesc_attach_buf(first_desc, buf_dma, pkt_len, buf_dma, pkt_len);
1590 swdata = cppi5_hdesc_get_swdata(first_desc);
1592 psdata = cppi5_hdesc_get_psdata(first_desc);
1613 cur_desc = first_desc;
1657 cppi5_hdesc_set_pktlen(first_desc, pkt_len);
1658 desc_dma = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool, first_desc);
1660 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma);
1663 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma);
1691 am65_cpsw_nuss_xmit_free(tx_chn, first_desc);
1698 am65_cpsw_nuss_xmit_free(tx_chn, first_desc);