Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Denh_desc.c19 unsigned int tdes0 = le32_to_cpu(p->des0); in enh_desc_get_tx_status() local
23 if (unlikely(tdes0 & ETDES0_OWN)) in enh_desc_get_tx_status()
27 if (likely(!(tdes0 & ETDES0_LAST_SEGMENT))) in enh_desc_get_tx_status()
30 if (unlikely(tdes0 & ETDES0_ERROR_SUMMARY)) { in enh_desc_get_tx_status()
31 if (unlikely(tdes0 & ETDES0_JABBER_TIMEOUT)) in enh_desc_get_tx_status()
34 if (unlikely(tdes0 & ETDES0_FRAME_FLUSHED)) { in enh_desc_get_tx_status()
39 if (unlikely(tdes0 & ETDES0_LOSS_CARRIER)) { in enh_desc_get_tx_status()
43 if (unlikely(tdes0 & ETDES0_NO_CARRIER)) { in enh_desc_get_tx_status()
47 if (unlikely((tdes0 & ETDES0_LATE_COLLISION) || in enh_desc_get_tx_status()
48 (tdes0 & ETDES0_EXCESSIVE_COLLISIONS))) in enh_desc_get_tx_status()
[all …]
Dnorm_desc.c19 unsigned int tdes0 = le32_to_cpu(p->des0); in ndesc_get_tx_status() local
24 if (unlikely(tdes0 & TDES0_OWN)) in ndesc_get_tx_status()
31 if (unlikely(tdes0 & TDES0_ERROR_SUMMARY)) { in ndesc_get_tx_status()
32 if (unlikely(tdes0 & TDES0_UNDERFLOW_ERROR)) { in ndesc_get_tx_status()
36 if (unlikely(tdes0 & TDES0_NO_CARRIER)) { in ndesc_get_tx_status()
40 if (unlikely(tdes0 & TDES0_LOSS_CARRIER)) { in ndesc_get_tx_status()
44 if (unlikely((tdes0 & TDES0_EXCESSIVE_DEFERRAL) || in ndesc_get_tx_status()
45 (tdes0 & TDES0_EXCESSIVE_COLLISIONS) || in ndesc_get_tx_status()
46 (tdes0 & TDES0_LATE_COLLISION))) { in ndesc_get_tx_status()
49 collisions = (tdes0 & TDES0_COLLISION_COUNT_MASK) >> 3; in ndesc_get_tx_status()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Duli526x.c107 __le32 tdes0, tdes1, tdes2, tdes3; /* Data for the card */ member
621 txptr->tdes0 = cpu_to_le32(0x80000000); /* Set owner bit */ in uli526x_start_xmit()
745 u32 tdes0; in uli526x_free_tx_pkt() local
749 tdes0 = le32_to_cpu(txptr->tdes0); in uli526x_free_tx_pkt()
750 if (tdes0 & 0x80000000) in uli526x_free_tx_pkt()
758 if ( tdes0 != 0x7fffffff ) { in uli526x_free_tx_pkt()
759 dev->stats.collisions += (tdes0 >> 3) & 0xf; in uli526x_free_tx_pkt()
761 if (tdes0 & TDES0_ERR_MASK) { in uli526x_free_tx_pkt()
763 if (tdes0 & 0x0002) { /* UnderRun */ in uli526x_free_tx_pkt()
770 if (tdes0 & 0x0100) in uli526x_free_tx_pkt()
[all …]
Ddmfe.c187 __le32 tdes0, tdes1, tdes2, tdes3; /* Data for the card */ member
709 txptr->tdes0 = cpu_to_le32(0x80000000); /* Set owner bit */ in dmfe_start_xmit()
867 u32 tdes0; in dmfe_free_tx_pkt() local
871 tdes0 = le32_to_cpu(txptr->tdes0); in dmfe_free_tx_pkt()
872 if (tdes0 & 0x80000000) in dmfe_free_tx_pkt()
880 if ( tdes0 != 0x7fffffff ) { in dmfe_free_tx_pkt()
881 dev->stats.collisions += (tdes0 >> 3) & 0xf; in dmfe_free_tx_pkt()
883 if (tdes0 & TDES0_ERR_MASK) { in dmfe_free_tx_pkt()
886 if (tdes0 & 0x0002) { /* UnderRun */ in dmfe_free_tx_pkt()
893 if (tdes0 & 0x0100) in dmfe_free_tx_pkt()
[all …]