Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c288 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_bh_work()
442 pdata->hw_if.disable_ecc_sec(pdata, XGBE_ECC_SEC_TX); in xgbe_ecc_isr_bh_work()
448 pdata->hw_if.disable_ecc_sec(pdata, XGBE_ECC_SEC_RX); in xgbe_ecc_isr_bh_work()
453 pdata->hw_if.disable_ecc_sec(pdata, XGBE_ECC_SEC_DESC); in xgbe_ecc_isr_bh_work()
479 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_isr_bh_work() local
[all …]
H A Dxgbe-dev.c2840 pdata->hw_if.disable_rx(pdata); in xgbe_config_dcb_pfc()
2848 pdata->hw_if.enable_rx(pdata); in xgbe_config_dcb_pfc()
3594 void xgbe_init_function_ptrs_dev(struct xgbe_hw_if *hw_if) in xgbe_init_function_ptrs_dev() argument
3598 hw_if->tx_complete = xgbe_tx_complete; in xgbe_init_function_ptrs_dev()
3600 hw_if->set_mac_address = xgbe_set_mac_address; in xgbe_init_function_ptrs_dev()
3601 hw_if->config_rx_mode = xgbe_config_rx_mode; in xgbe_init_function_ptrs_dev()
3603 hw_if->enable_rx_csum = xgbe_enable_rx_csum; in xgbe_init_function_ptrs_dev()
3604 hw_if->disable_rx_csum = xgbe_disable_rx_csum; in xgbe_init_function_ptrs_dev()
3606 hw_if->enable_rx_vlan_stripping = xgbe_enable_rx_vlan_stripping; in xgbe_init_function_ptrs_dev()
3607 hw_if->disable_rx_vlan_stripping = xgbe_disable_rx_vlan_stripping; in xgbe_init_function_ptrs_dev()
[all …]
H A Dxgbe-ethtool.c226 pdata->hw_if.read_mmc_stats(pdata); in xgbe_get_ethtool_stats()
456 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_coalesce() local
460 rx_riwt = hw_if->usec_to_riwt(pdata, ec->rx_coalesce_usecs); in xgbe_set_coalesce()
471 hw_if->riwt_to_usec(pdata, XGMAC_MAX_DMA_RIWT)); in xgbe_set_coalesce()
492 hw_if->config_rx_coalesce(pdata); in xgbe_set_coalesce()
495 hw_if->config_tx_coalesce(pdata); in xgbe_set_coalesce()
555 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_rxfh() local
565 ret = hw_if->set_rss_lookup_table(pdata, rxfh->indir); in xgbe_set_rxfh()
571 ret = hw_if->set_rss_hash_key(pdata, rxfh->key); in xgbe_set_rxfh()
H A Dxgbe-desc.c388 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_tx_descriptor_init() local
421 hw_if->tx_desc_init(channel); in xgbe_wrapper_tx_descriptor_init()
429 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_rx_descriptor_init() local
464 hw_if->rx_desc_init(channel); in xgbe_wrapper_rx_descriptor_init()
H A Dxgbe-ptp.c132 nsec = pdata->hw_if.get_tstamp_time(pdata); in xgbe_cc_read()
149 pdata->hw_if.update_tstamp_addend(pdata, addend); in xgbe_adjfine()
H A Dxgbe-mdio.c222 pdata->hw_if.set_speed(pdata, SPEED_10000); in xgbe_kr_mode()
231 pdata->hw_if.set_speed(pdata, SPEED_2500); in xgbe_kx_2500_mode()
240 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_kx_1000_mode()
253 pdata->hw_if.set_speed(pdata, SPEED_10000); in xgbe_sfi_mode()
262 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_x_mode()
271 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_sgmii_1000_mode()
280 pdata->hw_if.set_speed(pdata, SPEED_10); in xgbe_sgmii_10_mode()
289 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_sgmii_100_mode()
1132 pdata->hw_if.config_tx_flow_control(pdata); in xgbe_phy_adjust_link()
1138 pdata->hw_if.config_rx_flow_control(pdata); in xgbe_phy_adjust_link()
H A Dxgbe-dcb.c205 pdata->hw_if.config_dcb_tc(pdata); in xgbe_dcb_ieee_setets()
252 pdata->hw_if.config_dcb_pfc(pdata); in xgbe_dcb_ieee_setpfc()
H A Dxgbe-main.c164 xgbe_init_function_ptrs_dev(&pdata->hw_if); in xgbe_init_all_fptrs()
281 ret = pdata->hw_if.exit(pdata); in xgbe_config_netdev()
H A Dxgbe-phy-v2.c615 return pdata->hw_if.write_ext_mii_regs_c22(pdata, addr, reg, val); in xgbe_phy_mdio_mii_write_c22()
626 return pdata->hw_if.write_ext_mii_regs_c45(pdata, addr, devad, in xgbe_phy_mdio_mii_write_c45()
706 return pdata->hw_if.read_ext_mii_regs_c22(pdata, addr, reg); in xgbe_phy_mdio_mii_read_c22()
717 return pdata->hw_if.read_ext_mii_regs_c45(pdata, addr, devad, reg); in xgbe_phy_mdio_mii_read_c45()
1079 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->mdio_addr, in xgbe_phy_find_phy_device()
1999 return pdata->hw_if.write_ext_mii_regs_c22(pdata, phy_data->redrv_addr, in xgbe_phy_set_redrv_mode_mdio()
3025 ret = pdata->hw_if.set_gpio(pdata, phy_data->mdio_reset_gpio); in xgbe_phy_int_mdio_reset()
3029 ret = pdata->hw_if.clr_gpio(pdata, phy_data->mdio_reset_gpio); in xgbe_phy_int_mdio_reset()
3391 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->redrv_addr, in xgbe_phy_start()
3710 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->mdio_addr, in xgbe_phy_init()
[all …]
H A Dxgbe-common.h1746 ((_pdata)->hw_if.read_mmd_regs((_pdata), 0, \
1753 ((_pdata)->hw_if.write_mmd_regs((_pdata), 0, \
H A Dxgbe.h1126 struct xgbe_hw_if hw_if; member