Lines Matching refs:trxd
2024 struct mtk_rx_dma_v2 *rxd, trxd; in mtk_poll_rx() local
2043 if (!mtk_rx_get_desc(eth, &trxd, rxd)) in mtk_poll_rx()
2048 u32 val = RX_DMA_GET_SPORT_V2(trxd.rxd5); in mtk_poll_rx()
2062 !(trxd.rxd4 & RX_DMA_SPECIAL_TAG)) { in mtk_poll_rx()
2063 mac = RX_DMA_GET_SPORT(trxd.rxd4) - 1; in mtk_poll_rx()
2076 pktlen = RX_DMA_GET_PLEN0(trxd.rxd2); in mtk_poll_rx()
2141 addr64 = RX_DMA_GET_ADDR64(trxd.rxd2); in mtk_poll_rx()
2143 dma_unmap_single(eth->dma_dev, ((u64)trxd.rxd1 | addr64), in mtk_poll_rx()
2161 reason = FIELD_GET(MTK_RXD5_PPE_CPU_REASON, trxd.rxd5); in mtk_poll_rx()
2162 hash = trxd.rxd5 & MTK_RXD5_FOE_ENTRY; in mtk_poll_rx()
2166 rxdcsum = &trxd.rxd3; in mtk_poll_rx()
2168 reason = FIELD_GET(MTK_RXD4_PPE_CPU_REASON, trxd.rxd4); in mtk_poll_rx()
2169 hash = trxd.rxd4 & MTK_RXD4_FOE_ENTRY; in mtk_poll_rx()
2173 rxdcsum = &trxd.rxd4; in mtk_poll_rx()
2185 if (mtk_is_netsys_v1(eth) && (trxd.rxd2 & RX_DMA_VTAG) && in mtk_poll_rx()
2187 unsigned int port = RX_DMA_VPID(trxd.rxd3) & GENMASK(2, 0); in mtk_poll_rx()