Home
last modified time | relevance | path

Searched refs:des2 (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dring_mode.c23 unsigned int bmax, len, des2; in jumbo_frm() local
40 des2 = dma_map_single(priv->device, skb->data, bmax, in jumbo_frm()
42 desc->des2 = cpu_to_le32(des2); in jumbo_frm()
43 if (dma_mapping_error(priv->device, des2)) in jumbo_frm()
46 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
50 desc->des3 = cpu_to_le32(des2 + BUF_SIZE_4KiB); in jumbo_frm()
61 des2 = dma_map_single(priv->device, skb->data + bmax, len, in jumbo_frm()
63 desc->des2 = cpu_to_le32(des2); in jumbo_frm()
64 if (dma_mapping_error(priv->device, des2)) in jumbo_frm()
66 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
[all …]
Dchain_mode.c23 unsigned int bmax, des2; in jumbo_frm() local
36 des2 = dma_map_single(priv->device, skb->data, in jumbo_frm()
38 desc->des2 = cpu_to_le32(des2); in jumbo_frm()
39 if (dma_mapping_error(priv->device, des2)) in jumbo_frm()
41 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
53 des2 = dma_map_single(priv->device, in jumbo_frm()
56 desc->des2 = cpu_to_le32(des2); in jumbo_frm()
57 if (dma_mapping_error(priv->device, des2)) in jumbo_frm()
59 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
66 des2 = dma_map_single(priv->device, in jumbo_frm()
[all …]
Ddwxgmac2_descs.c44 return (le32_to_cpu(p->des2) & XGMAC_TDES2_B1L); in dwxgmac2_get_tx_len()
77 p->des2 |= cpu_to_le32(XGMAC_TDES2_TTSE); in dwxgmac2_enable_tx_timestamp()
139 p->des2 = 0; in dwxgmac2_init_tx_desc()
149 p->des2 |= cpu_to_le32(len & XGMAC_TDES2_B1L); in dwxgmac2_prepare_tx_desc()
189 p->des2 |= cpu_to_le32(len1 & XGMAC_TDES2_B1L); in dwxgmac2_prepare_tso_tx_desc()
191 p->des2 |= cpu_to_le32((len2 << XGMAC_TDES2_B2L_SHIFT) & in dwxgmac2_prepare_tso_tx_desc()
225 p->des2 = 0; in dwxgmac2_release_tx_desc()
231 p->des2 |= cpu_to_le32(XGMAC_TDES2_IOC); in dwxgmac2_set_tx_ic()
238 p->des2 = cpu_to_le32(mss); in dwxgmac2_set_mss()
252 p->des2 = 0; in dwxgmac2_clear()
[all …]
Ddwmac4_descs.c77 unsigned int rdes2 = le32_to_cpu(p->des2); in dwmac4_wrback_get_rx_status()
174 return (le32_to_cpu(p->des2) & TDES2_BUFFER1_SIZE_MASK); in dwmac4_rd_get_tx_len()
208 p->des2 |= cpu_to_le32(TDES2_TIMESTAMP_ENABLE); in dwmac4_rd_enable_tx_timestamp()
303 p->des2 = 0; in dwmac4_rd_init_tx_desc()
313 p->des2 |= cpu_to_le32(len & TDES2_BUFFER1_SIZE_MASK); in dwmac4_rd_prepare_tx_desc()
353 p->des2 |= cpu_to_le32((len1 & TDES2_BUFFER1_SIZE_MASK)); in dwmac4_rd_prepare_tso_tx_desc()
356 p->des2 |= cpu_to_le32((len2 << TDES2_BUFFER2_SIZE_MASK_SHIFT) in dwmac4_rd_prepare_tso_tx_desc()
392 p->des2 = 0; in dwmac4_release_tx_desc()
398 p->des2 |= cpu_to_le32(TDES2_INTERRUPT_ON_COMPLETION); in dwmac4_rd_set_tx_ic()
417 le32_to_cpu(p->des2), le32_to_cpu(p->des3)); in dwmac4_display_ring()
[all …]
Dnorm_desc.c170 memset(p, 0, offsetof(struct dma_desc, des2)); in ndesc_release_tx_desc()
246 ns = le32_to_cpu(p->des2); in ndesc_get_timestamp()
257 if ((le32_to_cpu(p->des2) == 0xffffffff) && in ndesc_get_rx_timestamp_status()
282 p->des2, p->des3); in ndesc_display_ring()
290 p->des2 = cpu_to_le32(addr); in ndesc_set_addr()
295 p->des2 = 0; in ndesc_clear()
Denh_desc.c304 memset(p, 0, offsetof(struct dma_desc, des2)); in enh_desc_release_tx_desc()
391 ns = le32_to_cpu(p->des2); in enh_desc_get_timestamp()
406 if ((le32_to_cpu(p->des2) == 0xffffffff) && in enh_desc_get_rx_timestamp_status()
432 ep->basic.des2, ep->basic.des3); in enh_desc_display_ring()
440 p->des2 = cpu_to_le32(addr); in enh_desc_set_addr()
445 p->des2 = 0; in enh_desc_clear()
Ddescs.h161 __le32 des2; member
Dstmmac_main.c6172 le32_to_cpu(ep->basic.des2), in sysfs_display_ring()
6180 le32_to_cpu(p->des2), le32_to_cpu(p->des3)); in sysfs_display_ring()
/linux-6.6.21/arch/arm/boot/dts/ti/omap/
Domap34xx-omap36xx-clocks.dtsi118 des2_ick: clock-des2-ick {
/linux-6.6.21/drivers/mmc/host/
Ddw_mmc.c72 u32 des2; /*Buffer sizes */ member
74 ((d)->des2 = ((d)->des2 & cpu_to_le32(0x03ffe000)) | \
100 __le32 des2; /* buffer 1 physical address */ member
524 p->des2 = 0; in dw_mci_idmac_init()
697 desc->des2 = cpu_to_le32(mem_addr); in dw_mci_prepare_desc32()