Home
last modified time | relevance | path

Searched refs:des1 (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddescs_com.h34 p->des1 |= cpu_to_le32(((BUF_SIZE_8KiB - 1) in ehn_desc_rx_set_on_ring()
39 p->des1 |= cpu_to_le32(ERDES1_END_RING); in ehn_desc_rx_set_on_ring()
53 p->des1 |= cpu_to_le32((((len - BUF_SIZE_4KiB) in enh_set_tx_desc_len_on_ring()
58 p->des1 |= cpu_to_le32((len & ETDES1_BUFFER1_SIZE_MASK)); in enh_set_tx_desc_len_on_ring()
64 p->des1 |= cpu_to_le32(((BUF_SIZE_2KiB - 1) in ndesc_rx_set_on_ring()
69 p->des1 |= cpu_to_le32(RDES1_END_RING); in ndesc_rx_set_on_ring()
75 p->des1 |= cpu_to_le32(TDES1_END_RING); in ndesc_end_tx_desc_on_ring()
77 p->des1 &= cpu_to_le32(~TDES1_END_RING); in ndesc_end_tx_desc_on_ring()
85 p->des1 |= cpu_to_le32((((len - buffer1) in norm_set_tx_desc_len_on_ring()
89 p->des1 |= cpu_to_le32((len & TDES1_BUFFER1_SIZE_MASK)); in norm_set_tx_desc_len_on_ring()
[all …]
Dnorm_desc.c30 unsigned int tdes1 = le32_to_cpu(p->des1); in ndesc_get_tx_status()
76 return (le32_to_cpu(p->des1) & RDES1_BUFFER1_SIZE_MASK); in ndesc_get_tx_len()
141 p->des1 |= cpu_to_le32((BUF_SIZE_2KiB - 1) & RDES1_BUFFER1_SIZE_MASK); in ndesc_init_rx_desc()
149 p->des1 |= cpu_to_le32(RDES1_DISABLE_IC); in ndesc_init_rx_desc()
178 return (le32_to_cpu(p->des1) & TDES1_LAST_SEGMENT) >> 30; in ndesc_get_tx_ls()
183 int ter = (le32_to_cpu(p->des1) & TDES1_END_RING) >> 25; in ndesc_release_tx_desc()
196 unsigned int tdes1 = le32_to_cpu(p->des1); in ndesc_prepare_tx_desc()
211 p->des1 = cpu_to_le32(tdes1); in ndesc_prepare_tx_desc()
224 p->des1 |= cpu_to_le32(TDES1_INTERRUPT); in ndesc_set_tx_ic()
248 p->des1 |= cpu_to_le32(TDES1_TIME_STAMP_ENABLE); in ndesc_enable_tx_timestamp()
Ddwmac4_descs.c80 unsigned int rdes1 = le32_to_cpu(p->des1); in dwmac4_wrback_get_rx_status()
236 ns += le32_to_cpu(p->des1) * 1000000000ULL; in dwmac4_get_timestamp()
252 if ((p->des0 == 0xffffffff) && (p->des1 == 0xffffffff)) in dwmac4_rx_check_timestamp()
272 if (likely(le32_to_cpu(p->des1) & RDES1_TIMESTAMP_AVAILABLE)) { in dwmac4_wrback_get_rx_timestamp_status()
304 p->des1 = 0; in dwmac4_rd_init_tx_desc()
393 p->des1 = 0; in dwmac4_release_tx_desc()
413 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in dwmac4_display_ring()
422 p->des1 = 0; in dwmac4_set_mss_ctxt()
435 p->des1 = 0; in dwmac4_set_addr()
441 p->des1 = 0; in dwmac4_clear()
Ddwxgmac2_descs.c89 ns += le32_to_cpu(p->des1) * 1000000000ULL; in dwxgmac2_get_timestamp()
134 p->des1 = 0; in dwxgmac2_init_tx_desc()
220 p->des1 = 0; in dwxgmac2_release_tx_desc()
233 p->des1 = 0; in dwxgmac2_set_mss()
246 p->des1 = 0; in dwxgmac2_set_addr()
252 p->des1 = 0; in dwxgmac2_clear()
Denh_desc.c94 return (le32_to_cpu(p->des1) & ETDES1_BUFFER1_SIZE_MASK); in enh_desc_get_tx_len()
265 p->des1 |= cpu_to_le32((BUF_SIZE_8KiB - 1) & ERDES1_BUFFER1_SIZE_MASK); in enh_desc_init_rx_desc()
273 p->des1 |= cpu_to_le32(ERDES1_DISABLE_IC); in enh_desc_init_rx_desc()
Ddescs.h170 __le32 des1; member
Dstmmac_main.c2902 first->des1 = cpu_to_le32(des + proto_hdr_len); in stmmac_tso_xmit()
3876 le32_to_cpu(ep->basic.des1), in sysfs_display_ring()
3883 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in sysfs_display_ring()
/Linux-v4.19/drivers/mmc/host/
Ddw_mmc.c72 u32 des1; /* Reserved */ member
98 __le32 des1; /* Buffer sizes */ member
100 ((d)->des1 = ((d)->des1 & cpu_to_le32(0x03ffe000)) | (cpu_to_le32((s) & 0x1fff)))
544 p->des1 = 0; in dw_mci_idmac_init()
567 p->des1 = 0; in dw_mci_idmac_init()
/Linux-v4.19/drivers/net/ethernet/dec/tulip/
Dde4x5.c760 __le32 des1; member
1187 lp->rx_ring[i].des1 = cpu_to_le32(RX_BUFF_SZ); in de4x5_hw_init()
1204 lp->rx_ring[i].des1 = cpu_to_le32(RX_BUFF_SZ); in de4x5_hw_init()
1220 lp->rx_ring[lp->rxRingSize - 1].des1 |= cpu_to_le32(RD_RER); in de4x5_hw_init()
1221 lp->tx_ring[lp->txRingSize - 1].des1 |= cpu_to_le32(TD_TER); in de4x5_hw_init()
1680 le32_to_cpu(lp->tx_ring[entry].des1) & TD_TBS1, in de4x5_free_tx_buff()
1903 lp->tx_ring[lp->tx_new].des1 &= cpu_to_le32(TD_TER); in load_packet()
1904 lp->tx_ring[lp->tx_new].des1 |= cpu_to_le32(flags); in load_packet()
1906 lp->tx_ring[entry].des1 &= cpu_to_le32(~TD_IC); in load_packet()