Home
last modified time | relevance | path

Searched refs:txd_info (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1407 struct mtk_tx_dma_desc_info txd_info = { in mtk_tx_map() local
1437 txd_info.addr = dma_map_single(eth->dma_dev, skb->data, txd_info.size, in mtk_tx_map()
1439 if (unlikely(dma_mapping_error(eth->dma_dev, txd_info.addr))) in mtk_tx_map()
1442 mtk_tx_set_dma_desc(dev, itxd, &txd_info); in mtk_tx_map()
1446 setup_tx_buf(eth, itx_buf, itxd_pdma, txd_info.addr, txd_info.size, in mtk_tx_map()
1473 memset(&txd_info, 0, sizeof(struct mtk_tx_dma_desc_info)); in mtk_tx_map()
1474 txd_info.size = min_t(unsigned int, frag_size, in mtk_tx_map()
1476 txd_info.qid = queue; in mtk_tx_map()
1477 txd_info.last = i == skb_shinfo(skb)->nr_frags - 1 && in mtk_tx_map()
1478 !(frag_size - txd_info.size); in mtk_tx_map()
[all …]