Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Denh_desc.c123 unsigned int rdes0 = le32_to_cpu(p->basic.des0); in enh_desc_get_ext_status() local
126 if (unlikely(rdes0 & ERDES0_RX_MAC_ADDR)) { in enh_desc_get_ext_status()
188 unsigned int rdes0 = le32_to_cpu(p->des0); in enh_desc_get_rx_status() local
191 if (unlikely(rdes0 & RDES0_OWN)) in enh_desc_get_rx_status()
194 if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) { in enh_desc_get_rx_status()
199 if (unlikely(rdes0 & RDES0_ERROR_SUMMARY)) { in enh_desc_get_rx_status()
200 if (unlikely(rdes0 & RDES0_DESCRIPTOR_ERROR)) { in enh_desc_get_rx_status()
204 if (unlikely(rdes0 & RDES0_OVERFLOW_ERROR)) in enh_desc_get_rx_status()
207 if (unlikely(rdes0 & RDES0_IPC_CSUM_ERROR)) in enh_desc_get_rx_status()
210 if (unlikely(rdes0 & RDES0_COLLISION)) in enh_desc_get_rx_status()
[all …]
Dnorm_desc.c77 unsigned int rdes0 = le32_to_cpu(p->des0); in ndesc_get_rx_status() local
80 if (unlikely(rdes0 & RDES0_OWN)) in ndesc_get_rx_status()
83 if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) { in ndesc_get_rx_status()
88 if (unlikely(rdes0 & RDES0_ERROR_SUMMARY)) { in ndesc_get_rx_status()
89 if (unlikely(rdes0 & RDES0_DESCRIPTOR_ERROR)) in ndesc_get_rx_status()
91 if (unlikely(rdes0 & RDES0_SA_FILTER_FAIL)) in ndesc_get_rx_status()
93 if (unlikely(rdes0 & RDES0_OVERFLOW_ERROR)) in ndesc_get_rx_status()
95 if (unlikely(rdes0 & RDES0_IPC_CSUM_ERROR)) in ndesc_get_rx_status()
97 if (unlikely(rdes0 & RDES0_COLLISION)) { in ndesc_get_rx_status()
101 if (unlikely(rdes0 & RDES0_CRC_ERROR)) { in ndesc_get_rx_status()
[all …]
Ddwmac4_descs.c245 unsigned int rdes0 = le32_to_cpu(p->des0); in dwmac4_rx_check_timestamp() local
256 if ((rdes0 == 0xffffffff) && (rdes1 == 0xffffffff)) in dwmac4_rx_check_timestamp()
/linux-6.1.9/drivers/net/ethernet/dec/tulip/
Duli526x.c113 __le32 rdes0, rdes1, rdes2, rdes3; /* Data for the card */ member
807 u32 rdes0; in uli526x_rx_packet() local
812 rdes0 = le32_to_cpu(rxptr->rdes0); in uli526x_rx_packet()
813 if (rdes0 & 0x80000000) /* packet owner check */ in uli526x_rx_packet()
823 if ( (rdes0 & 0x300) != 0x300) { in uli526x_rx_packet()
826 ULI526X_DBUG(0, "Reuse SK buffer, rdes0", rdes0); in uli526x_rx_packet()
830 rxlen = ( (rdes0 >> 16) & 0x3fff) - 4; in uli526x_rx_packet()
833 if (rdes0 & 0x8000) { in uli526x_rx_packet()
836 if (rdes0 & 1) in uli526x_rx_packet()
838 if (rdes0 & 2) in uli526x_rx_packet()
[all …]
Ddmfe.c193 __le32 rdes0, rdes1, rdes2, rdes3; /* Data for the card */ member
949 u32 rdes0; in dmfe_rx_packet() local
954 rdes0 = le32_to_cpu(rxptr->rdes0); in dmfe_rx_packet()
955 if (rdes0 & 0x80000000) /* packet owner check */ in dmfe_rx_packet()
964 if ( (rdes0 & 0x300) != 0x300) { in dmfe_rx_packet()
967 DMFE_DBUG(0, "Reuse SK buffer, rdes0", rdes0); in dmfe_rx_packet()
971 rxlen = ( (rdes0 >> 16) & 0x3fff) - 4; in dmfe_rx_packet()
974 if (rdes0 & 0x8000) { in dmfe_rx_packet()
977 if (rdes0 & 1) in dmfe_rx_packet()
979 if (rdes0 & 2) in dmfe_rx_packet()
[all …]