Searched refs:des2 (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | ring_mode.c | 33 unsigned int bmax, len, des2; in jumbo_frm() local 50 des2 = dma_map_single(priv->device, skb->data, bmax, in jumbo_frm() 52 desc->des2 = cpu_to_le32(des2); in jumbo_frm() 53 if (dma_mapping_error(priv->device, des2)) in jumbo_frm() 56 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() 60 desc->des3 = cpu_to_le32(des2 + BUF_SIZE_4KiB); in jumbo_frm() 71 des2 = dma_map_single(priv->device, skb->data + bmax, len, in jumbo_frm() 73 desc->des2 = cpu_to_le32(des2); in jumbo_frm() 74 if (dma_mapping_error(priv->device, des2)) in jumbo_frm() 76 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() [all …]
|
D | chain_mode.c | 33 unsigned int bmax, des2; in jumbo_frm() local 46 des2 = dma_map_single(priv->device, skb->data, in jumbo_frm() 48 desc->des2 = cpu_to_le32(des2); in jumbo_frm() 49 if (dma_mapping_error(priv->device, des2)) in jumbo_frm() 51 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() 63 des2 = dma_map_single(priv->device, in jumbo_frm() 66 desc->des2 = cpu_to_le32(des2); in jumbo_frm() 67 if (dma_mapping_error(priv->device, des2)) in jumbo_frm() 69 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() 76 des2 = dma_map_single(priv->device, in jumbo_frm() [all …]
|
D | dwxgmac2_descs.c | 43 return (le32_to_cpu(p->des2) & XGMAC_TDES2_B1L); in dwxgmac2_get_tx_len() 76 p->des2 |= cpu_to_le32(XGMAC_TDES2_TTSE); in dwxgmac2_enable_tx_timestamp() 135 p->des2 = 0; in dwxgmac2_init_tx_desc() 145 p->des2 |= cpu_to_le32(len & XGMAC_TDES2_B1L); in dwxgmac2_prepare_tx_desc() 185 p->des2 |= cpu_to_le32(len1 & XGMAC_TDES2_B1L); in dwxgmac2_prepare_tso_tx_desc() 187 p->des2 |= cpu_to_le32((len2 << XGMAC_TDES2_B2L_SHIFT) & in dwxgmac2_prepare_tso_tx_desc() 221 p->des2 = 0; in dwxgmac2_release_tx_desc() 227 p->des2 |= cpu_to_le32(XGMAC_TDES2_IOC); in dwxgmac2_set_tx_ic() 234 p->des2 = cpu_to_le32(mss); in dwxgmac2_set_mss() 253 p->des2 = 0; in dwxgmac2_clear()
|
D | dwmac4_descs.c | 81 unsigned int rdes2 = le32_to_cpu(p->des2); in dwmac4_wrback_get_rx_status() 179 return (le32_to_cpu(p->des2) & TDES2_BUFFER1_SIZE_MASK); in dwmac4_rd_get_tx_len() 213 p->des2 |= cpu_to_le32(TDES2_TIMESTAMP_ENABLE); in dwmac4_rd_enable_tx_timestamp() 305 p->des2 = 0; in dwmac4_rd_init_tx_desc() 315 p->des2 |= cpu_to_le32(len & TDES2_BUFFER1_SIZE_MASK); in dwmac4_rd_prepare_tx_desc() 355 p->des2 |= cpu_to_le32((len1 & TDES2_BUFFER1_SIZE_MASK)); in dwmac4_rd_prepare_tso_tx_desc() 358 p->des2 |= cpu_to_le32((len2 << TDES2_BUFFER2_SIZE_MASK_SHIFT) in dwmac4_rd_prepare_tso_tx_desc() 394 p->des2 = 0; in dwmac4_release_tx_desc() 400 p->des2 |= cpu_to_le32(TDES2_INTERRUPT_ON_COMPLETION); in dwmac4_rd_set_tx_ic() 414 le32_to_cpu(p->des2), le32_to_cpu(p->des3)); in dwmac4_display_ring() [all …]
|
D | norm_desc.c | 185 memset(p, 0, offsetof(struct dma_desc, des2)); in ndesc_release_tx_desc() 261 ns = le32_to_cpu(p->des2); in ndesc_get_timestamp() 272 if ((le32_to_cpu(p->des2) == 0xffffffff) && in ndesc_get_rx_timestamp_status() 294 p->des2, p->des3); in ndesc_display_ring() 302 *addr = le32_to_cpu(p->des2); in ndesc_get_addr() 307 p->des2 = cpu_to_le32(addr); in ndesc_set_addr() 312 p->des2 = 0; in ndesc_clear()
|
D | enh_desc.c | 309 memset(p, 0, offsetof(struct dma_desc, des2)); in enh_desc_release_tx_desc() 396 ns = le32_to_cpu(p->des2); in enh_desc_get_timestamp() 411 if ((le32_to_cpu(p->des2) == 0xffffffff) && in enh_desc_get_rx_timestamp_status() 434 ep->basic.des2, ep->basic.des3); in enh_desc_display_ring() 442 *addr = le32_to_cpu(p->des2); in enh_desc_get_addr() 447 p->des2 = cpu_to_le32(addr); in enh_desc_set_addr() 452 p->des2 = 0; in enh_desc_clear()
|
D | descs.h | 171 __le32 des2; member
|
D | stmmac_main.c | 3877 le32_to_cpu(ep->basic.des2), in sysfs_display_ring() 3884 le32_to_cpu(p->des2), le32_to_cpu(p->des3)); in sysfs_display_ring()
|
/Linux-v4.19/drivers/mmc/host/ |
D | dw_mmc.c | 74 u32 des2; /*Buffer sizes */ member 76 ((d)->des2 = ((d)->des2 & cpu_to_le32(0x03ffe000)) | \ 102 __le32 des2; /* buffer 1 physical address */ member 545 p->des2 = 0; in dw_mci_idmac_init() 718 desc->des2 = cpu_to_le32(mem_addr); in dw_mci_prepare_desc32()
|