Lines Matching refs:hw_if
248 pdata->hw_if.tx_start_xmit(channel, ring); in xgbe_maybe_stop_tx_queue()
276 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_enable_rx_tx_ints() local
292 hw_if->enable_int(channel, int_id); in xgbe_enable_rx_tx_ints()
298 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_disable_rx_tx_ints() local
314 hw_if->disable_int(channel, int_id); in xgbe_disable_rx_tx_ints()
321 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_isr() local
378 hw_if->tx_mmc_int(pdata); in xgbe_isr()
381 hw_if->rx_mmc_int(pdata); in xgbe_isr()
389 hw_if->get_tx_tstamp(pdata); in xgbe_isr()
709 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_init_tx_coalesce() local
716 hw_if->config_tx_coalesce(pdata); in xgbe_init_tx_coalesce()
723 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_init_rx_coalesce() local
727 pdata->rx_riwt = hw_if->usec_to_riwt(pdata, XGMAC_INIT_DMA_RX_USECS); in xgbe_init_rx_coalesce()
731 hw_if->config_rx_coalesce(pdata); in xgbe_init_rx_coalesce()
797 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_powerdown() local
819 hw_if->powerdown_tx(pdata); in xgbe_powerdown()
820 hw_if->powerdown_rx(pdata); in xgbe_powerdown()
836 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_powerup() local
854 hw_if->powerup_tx(pdata); in xgbe_powerup()
855 hw_if->powerup_rx(pdata); in xgbe_powerup()
873 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_start() local
880 hw_if->init(pdata); in xgbe_start()
892 hw_if->enable_tx(pdata); in xgbe_start()
893 hw_if->enable_rx(pdata); in xgbe_start()
910 hw_if->exit(pdata); in xgbe_start()
917 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_stop() local
931 hw_if->disable_tx(pdata); in xgbe_stop()
932 hw_if->disable_rx(pdata); in xgbe_stop()
940 hw_if->exit(pdata); in xgbe_stop()
1146 pdata->hw_if.config_tstamp(pdata, mac_tscr); in xgbe_set_hwtstamp_settings()
1394 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_xmit() local
1447 hw_if->dev_xmit(channel); in xgbe_xmit()
1464 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_rx_mode() local
1468 hw_if->config_rx_mode(pdata); in xgbe_set_rx_mode()
1476 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_mac_address() local
1486 hw_if->set_mac_address(pdata, netdev->dev_addr); in xgbe_set_mac_address()
1551 pdata->hw_if.read_mmc_stats(pdata); in xgbe_get_stats64()
1578 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_vlan_rx_add_vid() local
1583 hw_if->update_vlan_hash_table(pdata); in xgbe_vlan_rx_add_vid()
1594 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_vlan_rx_kill_vid() local
1599 hw_if->update_vlan_hash_table(pdata); in xgbe_vlan_rx_kill_vid()
1661 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_features() local
1671 ret = hw_if->enable_rss(pdata); in xgbe_set_features()
1673 ret = hw_if->disable_rss(pdata); in xgbe_set_features()
1678 hw_if->enable_rx_csum(pdata); in xgbe_set_features()
1680 hw_if->disable_rx_csum(pdata); in xgbe_set_features()
1683 hw_if->enable_rx_vlan_stripping(pdata); in xgbe_set_features()
1685 hw_if->disable_rx_vlan_stripping(pdata); in xgbe_set_features()
1688 hw_if->enable_rx_vlan_filtering(pdata); in xgbe_set_features()
1690 hw_if->disable_rx_vlan_filtering(pdata); in xgbe_set_features()
1727 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_rx_refresh() local
1741 hw_if->rx_desc_reset(pdata, rdata, ring->dirty); in xgbe_rx_refresh()
1805 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_tx_poll() local
1834 if (!hw_if->tx_complete(rdesc)) in xgbe_tx_poll()
1844 if (hw_if->is_last_desc(rdesc)) { in xgbe_tx_poll()
1851 hw_if->tx_desc_reset(rdata); in xgbe_tx_poll()
1876 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_rx_poll() local
1923 if (hw_if->dev_read(channel)) in xgbe_rx_poll()