Home
last modified time | relevance | path

Searched refs:rx_desc_base (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/moxa/
H A Dmoxart_ether.c80 if (priv->rx_desc_base) in moxart_mac_free_memory()
83 priv->rx_desc_base, priv->rx_base); in moxart_mac_free_memory()
135 desc = priv->rx_desc_base + i * RX_REG_DESC_SIZE; in moxart_mac_setup_desc_ring()
218 desc = priv->rx_desc_base + (RX_REG_DESC_SIZE * rx_head); in moxart_rx_poll()
506 priv->rx_desc_base = dma_alloc_coherent(p_dev, RX_REG_DESC_SIZE * in moxart_mac_probe()
509 if (!priv->rx_desc_base) { in moxart_mac_probe()
H A Dmoxart_ether.h304 void *rx_desc_base; member
/openbmc/u-boot/drivers/net/
H A Dsh_eth.c153 port_info->rx_desc_base + NUM_RX_DESC) in sh_eth_recv_finish()
154 port_info->rx_desc_cur = port_info->rx_desc_base; in sh_eth_recv_finish()
266 port_info->rx_desc_base = in sh_eth_rx_desc_init()
269 port_info->rx_desc_cur = port_info->rx_desc_base; in sh_eth_rx_desc_init()
286 for (cur_rx_desc = port_info->rx_desc_base, in sh_eth_rx_desc_init()
299 sh_eth_write(port_info, ADDR_TO_PHY(port_info->rx_desc_base), RDLAR); in sh_eth_rx_desc_init()
301 sh_eth_write(port_info, ADDR_TO_PHY(port_info->rx_desc_base), RDFAR); in sh_eth_rx_desc_init()
H A Dsh_eth.h86 struct rx_desc_s *rx_desc_base; member
/openbmc/qemu/hw/net/
H A De1000.c857 static uint64_t rx_desc_base(E1000State *s) in rx_desc_base() function
947 base = rx_desc_base(s) + sizeof(desc) * s->mac_reg[RDH]; in e1000_receive_iov()