Home
last modified time | relevance | path

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

/u-boot/drivers/net/
A Dsh_eth.c91 port_info->tx_desc_cur->td2 = ADDR_TO_PHY(packet); in sh_eth_send_common()
92 port_info->tx_desc_cur->td1 = len << 16; in sh_eth_send_common()
94 if (port_info->tx_desc_cur->td0 & TD_TDLE) in sh_eth_send_common()
95 port_info->tx_desc_cur->td0 = TD_TACT | TD_TFP | TD_TDLE; in sh_eth_send_common()
97 port_info->tx_desc_cur->td0 = TD_TACT | TD_TFP; in sh_eth_send_common()
99 flush_cache_wback(port_info->tx_desc_cur, sizeof(struct tx_desc_s)); in sh_eth_send_common()
108 invalidate_cache(port_info->tx_desc_cur, in sh_eth_send_common()
111 } while (port_info->tx_desc_cur->td0 & TD_TACT && timeout--); in sh_eth_send_common()
119 port_info->tx_desc_cur++; in sh_eth_send_common()
121 port_info->tx_desc_cur = port_info->tx_desc_base; in sh_eth_send_common()
[all …]
A Dsh_eth.h80 struct tx_desc_s *tx_desc_cur; member

Completed in 6 milliseconds