Home
last modified time | relevance | path

Searched refs:hw_if (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c248 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
[all …]
Dxgbe-dev.c2792 void xgbe_init_function_ptrs_dev(struct xgbe_hw_if *hw_if) in xgbe_init_function_ptrs_dev() argument
2796 hw_if->tx_complete = xgbe_tx_complete; in xgbe_init_function_ptrs_dev()
2798 hw_if->set_mac_address = xgbe_set_mac_address; in xgbe_init_function_ptrs_dev()
2799 hw_if->config_rx_mode = xgbe_config_rx_mode; in xgbe_init_function_ptrs_dev()
2801 hw_if->enable_rx_csum = xgbe_enable_rx_csum; in xgbe_init_function_ptrs_dev()
2802 hw_if->disable_rx_csum = xgbe_disable_rx_csum; in xgbe_init_function_ptrs_dev()
2804 hw_if->enable_rx_vlan_stripping = xgbe_enable_rx_vlan_stripping; in xgbe_init_function_ptrs_dev()
2805 hw_if->disable_rx_vlan_stripping = xgbe_disable_rx_vlan_stripping; in xgbe_init_function_ptrs_dev()
2806 hw_if->enable_rx_vlan_filtering = xgbe_enable_rx_vlan_filtering; in xgbe_init_function_ptrs_dev()
2807 hw_if->disable_rx_vlan_filtering = xgbe_disable_rx_vlan_filtering; in xgbe_init_function_ptrs_dev()
[all …]
Dxgbe-ethtool.c209 pdata->hw_if.read_mmc_stats(pdata); in xgbe_get_ethtool_stats()
413 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_coalesce() local
441 rx_riwt = hw_if->usec_to_riwt(pdata, ec->rx_coalesce_usecs); in xgbe_set_coalesce()
452 hw_if->riwt_to_usec(pdata, XGMAC_MAX_DMA_RIWT)); in xgbe_set_coalesce()
473 hw_if->config_rx_coalesce(pdata); in xgbe_set_coalesce()
476 hw_if->config_tx_coalesce(pdata); in xgbe_set_coalesce()
536 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_rxfh() local
545 ret = hw_if->set_rss_lookup_table(pdata, indir); in xgbe_set_rxfh()
551 ret = hw_if->set_rss_hash_key(pdata, key); in xgbe_set_rxfh()
Dxgbe-desc.c356 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_tx_descriptor_init() local
389 hw_if->tx_desc_init(channel); in xgbe_wrapper_tx_descriptor_init()
397 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_rx_descriptor_init() local
432 hw_if->rx_desc_init(channel); in xgbe_wrapper_rx_descriptor_init()
Dxgbe-dcb.c193 pdata->hw_if.config_dcb_tc(pdata); in xgbe_dcb_ieee_setets()
233 pdata->hw_if.config_dcb_pfc(pdata); in xgbe_dcb_ieee_setpfc()
Dxgbe-ptp.c132 nsec = pdata->hw_if.get_tstamp_time(pdata); in xgbe_cc_read()
161 pdata->hw_if.update_tstamp_addend(pdata, addend); in xgbe_adjfreq()
Dxgbe-mdio.c205 pdata->hw_if.set_xgmii_speed(pdata); in xgbe_xgmii_mode()
253 pdata->hw_if.set_gmii_2500_speed(pdata); in xgbe_gmii_2500_mode()
301 pdata->hw_if.set_gmii_speed(pdata); in xgbe_gmii_mode()
875 pdata->hw_if.config_tx_flow_control(pdata); in xgbe_phy_adjust_link()
881 pdata->hw_if.config_rx_flow_control(pdata); in xgbe_phy_adjust_link()
Dxgbe-main.c207 xgbe_init_function_ptrs_dev(&pdata->hw_if); in xgbe_init_all_fptrs()
653 pdata->hw_if.exit(pdata); in xgbe_probe()
Dxgbe-common.h1282 ((_pdata)->hw_if.read_mmd_regs((_pdata), 0, \
1289 ((_pdata)->hw_if.write_mmd_regs((_pdata), 0, \
Dxgbe.h788 struct xgbe_hw_if hw_if; member