Lines Matching refs:hw_ops

55 			pdata->hw_ops.tx_start_xmit(channel, ring);  in xlgmac_maybe_stop_tx_queue()
209 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_enable_rx_tx_ints() local
225 hw_ops->enable_int(channel, int_id); in xlgmac_enable_rx_tx_ints()
231 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_disable_rx_tx_ints() local
247 hw_ops->disable_int(channel, int_id); in xlgmac_disable_rx_tx_ints()
256 struct xlgmac_hw_ops *hw_ops; in xlgmac_isr() local
259 hw_ops = &pdata->hw_ops; in xlgmac_isr()
333 hw_ops->tx_mmc_int(pdata); in xlgmac_isr()
337 hw_ops->rx_mmc_int(pdata); in xlgmac_isr()
563 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_start() local
567 hw_ops->init(pdata); in xlgmac_start()
574 hw_ops->enable_tx(pdata); in xlgmac_start()
575 hw_ops->enable_rx(pdata); in xlgmac_start()
582 hw_ops->exit(pdata); in xlgmac_start()
589 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_stop() local
597 hw_ops->disable_tx(pdata); in xlgmac_stop()
598 hw_ops->disable_rx(pdata); in xlgmac_stop()
601 hw_ops->exit(pdata); in xlgmac_stop()
706 struct xlgmac_hw_ops *hw_ops; in xlgmac_xmit() local
712 hw_ops = &pdata->hw_ops; in xlgmac_xmit()
756 hw_ops->dev_xmit(channel); in xlgmac_xmit()
773 pdata->hw_ops.read_mmc_stats(pdata); in xlgmac_get_stats64()
795 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_set_mac_address() local
803 hw_ops->set_mac_address(pdata, netdev->dev_addr); in xlgmac_set_mac_address()
839 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_vlan_rx_add_vid() local
842 hw_ops->update_vlan_hash_table(pdata); in xlgmac_vlan_rx_add_vid()
852 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_vlan_rx_kill_vid() local
855 hw_ops->update_vlan_hash_table(pdata); in xlgmac_vlan_rx_kill_vid()
884 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_set_features() local
893 ret = hw_ops->enable_rss(pdata); in xlgmac_set_features()
895 ret = hw_ops->disable_rss(pdata); in xlgmac_set_features()
900 hw_ops->enable_rx_csum(pdata); in xlgmac_set_features()
902 hw_ops->disable_rx_csum(pdata); in xlgmac_set_features()
905 hw_ops->enable_rx_vlan_stripping(pdata); in xlgmac_set_features()
907 hw_ops->disable_rx_vlan_stripping(pdata); in xlgmac_set_features()
910 hw_ops->enable_rx_vlan_filtering(pdata); in xlgmac_set_features()
912 hw_ops->disable_rx_vlan_filtering(pdata); in xlgmac_set_features()
922 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_set_rx_mode() local
924 hw_ops->config_rx_mode(pdata); in xlgmac_set_rx_mode()
957 struct xlgmac_hw_ops *hw_ops; in xlgmac_rx_refresh() local
960 hw_ops = &pdata->hw_ops; in xlgmac_rx_refresh()
971 hw_ops->rx_desc_reset(pdata, desc_data, ring->dirty); in xlgmac_rx_refresh()
1043 struct xlgmac_hw_ops *hw_ops; in xlgmac_tx_poll() local
1049 hw_ops = &pdata->hw_ops; in xlgmac_tx_poll()
1067 if (!hw_ops->tx_complete(dma_desc)) in xlgmac_tx_poll()
1078 if (hw_ops->is_last_desc(dma_desc)) { in xlgmac_tx_poll()
1085 hw_ops->tx_desc_reset(desc_data); in xlgmac_tx_poll()
1117 struct xlgmac_hw_ops *hw_ops; in xlgmac_rx_poll() local
1123 hw_ops = &pdata->hw_ops; in xlgmac_rx_poll()
1155 if (hw_ops->dev_read(channel)) in xlgmac_rx_poll()