Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/net/
H A Dsh_eth.c60 struct sh_eth_info *port_info = &eth->port_info[port]; in sh_eth_send() local
78 port_info->tx_desc_cur->td2 = ADDR_TO_PHY(packet); in sh_eth_send()
79 port_info->tx_desc_cur->td1 = len << 16; in sh_eth_send()
81 if (port_info->tx_desc_cur->td0 & TD_TDLE) in sh_eth_send()
82 port_info->tx_desc_cur->td0 = TD_TACT | TD_TFP | TD_TDLE; in sh_eth_send()
84 port_info->tx_desc_cur->td0 = TD_TACT | TD_TFP; in sh_eth_send()
86 flush_cache_wback(port_info->tx_desc_cur, sizeof(struct tx_desc_s)); in sh_eth_send()
95 invalidate_cache(port_info->tx_desc_cur, in sh_eth_send()
98 } while (port_info->tx_desc_cur->td0 & TD_TACT && timeout--); in sh_eth_send()
106 port_info->tx_desc_cur++; in sh_eth_send()
[all …]
H A Dsh_eth.h97 struct sh_eth_info port_info[MAX_PORT_NUM]; member
/rk3399_rockchip-uboot/include/usb/
H A Dxhci.h472 u32 port_info; member