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()
562 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_start() local
566 hw_ops->init(pdata); in xlgmac_start()
573 hw_ops->enable_tx(pdata); in xlgmac_start()
574 hw_ops->enable_rx(pdata); in xlgmac_start()
581 hw_ops->exit(pdata); in xlgmac_start()
588 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_stop() local
596 hw_ops->disable_tx(pdata); in xlgmac_stop()
597 hw_ops->disable_rx(pdata); in xlgmac_stop()
600 hw_ops->exit(pdata); in xlgmac_stop()
705 struct xlgmac_hw_ops *hw_ops; in xlgmac_xmit() local
711 hw_ops = &pdata->hw_ops; in xlgmac_xmit()
755 hw_ops->dev_xmit(channel); in xlgmac_xmit()
772 pdata->hw_ops.read_mmc_stats(pdata); in xlgmac_get_stats64()
794 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_set_mac_address() local
802 hw_ops->set_mac_address(pdata, netdev->dev_addr); in xlgmac_set_mac_address()
838 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_vlan_rx_add_vid() local
841 hw_ops->update_vlan_hash_table(pdata); in xlgmac_vlan_rx_add_vid()
851 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_vlan_rx_kill_vid() local
854 hw_ops->update_vlan_hash_table(pdata); in xlgmac_vlan_rx_kill_vid()
883 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_set_features() local
892 ret = hw_ops->enable_rss(pdata); in xlgmac_set_features()
894 ret = hw_ops->disable_rss(pdata); in xlgmac_set_features()
899 hw_ops->enable_rx_csum(pdata); in xlgmac_set_features()
901 hw_ops->disable_rx_csum(pdata); in xlgmac_set_features()
904 hw_ops->enable_rx_vlan_stripping(pdata); in xlgmac_set_features()
906 hw_ops->disable_rx_vlan_stripping(pdata); in xlgmac_set_features()
909 hw_ops->enable_rx_vlan_filtering(pdata); in xlgmac_set_features()
911 hw_ops->disable_rx_vlan_filtering(pdata); in xlgmac_set_features()
921 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_set_rx_mode() local
923 hw_ops->config_rx_mode(pdata); in xlgmac_set_rx_mode()
956 struct xlgmac_hw_ops *hw_ops; in xlgmac_rx_refresh() local
959 hw_ops = &pdata->hw_ops; in xlgmac_rx_refresh()
970 hw_ops->rx_desc_reset(pdata, desc_data, ring->dirty); in xlgmac_rx_refresh()
1042 struct xlgmac_hw_ops *hw_ops; in xlgmac_tx_poll() local
1048 hw_ops = &pdata->hw_ops; in xlgmac_tx_poll()
1066 if (!hw_ops->tx_complete(dma_desc)) in xlgmac_tx_poll()
1077 if (hw_ops->is_last_desc(dma_desc)) { in xlgmac_tx_poll()
1084 hw_ops->tx_desc_reset(desc_data); in xlgmac_tx_poll()
1116 struct xlgmac_hw_ops *hw_ops; in xlgmac_rx_poll() local
1122 hw_ops = &pdata->hw_ops; in xlgmac_rx_poll()
1154 if (hw_ops->dev_read(channel)) in xlgmac_rx_poll()