Searched refs:cur_tx_desc (Results 1 – 1 of 1) sorted by relevance
195 struct tx_desc_s *cur_tx_desc; in sh_eth_tx_desc_init() local217 for (cur_tx_desc = port_info->tx_desc_base, i = 0; i < NUM_TX_DESC; in sh_eth_tx_desc_init()218 cur_tx_desc++, i++) { in sh_eth_tx_desc_init()219 cur_tx_desc->td0 = 0x00; in sh_eth_tx_desc_init()220 cur_tx_desc->td1 = 0x00; in sh_eth_tx_desc_init()221 cur_tx_desc->td2 = 0x00; in sh_eth_tx_desc_init()225 cur_tx_desc--; in sh_eth_tx_desc_init()226 cur_tx_desc->td0 |= TD_TDLE; in sh_eth_tx_desc_init()235 sh_eth_write(port_info, ADDR_TO_PHY(cur_tx_desc), TDFXR); in sh_eth_tx_desc_init()