/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-drv.c | 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 [all …]
|
H A D | xgbe-dev.c | 2840 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 D | xgbe-ethtool.c | 226 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 564 ret = hw_if->set_rss_lookup_table(pdata, indir); in xgbe_set_rxfh() 570 ret = hw_if->set_rss_hash_key(pdata, key); in xgbe_set_rxfh()
|
H A D | xgbe-desc.c | 388 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 D | xgbe-ptp.c | 132 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 D | xgbe-mdio.c | 222 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 D | xgbe-dcb.c | 205 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 D | xgbe-main.c | 164 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 D | xgbe-phy-v2.c | 615 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 D | xgbe-common.h | 1746 ((_pdata)->hw_if.read_mmd_regs((_pdata), 0, \ 1753 ((_pdata)->hw_if.write_mmd_regs((_pdata), 0, \
|
H A D | xgbe.h | 1126 struct xgbe_hw_if hw_if; member
|