Searched refs:des0 (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | enh_desc.c | 18 unsigned int tdes0 = le32_to_cpu(p->des0); in enh_desc_get_tx_status() 120 unsigned int rdes0 = le32_to_cpu(p->basic.des0); in enh_desc_get_ext_status() 184 unsigned int rdes0 = le32_to_cpu(p->des0); in enh_desc_get_rx_status() 257 p->des0 |= cpu_to_le32(RDES0_OWN); in enh_desc_init_rx_desc() 273 p->des0 &= cpu_to_le32(~ETDES0_OWN); in enh_desc_init_tx_desc() 282 return (le32_to_cpu(p->des0) & ETDES0_OWN) >> 31; in enh_desc_get_tx_owner() 287 p->des0 |= cpu_to_le32(ETDES0_OWN); in enh_desc_set_tx_owner() 292 p->des0 |= cpu_to_le32(RDES0_OWN); in enh_desc_set_rx_owner() 315 unsigned int tdes0 = le32_to_cpu(p->des0); in enh_desc_prepare_tx_desc() 346 p->des0 = cpu_to_le32(tdes0); in enh_desc_prepare_tx_desc() [all …]
|
H A D | norm_desc.c | 18 unsigned int tdes0 = le32_to_cpu(p->des0); in ndesc_get_tx_status() 73 unsigned int rdes0 = le32_to_cpu(p->des0); in ndesc_get_rx_status() 123 p->des0 |= cpu_to_le32(RDES0_OWN); in ndesc_init_rx_desc() 139 p->des0 &= cpu_to_le32(~TDES0_OWN); in ndesc_init_tx_desc() 148 return (le32_to_cpu(p->des0) & TDES0_OWN) >> 31; in ndesc_get_tx_owner() 153 p->des0 |= cpu_to_le32(TDES0_OWN); in ndesc_set_tx_owner() 158 p->des0 |= cpu_to_le32(RDES0_OWN); in ndesc_set_rx_owner() 204 p->des0 |= cpu_to_le32(TDES0_OWN); in ndesc_prepare_tx_desc() 225 return (((le32_to_cpu(p->des0) & RDES0_FRAME_LEN_MASK) in ndesc_get_rx_frame_len() 238 return (le32_to_cpu(p->des0) & TDES0_TIME_STAMP_STATUS) >> 17; in ndesc_get_tx_timestamp_status()
|
H A D | dwxgmac2_descs.c | 91 ns += le32_to_cpu(p->des0); in dwxgmac2_get_timestamp() 108 if ((p->des0 == 0xffffffff) && (p->des1 == 0xffffffff)) in dwxgmac2_rx_check_timestamp() 137 p->des0 = 0; in dwxgmac2_init_tx_desc() 223 p->des0 = 0; in dwxgmac2_release_tx_desc() 236 p->des0 = 0; in dwxgmac2_set_mss() 244 p->des0 = cpu_to_le32(lower_32_bits(addr)); in dwxgmac2_set_addr() 250 p->des0 = 0; in dwxgmac2_clear() 306 p->des0 = 0; in dwxgmac2_set_vlan_tag()
|
H A D | dwmac4_descs.c | 229 ns = le32_to_cpu(p->des0); in dwmac4_get_timestamp() 239 unsigned int rdes0 = le32_to_cpu(p->des0); in dwmac4_rx_check_timestamp() 301 p->des0 = 0; in dwmac4_rd_init_tx_desc() 390 p->des0 = 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() 453 p->des0 = 0; in dwmac4_set_mss_ctxt() 461 p->des0 = cpu_to_le32(lower_32_bits(addr)); in dwmac4_set_addr() 467 p->des0 = 0; in dwmac4_clear() [all …]
|
H A D | descs_com.h | 37 p->des0 |= cpu_to_le32(ETDES0_END_RING); in enh_desc_end_tx_desc_on_ring() 39 p->des0 &= cpu_to_le32(~ETDES0_END_RING); in enh_desc_end_tx_desc_on_ring() 98 p->des0 |= cpu_to_le32(ETDES0_SECOND_ADDRESS_CHAINED); in enh_desc_end_tx_desc_on_chain()
|
H A D | descs.h | 159 __le32 des0; member
|
H A D | stmmac_main.c | 4045 desc->des0 = cpu_to_le32(curr_addr); in stmmac_tso_allocator() 4205 first->des0 = cpu_to_le32(des); in stmmac_tso_xmit() 6155 le32_to_cpu(ep->basic.des0), in sysfs_display_ring() 6164 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in sysfs_display_ring()
|
/openbmc/qemu/hw/net/ |
H A D | ftgmac100.c | 219 uint32_t des0; member 477 bd->des0 = le32_to_cpu(bd->des0); in ftgmac100_read_bd() 488 lebd.des0 = cpu_to_le32(bd->des0); in ftgmac100_write_bd() 556 if (bd.des0 & FTGMAC100_TXDES0_FTS) { in ftgmac100_do_tx() 560 len = FTGMAC100_TXDES0_TXBUF_SIZE(bd.des0); in ftgmac100_do_tx() 592 if (bd.des0 & FTGMAC100_TXDES0_LTS) { in ftgmac100_do_tx() 625 bd.des0 &= ~FTGMAC100_TXDES0_TXDMA_OWN; in ftgmac100_do_tx() 630 if (bd.des0 & s->txdes0_edotr) { in ftgmac100_do_tx() 655 return !(bd.des0 & FTGMAC100_RXDES0_RXPKT_RDY); in ftgmac100_can_receive() 1093 bd.des0 |= buf_len & 0x3fff; in ftgmac100_receive() [all …]
|
H A D | trace-events | 482 npcm_gmac_debug_desc_data(const char* name, void* addr, uint32_t des0, uint32_t des1, uint32_t des2…
|
/openbmc/linux/drivers/mmc/host/ |
H A D | dw_mmc.c | 66 u32 des0; /* Control Descriptor */ member 87 __le32 des0; /* Control Descriptor */ member 522 p->des0 = 0; in dw_mci_idmac_init() 531 p->des0 = IDMAC_DES0_ER; in dw_mci_idmac_init() 545 p->des0 = 0; in dw_mci_idmac_init() 551 p->des0 = cpu_to_le32(IDMAC_DES0_ER); in dw_mci_idmac_init() 635 desc_first->des0 |= IDMAC_DES0_FD; in dw_mci_prepare_desc64() 639 desc_last->des0 |= IDMAC_DES0_LD; in dw_mci_prepare_desc64() 689 desc->des0 = cpu_to_le32(IDMAC_DES0_OWN | in dw_mci_prepare_desc32() 708 desc_first->des0 |= cpu_to_le32(IDMAC_DES0_FD); in dw_mci_prepare_desc32() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | dwc_eth_qos.c | 250 u32 des0; member 1073 rx_desc->des0 = (u32)(ulong)(eqos->rx_dma_buf + in eqos_start() 1197 tx_desc->des0 = (ulong)eqos->tx_dma_buf; in eqos_send() 1263 rx_desc->des0 = (u32)(ulong)packet; in eqos_free_pkt()
|