Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/net/ethernet/dec/tulip/
Duli526x.c107 __le32 tdes0, tdes1, tdes2, tdes3; /* Data for the card */ member
624 txptr->tdes0 = cpu_to_le32(0x80000000); /* Set owner bit */ in uli526x_start_xmit()
748 u32 tdes0; in uli526x_free_tx_pkt() local
752 tdes0 = le32_to_cpu(txptr->tdes0); in uli526x_free_tx_pkt()
753 if (tdes0 & 0x80000000) in uli526x_free_tx_pkt()
761 if ( tdes0 != 0x7fffffff ) { in uli526x_free_tx_pkt()
762 dev->stats.collisions += (tdes0 >> 3) & 0xf; in uli526x_free_tx_pkt()
764 if (tdes0 & TDES0_ERR_MASK) { in uli526x_free_tx_pkt()
766 if (tdes0 & 0x0002) { /* UnderRun */ in uli526x_free_tx_pkt()
773 if (tdes0 & 0x0100) in uli526x_free_tx_pkt()
[all …]
Ddmfe.c187 __le32 tdes0, tdes1, tdes2, tdes3; /* Data for the card */ member
708 txptr->tdes0 = cpu_to_le32(0x80000000); /* Set owner bit */ in dmfe_start_xmit()
866 u32 tdes0; in dmfe_free_tx_pkt() local
870 tdes0 = le32_to_cpu(txptr->tdes0); in dmfe_free_tx_pkt()
871 if (tdes0 & 0x80000000) in dmfe_free_tx_pkt()
879 if ( tdes0 != 0x7fffffff ) { in dmfe_free_tx_pkt()
880 dev->stats.collisions += (tdes0 >> 3) & 0xf; in dmfe_free_tx_pkt()
882 if (tdes0 & TDES0_ERR_MASK) { in dmfe_free_tx_pkt()
885 if (tdes0 & 0x0002) { /* UnderRun */ in dmfe_free_tx_pkt()
892 if (tdes0 & 0x0100) in dmfe_free_tx_pkt()
[all …]