Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c312 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_enable_rx_tx_int() local
338 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_disable_rx_tx_int() local
479 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_isr_bh_work() local
1100 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_init_tx_coalesce() local
1114 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_init_rx_coalesce() local
1184 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_powerdown() local
1223 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_powerup() local
1312 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_start() local
1377 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_stop() local
1941 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_xmit() local
[all …]
H A Dxgbe-dev.c2852 pdata->hw_if.disable_rx(pdata); in xgbe_config_dcb_pfc()
2860 pdata->hw_if.enable_rx(pdata); in xgbe_config_dcb_pfc()
3631 hw_if->set_speed = xgbe_set_speed; in xgbe_init_function_ptrs_dev()
3639 hw_if->set_gpio = xgbe_set_gpio; in xgbe_init_function_ptrs_dev()
3640 hw_if->clr_gpio = xgbe_clr_gpio; in xgbe_init_function_ptrs_dev()
3642 hw_if->enable_tx = xgbe_enable_tx; in xgbe_init_function_ptrs_dev()
3644 hw_if->enable_rx = xgbe_enable_rx; in xgbe_init_function_ptrs_dev()
3652 hw_if->dev_xmit = xgbe_dev_xmit; in xgbe_init_function_ptrs_dev()
3653 hw_if->dev_read = xgbe_dev_read; in xgbe_init_function_ptrs_dev()
3656 hw_if->init = xgbe_init; in xgbe_init_function_ptrs_dev()
[all …]
H A Dxgbe-ethtool.c222 pdata->hw_if.read_mmc_stats(pdata); in xgbe_get_ethtool_stats()
452 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_coalesce() local
456 rx_riwt = hw_if->usec_to_riwt(pdata, ec->rx_coalesce_usecs); in xgbe_set_coalesce()
467 hw_if->riwt_to_usec(pdata, XGMAC_MAX_DMA_RIWT)); in xgbe_set_coalesce()
488 hw_if->config_rx_coalesce(pdata); in xgbe_set_coalesce()
491 hw_if->config_tx_coalesce(pdata); in xgbe_set_coalesce()
551 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_rxfh() local
561 ret = hw_if->set_rss_lookup_table(pdata, rxfh->indir); in xgbe_set_rxfh()
567 ret = hw_if->set_rss_hash_key(pdata, rxfh->key); in xgbe_set_rxfh()
H A Dxgbe-desc.c393 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_tx_descriptor_init() local
426 hw_if->tx_desc_init(channel); in xgbe_wrapper_tx_descriptor_init()
434 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_rx_descriptor_init() local
469 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-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-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-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()
1064 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->mdio_addr, in xgbe_phy_find_phy_device()
1984 return pdata->hw_if.write_ext_mii_regs_c22(pdata, phy_data->redrv_addr, in xgbe_phy_set_redrv_mode_mdio()
3010 ret = pdata->hw_if.set_gpio(pdata, phy_data->mdio_reset_gpio); in xgbe_phy_int_mdio_reset()
3014 ret = pdata->hw_if.clr_gpio(pdata, phy_data->mdio_reset_gpio); in xgbe_phy_int_mdio_reset()
3376 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->redrv_addr, in xgbe_phy_start()
3695 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.h1130 struct xgbe_hw_if hw_if; member