Searched refs:txd_info (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1389 struct mtk_tx_dma_desc_info txd_info = { in mtk_tx_map() local 1419 txd_info.addr = dma_map_single(eth->dma_dev, skb->data, txd_info.size, in mtk_tx_map() 1421 if (unlikely(dma_mapping_error(eth->dma_dev, txd_info.addr))) in mtk_tx_map() 1424 mtk_tx_set_dma_desc(dev, itxd, &txd_info); in mtk_tx_map() 1428 setup_tx_buf(eth, itx_buf, itxd_pdma, txd_info.addr, txd_info.size, in mtk_tx_map() 1455 memset(&txd_info, 0, sizeof(struct mtk_tx_dma_desc_info)); in mtk_tx_map() 1456 txd_info.size = min_t(unsigned int, frag_size, in mtk_tx_map() 1458 txd_info.qid = queue; in mtk_tx_map() 1459 txd_info.last = i == skb_shinfo(skb)->nr_frags - 1 && in mtk_tx_map() 1460 !(frag_size - txd_info.size); in mtk_tx_map() [all …]
|