Searched refs:des1 (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A 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 …]
|
H A D | norm_desc.c | 19 unsigned int tdes1 = le32_to_cpu(p->des1); in ndesc_get_tx_status() 62 return (le32_to_cpu(p->des1) & RDES1_BUFFER1_SIZE_MASK); in ndesc_get_tx_len() 126 p->des1 |= cpu_to_le32(bfsize1 & RDES1_BUFFER1_SIZE_MASK); in ndesc_init_rx_desc() 134 p->des1 |= cpu_to_le32(RDES1_DISABLE_IC); in ndesc_init_rx_desc() 163 return (le32_to_cpu(p->des1) & TDES1_LAST_SEGMENT) >> 30; in ndesc_get_tx_ls() 168 int ter = (le32_to_cpu(p->des1) & TDES1_END_RING) >> 25; in ndesc_release_tx_desc() 181 unsigned int tdes1 = le32_to_cpu(p->des1); in ndesc_prepare_tx_desc() 196 p->des1 = cpu_to_le32(tdes1); in ndesc_prepare_tx_desc() 209 p->des1 |= cpu_to_le32(TDES1_INTERRUPT); in ndesc_set_tx_ic() 233 p->des1 |= cpu_to_le32(TDES1_TIME_STAMP_ENABLE); in ndesc_enable_tx_timestamp()
|
H A 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() 245 p->des1 = cpu_to_le32(upper_32_bits(addr)); in dwxgmac2_set_addr() 251 p->des1 = 0; in dwxgmac2_clear() 277 *hash = le32_to_cpu(p->des1); in dwxgmac2_get_rx_hash() 307 p->des1 = 0; in dwxgmac2_set_vlan_tag()
|
H A D | dwmac4_descs.c | 76 unsigned int rdes1 = le32_to_cpu(p->des1); in dwmac4_wrback_get_rx_status() 231 ns += le32_to_cpu(p->des1) * 1000000000ULL; in dwmac4_get_timestamp() 240 unsigned int rdes1 = le32_to_cpu(p->des1); in dwmac4_rx_check_timestamp() 270 if (likely(le32_to_cpu(p->des1) & RDES1_TIMESTAMP_AVAILABLE)) { in dwmac4_wrback_get_rx_timestamp_status() 302 p->des1 = 0; in dwmac4_rd_init_tx_desc() 391 p->des1 = 0; in dwmac4_release_tx_desc() 416 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in dwmac4_display_ring() 427 le32_to_cpu(extp->basic.des0), le32_to_cpu(extp->basic.des1), in dwmac4_display_ring() 442 le32_to_cpu(ep->basic.des0), le32_to_cpu(ep->basic.des1), in dwmac4_display_ring() 454 p->des1 = 0; in dwmac4_set_mss_ctxt() [all …]
|
H A D | enh_desc.c | 81 return (le32_to_cpu(p->des1) & ETDES1_BUFFER1_SIZE_MASK); in enh_desc_get_tx_len() 260 p->des1 |= cpu_to_le32(bfsize1 & ERDES1_BUFFER1_SIZE_MASK); in enh_desc_init_rx_desc() 268 p->des1 |= cpu_to_le32(ERDES1_DISABLE_IC); in enh_desc_init_rx_desc()
|
H A D | descs.h | 160 __le32 des1; member
|
H A D | stmmac_main.c | 4205 first->des1 = cpu_to_le32(des + proto_hdr_len); in stmmac_tso_xmit() 6170 le32_to_cpu(ep->basic.des1), in sysfs_display_ring() 6178 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in sysfs_display_ring()
|
/openbmc/u-boot/drivers/net/ |
H A D | dc2114x.c | 129 u32 des1; member 332 rx_ring[i].des1 = cpu_to_le32(RX_BUFF_SZ); in dc21x4x_init() 345 tx_ring[i].des1 = 0; in dc21x4x_init() 359 rx_ring[rxRingSize - 1].des1 |= cpu_to_le32(RD_RER); in dc21x4x_init() 360 tx_ring[txRingSize - 1].des1 |= cpu_to_le32(TD_TER); in dc21x4x_init() 394 tx_ring[tx_new].des1 = cpu_to_le32(TD_TER | TD_LS | TD_FS | length); in dc21x4x_send() 501 tx_ring[tx_new].des1 = cpu_to_le32(TD_TER | TD_SET| SETUP_FRAME_LEN); in send_setup_frame()
|
H A D | dwc_eth_qos.c | 251 u32 des1; member 1198 tx_desc->des1 = 0; in eqos_send() 1264 rx_desc->des1 = 0; in eqos_free_pkt()
|
/openbmc/qemu/hw/net/ |
H A D | ftgmac100.c | 219 uint32_t des1; member 477 bd->des1 = le32_to_cpu(bd->des1); in ftgmac100_read_bd() 488 lebd.des1 = cpu_to_le32(bd->des1); in ftgmac100_write_bd() 556 flags = bd.des1; in ftgmac100_do_tx() 1106 bd.des1 = lduw_be_p(buf + 14) | FTGMAC100_RXDES1_VLANTAG_AVAIL; in ftgmac100_receive() 1119 bd.des1 = 0; in ftgmac100_receive()
|
H A D | trace-events | 479 npcm_gmac_debug_desc_data(const char* name, void* addr, uint32_t des0, uint32_t des1, uint32_t des2…
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap34xx-omap36xx-clocks.dtsi | 46 des1_ick: clock-des1-ick {
|
/openbmc/linux/drivers/mmc/host/ |
H A D | dw_mmc.c | 70 u32 des1; /* Reserved */ member 96 __le32 des1; /* Buffer sizes */ member 98 ((d)->des1 = ((d)->des1 & cpu_to_le32(0x03ffe000)) | (cpu_to_le32((s) & 0x1fff))) 523 p->des1 = 0; in dw_mci_idmac_init() 546 p->des1 = 0; in dw_mci_idmac_init()
|