Home
last modified time | relevance | path

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

/u-boot/drivers/net/
A Dsh_eth.c254 struct rx_desc_s *cur_rx_desc; in sh_eth_rx_desc_init() local
292 for (cur_rx_desc = port_info->rx_desc_base, in sh_eth_rx_desc_init()
294 i < NUM_RX_DESC; cur_rx_desc++, rx_buf += MAX_BUF_SIZE, i++) { in sh_eth_rx_desc_init()
295 cur_rx_desc->rd0 = RD_RACT; in sh_eth_rx_desc_init()
296 cur_rx_desc->rd1 = MAX_BUF_SIZE << 16; in sh_eth_rx_desc_init()
297 cur_rx_desc->rd2 = (u32)ADDR_TO_PHY(rx_buf); in sh_eth_rx_desc_init()
301 cur_rx_desc--; in sh_eth_rx_desc_init()
302 cur_rx_desc->rd0 |= RD_RDLE; in sh_eth_rx_desc_init()
308 sh_eth_write(port_info, ADDR_TO_PHY(cur_rx_desc), RDFXR); in sh_eth_rx_desc_init()

Completed in 4 milliseconds