Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/net/
H A Dsh_eth.c122 invalidate_cache(port_info->rx_desc_cur, sizeof(struct rx_desc_s)); in sh_eth_recv()
123 if (!(port_info->rx_desc_cur->rd0 & RD_RACT)) { in sh_eth_recv()
125 if (!(port_info->rx_desc_cur->rd0 & RD_RFE)) { in sh_eth_recv()
126 len = port_info->rx_desc_cur->rd1 & 0xffff; in sh_eth_recv()
128 ADDR_TO_P2(port_info->rx_desc_cur->rd2); in sh_eth_recv()
134 if (port_info->rx_desc_cur->rd0 & RD_RDLE) in sh_eth_recv()
135 port_info->rx_desc_cur->rd0 = RD_RACT | RD_RDLE; in sh_eth_recv()
137 port_info->rx_desc_cur->rd0 = RD_RACT; in sh_eth_recv()
139 flush_cache_wback(port_info->rx_desc_cur, in sh_eth_recv()
143 port_info->rx_desc_cur++; in sh_eth_recv()
[all …]
H A Dsh_eth.h86 struct rx_desc_s *rx_desc_cur; member