Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Ddwmac4_descs.c21 unsigned int tdes3; in dwmac4_wrback_get_tx_status() local
24 tdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_tx_status()
27 if (unlikely(tdes3 & TDES3_OWN)) in dwmac4_wrback_get_tx_status()
31 if (likely(!(tdes3 & TDES3_LAST_DESCRIPTOR))) in dwmac4_wrback_get_tx_status()
34 if (unlikely(tdes3 & TDES3_ERROR_SUMMARY)) { in dwmac4_wrback_get_tx_status()
37 if (unlikely(tdes3 & TDES3_JABBER_TIMEOUT)) in dwmac4_wrback_get_tx_status()
39 if (unlikely(tdes3 & TDES3_PACKET_FLUSHED)) in dwmac4_wrback_get_tx_status()
41 if (unlikely(tdes3 & TDES3_LOSS_CARRIER)) { in dwmac4_wrback_get_tx_status()
45 if (unlikely(tdes3 & TDES3_NO_CARRIER)) { in dwmac4_wrback_get_tx_status()
49 if (unlikely((tdes3 & TDES3_LATE_COLLISION) || in dwmac4_wrback_get_tx_status()
[all …]
Ddwxgmac2_descs.c14 unsigned int tdes3 = le32_to_cpu(p->des3); in dwxgmac2_get_tx_status() local
17 if (unlikely(tdes3 & XGMAC_TDES3_OWN)) in dwxgmac2_get_tx_status()
19 if (likely(!(tdes3 & XGMAC_TDES3_LD))) in dwxgmac2_get_tx_status()
147 unsigned int tdes3 = le32_to_cpu(p->des3); in dwxgmac2_prepare_tx_desc() local
151 tdes3 |= tot_pkt_len & XGMAC_TDES3_FL; in dwxgmac2_prepare_tx_desc()
153 tdes3 |= XGMAC_TDES3_FD; in dwxgmac2_prepare_tx_desc()
155 tdes3 &= ~XGMAC_TDES3_FD; in dwxgmac2_prepare_tx_desc()
158 tdes3 |= 0x3 << XGMAC_TDES3_CIC_SHIFT; in dwxgmac2_prepare_tx_desc()
160 tdes3 &= ~XGMAC_TDES3_CIC; in dwxgmac2_prepare_tx_desc()
163 tdes3 |= XGMAC_TDES3_LD; in dwxgmac2_prepare_tx_desc()
[all …]
/linux-6.1.9/drivers/net/ethernet/dec/tulip/
Duli526x.c107 __le32 tdes0, tdes1, tdes2, tdes3; /* Data for the card */ member
1296 tmp_tx->tdes3 = cpu_to_le32(tmp_tx_dma); in uli526x_descriptor_init()
1301 (--tmp_tx)->tdes3 = cpu_to_le32(db->first_tx_desc_dma); in uli526x_descriptor_init()
Ddmfe.c187 __le32 tdes0, tdes1, tdes2, tdes3; /* Data for the card */ member
1389 tmp_tx->tdes3 = cpu_to_le32(tmp_tx_dma); in dmfe_descriptor_init()
1394 (--tmp_tx)->tdes3 = cpu_to_le32(db->first_tx_desc_dma); in dmfe_descriptor_init()