Lines Matching refs:first_desc

553 	struct cppi5_host_desc_t *first_desc, *next_desc;  in am65_cpsw_nuss_xmit_free()  local
557 first_desc = desc; in am65_cpsw_nuss_xmit_free()
558 next_desc = first_desc; in am65_cpsw_nuss_xmit_free()
560 cppi5_hdesc_get_obuf(first_desc, &buf_dma, &buf_dma_len); in am65_cpsw_nuss_xmit_free()
565 next_desc_dma = cppi5_hdesc_get_next_hbdesc(first_desc); in am65_cpsw_nuss_xmit_free()
582 k3_cppi_desc_pool_free(tx_chn->desc_pool, first_desc); in am65_cpsw_nuss_xmit_free()
1573 struct cppi5_host_desc_t *first_desc, *next_desc, *cur_desc; in am65_cpsw_nuss_ndo_slave_xmit() local
1606 first_desc = k3_cppi_desc_pool_alloc(tx_chn->desc_pool); in am65_cpsw_nuss_ndo_slave_xmit()
1607 if (!first_desc) { in am65_cpsw_nuss_ndo_slave_xmit()
1614 am65_cpsw_nuss_set_buf_type(tx_chn, first_desc, in am65_cpsw_nuss_ndo_slave_xmit()
1617 cppi5_hdesc_init(first_desc, CPPI5_INFO0_HDESC_EPIB_PRESENT, in am65_cpsw_nuss_ndo_slave_xmit()
1619 cppi5_desc_set_pktids(&first_desc->hdr, 0, AM65_CPSW_CPPI_TX_FLOW_ID); in am65_cpsw_nuss_ndo_slave_xmit()
1620 cppi5_hdesc_set_pkttype(first_desc, AM65_CPSW_CPPI_TX_PKT_TYPE); in am65_cpsw_nuss_ndo_slave_xmit()
1621 cppi5_desc_set_tags_ids(&first_desc->hdr, 0, port->port_id); in am65_cpsw_nuss_ndo_slave_xmit()
1624 cppi5_hdesc_attach_buf(first_desc, buf_dma, pkt_len, buf_dma, pkt_len); in am65_cpsw_nuss_ndo_slave_xmit()
1625 swdata = cppi5_hdesc_get_swdata(first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1627 psdata = cppi5_hdesc_get_psdata(first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1648 cur_desc = first_desc; in am65_cpsw_nuss_ndo_slave_xmit()
1692 cppi5_hdesc_set_pktlen(first_desc, pkt_len); in am65_cpsw_nuss_ndo_slave_xmit()
1693 desc_dma = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool, first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1695 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma); in am65_cpsw_nuss_ndo_slave_xmit()
1698 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma); in am65_cpsw_nuss_ndo_slave_xmit()
1726 am65_cpsw_nuss_xmit_free(tx_chn, first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1733 am65_cpsw_nuss_xmit_free(tx_chn, first_desc); in am65_cpsw_nuss_ndo_slave_xmit()