Searched refs:hw_if (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 246 pdata->hw_if.tx_start_xmit(channel, ring); in xgbe_maybe_stop_tx_queue() 274 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_enable_rx_tx_ints() local 290 hw_if->enable_int(channel, int_id); in xgbe_enable_rx_tx_ints() 296 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_disable_rx_tx_ints() local 312 hw_if->disable_int(channel, int_id); in xgbe_disable_rx_tx_ints() 319 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_isr() local 372 hw_if->tx_mmc_int(pdata); in xgbe_isr() 375 hw_if->rx_mmc_int(pdata); in xgbe_isr() 383 hw_if->get_tx_tstamp(pdata); in xgbe_isr() 685 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_init_tx_coalesce() local [all …]
|
D | xgbe-dev.c | 2841 void xgbe_init_function_ptrs_dev(struct xgbe_hw_if *hw_if) in xgbe_init_function_ptrs_dev() argument 2845 hw_if->tx_complete = xgbe_tx_complete; in xgbe_init_function_ptrs_dev() 2847 hw_if->set_mac_address = xgbe_set_mac_address; in xgbe_init_function_ptrs_dev() 2848 hw_if->config_rx_mode = xgbe_config_rx_mode; in xgbe_init_function_ptrs_dev() 2850 hw_if->enable_rx_csum = xgbe_enable_rx_csum; in xgbe_init_function_ptrs_dev() 2851 hw_if->disable_rx_csum = xgbe_disable_rx_csum; in xgbe_init_function_ptrs_dev() 2853 hw_if->enable_rx_vlan_stripping = xgbe_enable_rx_vlan_stripping; in xgbe_init_function_ptrs_dev() 2854 hw_if->disable_rx_vlan_stripping = xgbe_disable_rx_vlan_stripping; in xgbe_init_function_ptrs_dev() 2855 hw_if->enable_rx_vlan_filtering = xgbe_enable_rx_vlan_filtering; in xgbe_init_function_ptrs_dev() 2856 hw_if->disable_rx_vlan_filtering = xgbe_disable_rx_vlan_filtering; in xgbe_init_function_ptrs_dev() [all …]
|
D | xgbe-ethtool.c | 206 pdata->hw_if.read_mmc_stats(pdata); in xgbe_get_ethtool_stats() 399 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_coalesce() local 427 rx_riwt = hw_if->usec_to_riwt(pdata, ec->rx_coalesce_usecs); in xgbe_set_coalesce() 438 hw_if->riwt_to_usec(pdata, XGMAC_MAX_DMA_RIWT)); in xgbe_set_coalesce() 459 hw_if->config_rx_coalesce(pdata); in xgbe_set_coalesce() 462 hw_if->config_tx_coalesce(pdata); in xgbe_set_coalesce() 524 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_rxfh() local 531 ret = hw_if->set_rss_lookup_table(pdata, indir); in xgbe_set_rxfh() 537 ret = hw_if->set_rss_hash_key(pdata, key); in xgbe_set_rxfh()
|
D | xgbe-mdio.c | 129 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_mdio_read() local 135 mmd_data = hw_if->read_mmd_regs(pdata, prtad, mmd_reg); in xgbe_mdio_read() 146 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_mdio_write() local 152 hw_if->write_mmd_regs(pdata, prtad, mmd_reg, mmd_data); in xgbe_mdio_write()
|
D | xgbe-main.c | 164 xgbe_init_function_ptrs_dev(&pdata->hw_if); in xgbe_init_all_fptrs() 261 struct xgbe_hw_if *hw_if; in xgbe_probe() local 391 hw_if = &pdata->hw_if; in xgbe_probe() 395 hw_if->exit(pdata); in xgbe_probe()
|
D | xgbe-desc.c | 350 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_tx_descriptor_init() local 383 hw_if->tx_desc_init(channel); in xgbe_wrapper_tx_descriptor_init() 391 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_rx_descriptor_init() local 426 hw_if->rx_desc_init(channel); in xgbe_wrapper_rx_descriptor_init()
|
D | xgbe-dcb.c | 190 pdata->hw_if.config_dcb_tc(pdata); in xgbe_dcb_ieee_setets() 229 pdata->hw_if.config_dcb_pfc(pdata); in xgbe_dcb_ieee_setpfc()
|
D | xgbe-ptp.c | 132 nsec = pdata->hw_if.get_tstamp_time(pdata); in xgbe_cc_read() 161 pdata->hw_if.update_tstamp_addend(pdata, addend); in xgbe_adjfreq()
|
D | xgbe-common.h | 1127 ((_pdata)->hw_if.read_mmd_regs((_pdata), 0, \ 1134 ((_pdata)->hw_if.write_mmd_regs((_pdata), 0, \
|
D | xgbe.h | 676 struct xgbe_hw_if hw_if; member
|