Searched refs:port_info (Results 1 – 3 of 3) sorted by relevance
67 struct sh_eth_info *port_info = ð->port_info[eth->port]; in sh_eth_send_common() local85 port_info->tx_desc_cur->td2 = ADDR_TO_PHY(packet); in sh_eth_send_common()86 port_info->tx_desc_cur->td1 = len << 16; in sh_eth_send_common()88 if (port_info->tx_desc_cur->td0 & TD_TDLE) in sh_eth_send_common()89 port_info->tx_desc_cur->td0 = TD_TACT | TD_TFP | TD_TDLE; in sh_eth_send_common()91 port_info->tx_desc_cur->td0 = TD_TACT | TD_TFP; in sh_eth_send_common()93 flush_cache_wback(port_info->tx_desc_cur, sizeof(struct tx_desc_s)); in sh_eth_send_common()96 if (!(sh_eth_read(port_info, EDTRR) & EDTRR_TRNS)) in sh_eth_send_common()97 sh_eth_write(port_info, EDTRR_TRNS, EDTRR); in sh_eth_send_common()102 invalidate_cache(port_info->tx_desc_cur, in sh_eth_send_common()[all …]
99 struct sh_eth_info port_info[MAX_PORT_NUM]; member
471 u32 port_info; member