Home
last modified time | relevance | path

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

/linux-5.19.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.c82 unsigned int rdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_rx_status() local
86 if (unlikely(rdes3 & RDES3_OWN)) in dwmac4_wrback_get_rx_status()
89 if (unlikely(rdes3 & RDES3_CONTEXT_DESCRIPTOR)) in dwmac4_wrback_get_rx_status()
91 if (likely(!(rdes3 & RDES3_LAST_DESCRIPTOR))) in dwmac4_wrback_get_rx_status()
94 if (unlikely(rdes3 & RDES3_ERROR_SUMMARY)) { in dwmac4_wrback_get_rx_status()
95 if (unlikely(rdes3 & RDES3_GIANT_PACKET)) in dwmac4_wrback_get_rx_status()
97 if (unlikely(rdes3 & RDES3_OVERFLOW_ERROR)) in dwmac4_wrback_get_rx_status()
100 if (unlikely(rdes3 & RDES3_RECEIVE_WATCHDOG)) in dwmac4_wrback_get_rx_status()
103 if (unlikely(rdes3 & RDES3_RECEIVE_ERROR)) in dwmac4_wrback_get_rx_status()
106 if (unlikely(rdes3 & RDES3_CRC_ERROR)) { in dwmac4_wrback_get_rx_status()
[all …]
/linux-5.19.10/drivers/net/ethernet/dec/tulip/
Duli526x.c113 __le32 rdes0, rdes1, rdes2, rdes3; /* Data for the card */ member
1310 tmp_rx->rdes3 = cpu_to_le32(tmp_rx_dma); in uli526x_descriptor_init()
1313 (--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
1403 tmp_rx->rdes3 = cpu_to_le32(tmp_rx_dma); in dmfe_descriptor_init()
1406 (--tmp_rx)->rdes3 = cpu_to_le32(db->first_rx_desc_dma); in dmfe_descriptor_init()