Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwxgmac2_descs.c28 unsigned int rdes3 = le32_to_cpu(p->des3); in dwxgmac2_get_rx_status() local
30 if (unlikely(rdes3 & XGMAC_RDES3_OWN)) in dwxgmac2_get_rx_status()
32 if (unlikely(rdes3 & XGMAC_RDES3_CTXT)) in dwxgmac2_get_rx_status()
34 if (likely(!(rdes3 & XGMAC_RDES3_LD))) in dwxgmac2_get_rx_status()
36 if (unlikely((rdes3 & XGMAC_RDES3_ES) && (rdes3 & XGMAC_RDES3_LD))) in dwxgmac2_get_rx_status()
99 unsigned int rdes3 = le32_to_cpu(p->des3); in dwxgmac2_rx_check_timestamp() local
104 desc_valid = !(rdes3 & XGMAC_RDES3_OWN) && (rdes3 & XGMAC_RDES3_CTXT); in dwxgmac2_rx_check_timestamp()
105 ts_valid = !(rdes3 & XGMAC_RDES3_TSD) && (rdes3 & XGMAC_RDES3_TSA); in dwxgmac2_rx_check_timestamp()
120 unsigned int rdes3 = le32_to_cpu(p->des3); in dwxgmac2_get_rx_timestamp_status() local
123 if (likely(rdes3 & XGMAC_RDES3_CDA)) in dwxgmac2_get_rx_timestamp_status()
[all …]
Ddwmac4_descs.c80 unsigned int rdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_rx_status() local
84 if (unlikely(rdes3 & RDES3_OWN)) in dwmac4_wrback_get_rx_status()
87 if (unlikely(rdes3 & RDES3_CONTEXT_DESCRIPTOR)) in dwmac4_wrback_get_rx_status()
89 if (likely(!(rdes3 & RDES3_LAST_DESCRIPTOR))) in dwmac4_wrback_get_rx_status()
92 if (unlikely(rdes3 & RDES3_ERROR_SUMMARY)) { in dwmac4_wrback_get_rx_status()
93 if (unlikely(rdes3 & RDES3_GIANT_PACKET)) in dwmac4_wrback_get_rx_status()
95 if (unlikely(rdes3 & RDES3_OVERFLOW_ERROR)) in dwmac4_wrback_get_rx_status()
98 if (unlikely(rdes3 & RDES3_RECEIVE_WATCHDOG)) in dwmac4_wrback_get_rx_status()
101 if (unlikely(rdes3 & RDES3_RECEIVE_ERROR)) in dwmac4_wrback_get_rx_status()
104 if (unlikely(rdes3 & RDES3_CRC_ERROR)) { in dwmac4_wrback_get_rx_status()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Duli526x.c113 __le32 rdes0, rdes1, rdes2, rdes3; /* Data for the card */ member
1307 tmp_rx->rdes3 = cpu_to_le32(tmp_rx_dma); in uli526x_descriptor_init()
1310 (--tmp_rx)->rdes3 = cpu_to_le32(db->first_rx_desc_dma); in uli526x_descriptor_init()
Ddmfe.c193 __le32 rdes0, rdes1, rdes2, rdes3; /* Data for the card */ member
1404 tmp_rx->rdes3 = cpu_to_le32(tmp_rx_dma); in dmfe_descriptor_init()
1407 (--tmp_rx)->rdes3 = cpu_to_le32(db->first_rx_desc_dma); in dmfe_descriptor_init()