Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Denh_desc.c120 unsigned int rdes0 = le32_to_cpu(p->basic.des0); in enh_desc_get_ext_status() local
123 if (unlikely(rdes0 & ERDES0_RX_MAC_ADDR)) { in enh_desc_get_ext_status()
184 unsigned int rdes0 = le32_to_cpu(p->des0); in enh_desc_get_rx_status() local
187 if (unlikely(rdes0 & RDES0_OWN)) in enh_desc_get_rx_status()
190 if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) { in enh_desc_get_rx_status()
195 if (unlikely(rdes0 & RDES0_ERROR_SUMMARY)) { in enh_desc_get_rx_status()
196 if (unlikely(rdes0 & RDES0_DESCRIPTOR_ERROR)) { in enh_desc_get_rx_status()
200 if (unlikely(rdes0 & RDES0_OVERFLOW_ERROR)) in enh_desc_get_rx_status()
203 if (unlikely(rdes0 & RDES0_IPC_CSUM_ERROR)) in enh_desc_get_rx_status()
206 if (unlikely(rdes0 & RDES0_COLLISION)) in enh_desc_get_rx_status()
[all …]
Dnorm_desc.c73 unsigned int rdes0 = le32_to_cpu(p->des0); in ndesc_get_rx_status() local
75 if (unlikely(rdes0 & RDES0_OWN)) in ndesc_get_rx_status()
78 if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) { in ndesc_get_rx_status()
83 if (unlikely(rdes0 & RDES0_ERROR_SUMMARY)) { in ndesc_get_rx_status()
84 if (unlikely(rdes0 & RDES0_DESCRIPTOR_ERROR)) in ndesc_get_rx_status()
86 if (unlikely(rdes0 & RDES0_SA_FILTER_FAIL)) in ndesc_get_rx_status()
88 if (unlikely(rdes0 & RDES0_OVERFLOW_ERROR)) in ndesc_get_rx_status()
90 if (unlikely(rdes0 & RDES0_IPC_CSUM_ERROR)) in ndesc_get_rx_status()
92 if (unlikely(rdes0 & RDES0_COLLISION)) { in ndesc_get_rx_status()
95 if (unlikely(rdes0 & RDES0_CRC_ERROR)) { in ndesc_get_rx_status()
[all …]
Ddwmac4_descs.c239 unsigned int rdes0 = le32_to_cpu(p->des0); in dwmac4_rx_check_timestamp() local
250 if ((rdes0 == 0xffffffff) && (rdes1 == 0xffffffff)) in dwmac4_rx_check_timestamp()
/linux-6.6.21/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 …]