Lines Matching refs:hw_if

288 			pdata->hw_if.tx_start_xmit(channel, ring);  in xgbe_maybe_stop_tx_queue()
312 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_enable_rx_tx_int() local
324 hw_if->enable_int(channel, int_id); in xgbe_enable_rx_tx_int()
338 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_disable_rx_tx_int() local
350 hw_if->disable_int(channel, int_id); in xgbe_disable_rx_tx_int()
434 pdata->hw_if.disable_ecc_ded(pdata); in xgbe_ecc_isr_task()
442 pdata->hw_if.disable_ecc_sec(pdata, XGBE_ECC_SEC_TX); in xgbe_ecc_isr_task()
448 pdata->hw_if.disable_ecc_sec(pdata, XGBE_ECC_SEC_RX); in xgbe_ecc_isr_task()
453 pdata->hw_if.disable_ecc_sec(pdata, XGBE_ECC_SEC_DESC); in xgbe_ecc_isr_task()
479 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_isr_task() local
546 hw_if->tx_mmc_int(pdata); in xgbe_isr_task()
549 hw_if->rx_mmc_int(pdata); in xgbe_isr_task()
560 hw_if->get_tx_tstamp(pdata); in xgbe_isr_task()
915 pdata->hw_if.enable_vxlan(pdata); in xgbe_vxlan_set_port()
925 pdata->hw_if.disable_vxlan(pdata); in xgbe_vxlan_unset_port()
1086 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_init_tx_coalesce() local
1093 hw_if->config_tx_coalesce(pdata); in xgbe_init_tx_coalesce()
1100 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_init_rx_coalesce() local
1104 pdata->rx_riwt = hw_if->usec_to_riwt(pdata, XGMAC_INIT_DMA_RX_USECS); in xgbe_init_rx_coalesce()
1108 hw_if->config_rx_coalesce(pdata); in xgbe_init_rx_coalesce()
1170 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_powerdown() local
1192 hw_if->powerdown_tx(pdata); in xgbe_powerdown()
1193 hw_if->powerdown_rx(pdata); in xgbe_powerdown()
1209 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_powerup() local
1227 hw_if->powerup_tx(pdata); in xgbe_powerup()
1228 hw_if->powerup_rx(pdata); in xgbe_powerup()
1298 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_start() local
1322 ret = hw_if->init(pdata); in xgbe_start()
1336 hw_if->enable_tx(pdata); in xgbe_start()
1337 hw_if->enable_rx(pdata); in xgbe_start()
1356 hw_if->exit(pdata); in xgbe_start()
1363 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_stop() local
1383 hw_if->disable_tx(pdata); in xgbe_stop()
1384 hw_if->disable_rx(pdata); in xgbe_stop()
1392 hw_if->exit(pdata); in xgbe_stop()
1631 pdata->hw_if.config_tstamp(pdata, mac_tscr); in xgbe_set_hwtstamp_settings()
1927 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_xmit() local
1980 hw_if->dev_xmit(channel); in xgbe_xmit()
1997 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_rx_mode() local
2001 hw_if->config_rx_mode(pdata); in xgbe_set_rx_mode()
2009 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_mac_address() local
2019 hw_if->set_mac_address(pdata, netdev->dev_addr); in xgbe_set_mac_address()
2084 pdata->hw_if.read_mmc_stats(pdata); in xgbe_get_stats64()
2109 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_vlan_rx_add_vid() local
2114 hw_if->update_vlan_hash_table(pdata); in xgbe_vlan_rx_add_vid()
2125 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_vlan_rx_kill_vid() local
2130 hw_if->update_vlan_hash_table(pdata); in xgbe_vlan_rx_kill_vid()
2178 pdata->hw_if.config_tc(pdata); in xgbe_setup_tc()
2230 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_features() local
2240 ret = hw_if->enable_rss(pdata); in xgbe_set_features()
2242 ret = hw_if->disable_rss(pdata); in xgbe_set_features()
2247 hw_if->enable_rx_csum(pdata); in xgbe_set_features()
2249 hw_if->disable_rx_csum(pdata); in xgbe_set_features()
2252 hw_if->enable_rx_vlan_stripping(pdata); in xgbe_set_features()
2254 hw_if->disable_rx_vlan_stripping(pdata); in xgbe_set_features()
2257 hw_if->enable_rx_vlan_filtering(pdata); in xgbe_set_features()
2259 hw_if->disable_rx_vlan_filtering(pdata); in xgbe_set_features()
2308 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_rx_refresh() local
2322 hw_if->rx_desc_reset(pdata, rdata, ring->dirty); in xgbe_rx_refresh()
2404 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_tx_poll() local
2433 if (!hw_if->tx_complete(rdesc)) in xgbe_tx_poll()
2443 if (hw_if->is_last_desc(rdesc)) { in xgbe_tx_poll()
2450 hw_if->tx_desc_reset(rdata); in xgbe_tx_poll()
2475 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_rx_poll() local
2522 if (hw_if->dev_read(channel)) in xgbe_rx_poll()