Lines Matching refs:hw_if

246 			pdata->hw_if.tx_start_xmit(channel, ring);  in xgbe_maybe_stop_tx_queue()
274 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_enable_rx_tx_ints() local
290 hw_if->enable_int(channel, int_id); in xgbe_enable_rx_tx_ints()
296 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_disable_rx_tx_ints() local
312 hw_if->disable_int(channel, int_id); in xgbe_disable_rx_tx_ints()
319 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_isr() local
372 hw_if->tx_mmc_int(pdata); in xgbe_isr()
375 hw_if->rx_mmc_int(pdata); in xgbe_isr()
383 hw_if->get_tx_tstamp(pdata); in xgbe_isr()
685 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_init_tx_coalesce() local
692 hw_if->config_tx_coalesce(pdata); in xgbe_init_tx_coalesce()
699 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_init_rx_coalesce() local
703 pdata->rx_riwt = hw_if->usec_to_riwt(pdata, XGMAC_INIT_DMA_RX_USECS); in xgbe_init_rx_coalesce()
707 hw_if->config_rx_coalesce(pdata); in xgbe_init_rx_coalesce()
765 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_adjust_link() local
785 hw_if->config_tx_flow_control(pdata); in xgbe_adjust_link()
790 hw_if->config_rx_flow_control(pdata); in xgbe_adjust_link()
800 hw_if->set_xgmii_speed(pdata); in xgbe_adjust_link()
804 hw_if->set_gmii_2500_speed(pdata); in xgbe_adjust_link()
808 hw_if->set_gmii_speed(pdata); in xgbe_adjust_link()
873 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_powerdown() local
892 hw_if->powerdown_tx(pdata); in xgbe_powerdown()
893 hw_if->powerdown_rx(pdata); in xgbe_powerdown()
911 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_powerup() local
931 hw_if->powerup_tx(pdata); in xgbe_powerup()
932 hw_if->powerup_rx(pdata); in xgbe_powerup()
948 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_start() local
954 hw_if->init(pdata); in xgbe_start()
964 hw_if->enable_tx(pdata); in xgbe_start()
965 hw_if->enable_rx(pdata); in xgbe_start()
980 hw_if->exit(pdata); in xgbe_start()
987 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_stop() local
999 hw_if->disable_tx(pdata); in xgbe_stop()
1000 hw_if->disable_rx(pdata); in xgbe_stop()
1008 hw_if->exit(pdata); in xgbe_stop()
1214 pdata->hw_if.config_tstamp(pdata, mac_tscr); in xgbe_set_hwtstamp_settings()
1463 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_xmit() local
1514 hw_if->dev_xmit(channel); in xgbe_xmit()
1532 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_rx_mode() local
1536 hw_if->config_rx_mode(pdata); in xgbe_set_rx_mode()
1544 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_mac_address() local
1554 hw_if->set_mac_address(pdata, netdev->dev_addr); in xgbe_set_mac_address()
1619 pdata->hw_if.read_mmc_stats(pdata); in xgbe_get_stats64()
1646 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_vlan_rx_add_vid() local
1651 hw_if->update_vlan_hash_table(pdata); in xgbe_vlan_rx_add_vid()
1662 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_vlan_rx_kill_vid() local
1667 hw_if->update_vlan_hash_table(pdata); in xgbe_vlan_rx_kill_vid()
1728 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_features() local
1738 ret = hw_if->enable_rss(pdata); in xgbe_set_features()
1740 ret = hw_if->disable_rss(pdata); in xgbe_set_features()
1745 hw_if->enable_rx_csum(pdata); in xgbe_set_features()
1747 hw_if->disable_rx_csum(pdata); in xgbe_set_features()
1750 hw_if->enable_rx_vlan_stripping(pdata); in xgbe_set_features()
1752 hw_if->disable_rx_vlan_stripping(pdata); in xgbe_set_features()
1755 hw_if->enable_rx_vlan_filtering(pdata); in xgbe_set_features()
1757 hw_if->disable_rx_vlan_filtering(pdata); in xgbe_set_features()
1794 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_rx_refresh() local
1808 hw_if->rx_desc_reset(pdata, rdata, ring->dirty); in xgbe_rx_refresh()
1850 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_tx_poll() local
1873 if (!hw_if->tx_complete(rdesc)) in xgbe_tx_poll()
1884 if (hw_if->is_last_desc(rdesc)) { in xgbe_tx_poll()
1891 hw_if->tx_desc_reset(rdata); in xgbe_tx_poll()
1916 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_rx_poll() local
1964 if (hw_if->dev_read(channel)) in xgbe_rx_poll()