Searched refs:cur_tx_desc (Results 1 – 1 of 1) sorted by relevance
192 struct tx_desc_s *cur_tx_desc; in sh_eth_tx_desc_init() local214 for (cur_tx_desc = port_info->tx_desc_base, i = 0; i < NUM_TX_DESC; in sh_eth_tx_desc_init()215 cur_tx_desc++, i++) { in sh_eth_tx_desc_init()216 cur_tx_desc->td0 = 0x00; in sh_eth_tx_desc_init()217 cur_tx_desc->td1 = 0x00; in sh_eth_tx_desc_init()218 cur_tx_desc->td2 = 0x00; in sh_eth_tx_desc_init()222 cur_tx_desc--; in sh_eth_tx_desc_init()223 cur_tx_desc->td0 |= TD_TDLE; in sh_eth_tx_desc_init()230 sh_eth_write(eth, ADDR_TO_PHY(cur_tx_desc), TDFXR); in sh_eth_tx_desc_init()