Lines Matching refs:hw_if
289 pdata->hw_if.tx_start_xmit(channel, ring); in xgbe_maybe_stop_tx_queue()
313 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_enable_rx_tx_int() local
325 hw_if->enable_int(channel, int_id); in xgbe_enable_rx_tx_int()
339 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_disable_rx_tx_int() local
351 hw_if->disable_int(channel, int_id); in xgbe_disable_rx_tx_int()
435 pdata->hw_if.disable_ecc_ded(pdata); in xgbe_ecc_isr_task()
443 pdata->hw_if.disable_ecc_sec(pdata, XGBE_ECC_SEC_TX); in xgbe_ecc_isr_task()
449 pdata->hw_if.disable_ecc_sec(pdata, XGBE_ECC_SEC_RX); in xgbe_ecc_isr_task()
454 pdata->hw_if.disable_ecc_sec(pdata, XGBE_ECC_SEC_DESC); in xgbe_ecc_isr_task()
480 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_isr_task() local
547 hw_if->tx_mmc_int(pdata); in xgbe_isr_task()
550 hw_if->rx_mmc_int(pdata); in xgbe_isr_task()
561 hw_if->get_tx_tstamp(pdata); in xgbe_isr_task()
938 pdata->hw_if.disable_vxlan(pdata); in xgbe_disable_vxlan_hw()
990 pdata->hw_if.enable_vxlan(pdata); in xgbe_enable_vxlan_hw()
1157 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_init_tx_coalesce() local
1164 hw_if->config_tx_coalesce(pdata); in xgbe_init_tx_coalesce()
1171 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_init_rx_coalesce() local
1175 pdata->rx_riwt = hw_if->usec_to_riwt(pdata, XGMAC_INIT_DMA_RX_USECS); in xgbe_init_rx_coalesce()
1179 hw_if->config_rx_coalesce(pdata); in xgbe_init_rx_coalesce()
1241 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_powerdown() local
1263 hw_if->powerdown_tx(pdata); in xgbe_powerdown()
1264 hw_if->powerdown_rx(pdata); in xgbe_powerdown()
1280 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_powerup() local
1298 hw_if->powerup_tx(pdata); in xgbe_powerup()
1299 hw_if->powerup_rx(pdata); in xgbe_powerup()
1369 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_start() local
1393 ret = hw_if->init(pdata); in xgbe_start()
1407 hw_if->enable_tx(pdata); in xgbe_start()
1408 hw_if->enable_rx(pdata); in xgbe_start()
1427 hw_if->exit(pdata); in xgbe_start()
1434 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_stop() local
1453 hw_if->disable_tx(pdata); in xgbe_stop()
1454 hw_if->disable_rx(pdata); in xgbe_stop()
1462 hw_if->exit(pdata); in xgbe_stop()
1704 pdata->hw_if.config_tstamp(pdata, mac_tscr); in xgbe_set_hwtstamp_settings()
2015 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_xmit() local
2068 hw_if->dev_xmit(channel); in xgbe_xmit()
2085 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_rx_mode() local
2089 hw_if->config_rx_mode(pdata); in xgbe_set_rx_mode()
2097 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_mac_address() local
2107 hw_if->set_mac_address(pdata, netdev->dev_addr); in xgbe_set_mac_address()
2172 pdata->hw_if.read_mmc_stats(pdata); in xgbe_get_stats64()
2197 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_vlan_rx_add_vid() local
2202 hw_if->update_vlan_hash_table(pdata); in xgbe_vlan_rx_add_vid()
2213 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_vlan_rx_kill_vid() local
2218 hw_if->update_vlan_hash_table(pdata); in xgbe_vlan_rx_kill_vid()
2266 pdata->hw_if.config_tc(pdata); in xgbe_setup_tc()
2338 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_features() local
2350 ret = hw_if->enable_rss(pdata); in xgbe_set_features()
2352 ret = hw_if->disable_rss(pdata); in xgbe_set_features()
2357 hw_if->enable_rx_csum(pdata); in xgbe_set_features()
2359 hw_if->disable_rx_csum(pdata); in xgbe_set_features()
2362 hw_if->enable_rx_vlan_stripping(pdata); in xgbe_set_features()
2364 hw_if->disable_rx_vlan_stripping(pdata); in xgbe_set_features()
2367 hw_if->enable_rx_vlan_filtering(pdata); in xgbe_set_features()
2369 hw_if->disable_rx_vlan_filtering(pdata); in xgbe_set_features()
2475 pdata->hw_if.set_vxlan_id(pdata); in xgbe_udp_tunnel_del()
2520 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_rx_refresh() local
2534 hw_if->rx_desc_reset(pdata, rdata, ring->dirty); in xgbe_rx_refresh()
2616 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_tx_poll() local
2645 if (!hw_if->tx_complete(rdesc)) in xgbe_tx_poll()
2655 if (hw_if->is_last_desc(rdesc)) { in xgbe_tx_poll()
2662 hw_if->tx_desc_reset(rdata); in xgbe_tx_poll()
2687 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_rx_poll() local
2734 if (hw_if->dev_read(channel)) in xgbe_rx_poll()