Lines Matching refs:trxd
1791 struct mtk_rx_dma_v2 *rxd, trxd; in mtk_poll_rx() local
1809 if (!mtk_rx_get_desc(eth, &trxd, rxd)) in mtk_poll_rx()
1814 mac = RX_DMA_GET_SPORT_V2(trxd.rxd5) - 1; in mtk_poll_rx()
1816 !(trxd.rxd4 & RX_DMA_SPECIAL_TAG)) in mtk_poll_rx()
1817 mac = RX_DMA_GET_SPORT(trxd.rxd4) - 1; in mtk_poll_rx()
1828 pktlen = RX_DMA_GET_PLEN0(trxd.rxd2); in mtk_poll_rx()
1892 dma_unmap_single(eth->dma_dev, trxd.rxd1, in mtk_poll_rx()
1910 reason = FIELD_GET(MTK_RXD5_PPE_CPU_REASON, trxd.rxd5); in mtk_poll_rx()
1911 hash = trxd.rxd5 & MTK_RXD5_FOE_ENTRY; in mtk_poll_rx()
1915 rxdcsum = &trxd.rxd3; in mtk_poll_rx()
1917 reason = FIELD_GET(MTK_RXD4_PPE_CPU_REASON, trxd.rxd4); in mtk_poll_rx()
1918 hash = trxd.rxd4 & MTK_RXD4_FOE_ENTRY; in mtk_poll_rx()
1922 rxdcsum = &trxd.rxd4; in mtk_poll_rx()
1936 if (trxd.rxd3 & RX_DMA_VTAG_V2) in mtk_poll_rx()
1938 htons(RX_DMA_VPID(trxd.rxd4)), in mtk_poll_rx()
1939 RX_DMA_VID(trxd.rxd4)); in mtk_poll_rx()
1940 } else if (trxd.rxd2 & RX_DMA_VTAG) { in mtk_poll_rx()
1942 RX_DMA_VID(trxd.rxd3)); in mtk_poll_rx()