Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c243 unsigned int rdes0 = le32_to_cpu(p->des0); in dwmac4_rx_check_timestamp() local
254 if ((rdes0 == 0xffffffff) && (rdes1 == 0xffffffff)) in dwmac4_rx_check_timestamp()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Duli526x.c113 __le32 rdes0, rdes1, rdes2, rdes3; /* Data for the card */ member
804 u32 rdes0; in uli526x_rx_packet() local
809 rdes0 = le32_to_cpu(rxptr->rdes0); in uli526x_rx_packet()
810 if (rdes0 & 0x80000000) /* packet owner check */ in uli526x_rx_packet()
820 if ( (rdes0 & 0x300) != 0x300) { in uli526x_rx_packet()
823 ULI526X_DBUG(0, "Reuse SK buffer, rdes0", rdes0); in uli526x_rx_packet()
827 rxlen = ( (rdes0 >> 16) & 0x3fff) - 4; in uli526x_rx_packet()
830 if (rdes0 & 0x8000) { in uli526x_rx_packet()
833 if (rdes0 & 1) in uli526x_rx_packet()
835 if (rdes0 & 2) in uli526x_rx_packet()
[all …]
Ddmfe.c193 __le32 rdes0, rdes1, rdes2, rdes3; /* Data for the card */ member
950 u32 rdes0; in dmfe_rx_packet() local
955 rdes0 = le32_to_cpu(rxptr->rdes0); in dmfe_rx_packet()
956 if (rdes0 & 0x80000000) /* packet owner check */ in dmfe_rx_packet()
965 if ( (rdes0 & 0x300) != 0x300) { in dmfe_rx_packet()
968 DMFE_DBUG(0, "Reuse SK buffer, rdes0", rdes0); in dmfe_rx_packet()
972 rxlen = ( (rdes0 >> 16) & 0x3fff) - 4; in dmfe_rx_packet()
975 if (rdes0 & 0x8000) { in dmfe_rx_packet()
978 if (rdes0 & 1) in dmfe_rx_packet()
980 if (rdes0 & 2) in dmfe_rx_packet()
[all …]