Home
last modified time | relevance | path

Searched refs:rx_desc_cur (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/net/
H A Dsh_eth.c127 if (port_info->rx_desc_cur->rd0 & RD_RACT) in sh_eth_recv_start()
131 if (port_info->rx_desc_cur->rd0 & RD_RFE) in sh_eth_recv_start()
134 return port_info->rx_desc_cur->rd1 & 0xffff; in sh_eth_recv_start()
142 if (port_info->rx_desc_cur->rd0 & RD_RDLE) in sh_eth_recv_finish()
143 port_info->rx_desc_cur->rd0 = RD_RACT | RD_RDLE; in sh_eth_recv_finish()
145 port_info->rx_desc_cur->rd0 = RD_RACT; in sh_eth_recv_finish()
147 flush_cache_wback(port_info->rx_desc_cur, in sh_eth_recv_finish()
151 port_info->rx_desc_cur++; in sh_eth_recv_finish()
152 if (port_info->rx_desc_cur >= in sh_eth_recv_finish()
154 port_info->rx_desc_cur = port_info->rx_desc_base; in sh_eth_recv_finish()
[all …]
H A Dsh_eth.h87 struct rx_desc_s *rx_desc_cur; member