Searched refs:des1 (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | descs_com.h | 26 p->des1 |= cpu_to_le32((BUF_SIZE_8KiB in ehn_desc_rx_set_on_ring() 31 p->des1 |= cpu_to_le32(ERDES1_END_RING); in ehn_desc_rx_set_on_ring() 45 p->des1 |= cpu_to_le32((((len - BUF_SIZE_4KiB) in enh_set_tx_desc_len_on_ring() 50 p->des1 |= cpu_to_le32((len & ETDES1_BUFFER1_SIZE_MASK)); in enh_set_tx_desc_len_on_ring() 60 p->des1 |= cpu_to_le32((bfsize2 << RDES1_BUFFER2_SIZE_SHIFT) in ndesc_rx_set_on_ring() 65 p->des1 |= cpu_to_le32(RDES1_END_RING); in ndesc_rx_set_on_ring() 71 p->des1 |= cpu_to_le32(TDES1_END_RING); in ndesc_end_tx_desc_on_ring() 73 p->des1 &= cpu_to_le32(~TDES1_END_RING); in ndesc_end_tx_desc_on_ring() 81 p->des1 |= cpu_to_le32((((len - buffer1) in norm_set_tx_desc_len_on_ring() 85 p->des1 |= cpu_to_le32((len & TDES1_BUFFER1_SIZE_MASK)); in norm_set_tx_desc_len_on_ring() [all …]
|
D | norm_desc.c | 20 unsigned int tdes1 = le32_to_cpu(p->des1); in ndesc_get_tx_status() 66 return (le32_to_cpu(p->des1) & RDES1_BUFFER1_SIZE_MASK); in ndesc_get_tx_len() 133 p->des1 |= cpu_to_le32(bfsize1 & RDES1_BUFFER1_SIZE_MASK); in ndesc_init_rx_desc() 141 p->des1 |= cpu_to_le32(RDES1_DISABLE_IC); in ndesc_init_rx_desc() 170 return (le32_to_cpu(p->des1) & TDES1_LAST_SEGMENT) >> 30; in ndesc_get_tx_ls() 175 int ter = (le32_to_cpu(p->des1) & TDES1_END_RING) >> 25; in ndesc_release_tx_desc() 188 unsigned int tdes1 = le32_to_cpu(p->des1); in ndesc_prepare_tx_desc() 203 p->des1 = cpu_to_le32(tdes1); in ndesc_prepare_tx_desc() 216 p->des1 |= cpu_to_le32(TDES1_INTERRUPT); in ndesc_set_tx_ic() 240 p->des1 |= cpu_to_le32(TDES1_TIME_STAMP_ENABLE); in ndesc_enable_tx_timestamp()
|
D | dwmac4_descs.c | 78 unsigned int rdes1 = le32_to_cpu(p->des1); in dwmac4_wrback_get_rx_status() 235 ns += le32_to_cpu(p->des1) * 1000000000ULL; in dwmac4_get_timestamp() 244 unsigned int rdes1 = le32_to_cpu(p->des1); in dwmac4_rx_check_timestamp() 274 if (likely(le32_to_cpu(p->des1) & RDES1_TIMESTAMP_AVAILABLE)) { in dwmac4_wrback_get_rx_timestamp_status() 306 p->des1 = 0; in dwmac4_rd_init_tx_desc() 395 p->des1 = 0; in dwmac4_release_tx_desc() 420 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in dwmac4_display_ring() 431 le32_to_cpu(extp->basic.des0), le32_to_cpu(extp->basic.des1), in dwmac4_display_ring() 446 le32_to_cpu(ep->basic.des0), le32_to_cpu(ep->basic.des1), in dwmac4_display_ring() 458 p->des1 = 0; in dwmac4_set_mss_ctxt() [all …]
|
D | dwxgmac2_descs.c | 90 ns += le32_to_cpu(p->des1) * 1000000000ULL; in dwxgmac2_get_timestamp() 108 if ((p->des0 == 0xffffffff) && (p->des1 == 0xffffffff)) in dwxgmac2_rx_check_timestamp() 138 p->des1 = 0; in dwxgmac2_init_tx_desc() 224 p->des1 = 0; in dwxgmac2_release_tx_desc() 237 p->des1 = 0; in dwxgmac2_set_mss() 250 p->des1 = cpu_to_le32(upper_32_bits(addr)); in dwxgmac2_set_addr() 256 p->des1 = 0; in dwxgmac2_clear() 282 *hash = le32_to_cpu(p->des1); in dwxgmac2_get_rx_hash() 312 p->des1 = 0; in dwxgmac2_set_vlan_tag()
|
D | enh_desc.c | 84 return (le32_to_cpu(p->des1) & ETDES1_BUFFER1_SIZE_MASK); in enh_desc_get_tx_len() 265 p->des1 |= cpu_to_le32(bfsize1 & 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()
|
D | descs.h | 160 __le32 des1; member
|
D | stmmac_main.c | 3239 first->des1 = cpu_to_le32(des + proto_hdr_len); in stmmac_tso_xmit() 4393 le32_to_cpu(ep->basic.des1), in sysfs_display_ring() 4401 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in sysfs_display_ring()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | dw_mmc.c | 68 u32 des1; /* Reserved */ member 94 __le32 des1; /* Buffer sizes */ member 96 ((d)->des1 = ((d)->des1 & cpu_to_le32(0x03ffe000)) | (cpu_to_le32((s) & 0x1fff))) 518 p->des1 = 0; in dw_mci_idmac_init() 541 p->des1 = 0; in dw_mci_idmac_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
D | de4x5.c | 760 __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()
|