Lines Matching refs:rx_desc_cur
126 invalidate_cache(port_info->rx_desc_cur, sizeof(struct rx_desc_s)); in sh_eth_recv_start()
127 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()
269 port_info->rx_desc_cur = port_info->rx_desc_base; in sh_eth_rx_desc_init()
545 uchar *packet = (uchar *)ADDR_TO_P2(port_info->rx_desc_cur->rd2); in sh_eth_recv_common()
696 uchar *packet = (uchar *)ADDR_TO_P2(port_info->rx_desc_cur->rd2); in sh_ether_recv()