Lines Matching refs:bnx2x_phy
32 typedef int (*read_sfp_module_eeprom_func_p)(struct bnx2x_phy *phy,
217 static int bnx2x_sfp_module_detection(struct bnx2x_phy *phy,
2593 struct bnx2x_phy *phy, in bnx2x_cl22_write()
2628 struct bnx2x_phy *phy, in bnx2x_cl22_read()
2669 static int bnx2x_cl45_read(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read()
2744 static int bnx2x_cl45_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_write()
2955 static int bnx2x_eee_disable(struct bnx2x_phy *phy, in bnx2x_eee_disable()
2971 static int bnx2x_eee_advertise(struct bnx2x_phy *phy, in bnx2x_eee_advertise()
3008 static void bnx2x_eee_an_resolve(struct bnx2x_phy *phy, in bnx2x_eee_an_resolve()
3171 static void bnx2x_cl45_read_or_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read_or_write()
3180 struct bnx2x_phy *phy, in bnx2x_cl45_read_and_write()
3221 static u8 bnx2x_get_warpcore_lane(struct bnx2x_phy *phy, in bnx2x_get_warpcore_lane()
3276 struct bnx2x_phy *phy) in bnx2x_set_aer_mmd()
3345 static void bnx2x_xgxs_specific_func(struct bnx2x_phy *phy, in bnx2x_xgxs_specific_func()
3378 static void bnx2x_calc_ieee_aneg_adv(struct bnx2x_phy *phy, in bnx2x_calc_ieee_aneg_adv()
3461 struct bnx2x_phy *phy, in bnx2x_ext_phy_set_pause()
3487 static void bnx2x_pause_resolve(struct bnx2x_phy *phy, in bnx2x_pause_resolve()
3534 static void bnx2x_ext_phy_update_adv_fc(struct bnx2x_phy *phy, in bnx2x_ext_phy_update_adv_fc()
3589 static u8 bnx2x_ext_phy_resolve_fc(struct bnx2x_phy *phy, in bnx2x_ext_phy_resolve_fc()
3628 static void bnx2x_warpcore_enable_AN_KR2(struct bnx2x_phy *phy, in bnx2x_warpcore_enable_AN_KR2()
3669 struct bnx2x_phy *phy) in bnx2x_disable_kr2()
3702 static void bnx2x_warpcore_set_lpi_passthrough(struct bnx2x_phy *phy, in bnx2x_warpcore_set_lpi_passthrough()
3714 static void bnx2x_warpcore_restart_AN_KR(struct bnx2x_phy *phy, in bnx2x_warpcore_restart_AN_KR()
3729 static void bnx2x_warpcore_enable_AN_KR(struct bnx2x_phy *phy, in bnx2x_warpcore_enable_AN_KR()
3881 static void bnx2x_warpcore_set_10G_KR(struct bnx2x_phy *phy, in bnx2x_warpcore_set_10G_KR()
3949 static void bnx2x_warpcore_set_10G_XFI(struct bnx2x_phy *phy, in bnx2x_warpcore_set_10G_XFI()
4085 static void bnx2x_warpcore_set_20G_force_KR2(struct bnx2x_phy *phy, in bnx2x_warpcore_set_20G_force_KR2()
4139 struct bnx2x_phy *phy, in bnx2x_warpcore_set_20G_DXGXS()
4192 static void bnx2x_warpcore_set_sgmii_speed(struct bnx2x_phy *phy, in bnx2x_warpcore_set_sgmii_speed()
4275 struct bnx2x_phy *phy, in bnx2x_warpcore_reset_lane()
4292 static void bnx2x_warpcore_clear_regs(struct bnx2x_phy *phy, in bnx2x_warpcore_clear_regs()
4367 static int bnx2x_is_sfp_module_plugged(struct bnx2x_phy *phy, in bnx2x_is_sfp_module_plugged()
4385 static int bnx2x_warpcore_get_sigdet(struct bnx2x_phy *phy, in bnx2x_warpcore_get_sigdet()
4399 static void bnx2x_warpcore_config_runtime(struct bnx2x_phy *phy, in bnx2x_warpcore_config_runtime()
4452 static void bnx2x_warpcore_config_sfi(struct bnx2x_phy *phy, in bnx2x_warpcore_config_sfi()
4470 struct bnx2x_phy *phy, in bnx2x_sfp_e3_set_transmitter()
4490 static void bnx2x_warpcore_config_init(struct bnx2x_phy *phy, in bnx2x_warpcore_config_init()
4598 static void bnx2x_warpcore_link_reset(struct bnx2x_phy *phy, in bnx2x_warpcore_link_reset()
4653 static void bnx2x_set_warpcore_loopback(struct bnx2x_phy *phy, in bnx2x_set_warpcore_loopback()
4872 struct bnx2x_phy *phy) in bnx2x_set_master_ln()
4893 struct bnx2x_phy *phy, in bnx2x_reset_unicore()
4937 struct bnx2x_phy *phy) in bnx2x_set_swap_lanes()
4978 static void bnx2x_set_parallel_detection(struct bnx2x_phy *phy, in bnx2x_set_parallel_detection()
5031 static void bnx2x_set_autoneg(struct bnx2x_phy *phy, in bnx2x_set_autoneg()
5135 static void bnx2x_program_serdes(struct bnx2x_phy *phy, in bnx2x_program_serdes()
5184 static void bnx2x_set_brcm_cl37_advertisement(struct bnx2x_phy *phy, in bnx2x_set_brcm_cl37_advertisement()
5204 static void bnx2x_set_ieee_aneg_advertisement(struct bnx2x_phy *phy, in bnx2x_set_ieee_aneg_advertisement()
5225 static void bnx2x_restart_autoneg(struct bnx2x_phy *phy, in bnx2x_restart_autoneg()
5265 static void bnx2x_initialize_sgmii_process(struct bnx2x_phy *phy, in bnx2x_initialize_sgmii_process()
5337 static int bnx2x_direct_parallel_detect_used(struct bnx2x_phy *phy, in bnx2x_direct_parallel_detect_used()
5371 static void bnx2x_update_adv_fc(struct bnx2x_phy *phy, in bnx2x_update_adv_fc()
5418 static void bnx2x_flow_ctrl_resolve(struct bnx2x_phy *phy, in bnx2x_flow_ctrl_resolve()
5446 static void bnx2x_check_fallback_to_cl37(struct bnx2x_phy *phy, in bnx2x_check_fallback_to_cl37()
5514 static void bnx2x_xgxs_an_resolve(struct bnx2x_phy *phy, in bnx2x_xgxs_an_resolve()
5527 static int bnx2x_get_link_speed_duplex(struct bnx2x_phy *phy, in bnx2x_get_link_speed_duplex()
5618 static int bnx2x_link_settings_status(struct bnx2x_phy *phy, in bnx2x_link_settings_status()
5692 static int bnx2x_warpcore_read_status(struct bnx2x_phy *phy, in bnx2x_warpcore_read_status()
5820 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; in bnx2x_set_gmii_tx_driver()
5903 static void bnx2x_set_preemphasis(struct bnx2x_phy *phy, in bnx2x_set_preemphasis()
5927 static void bnx2x_xgxs_config_init(struct bnx2x_phy *phy, in bnx2x_xgxs_config_init()
5976 static int bnx2x_prepare_xgxs(struct bnx2x_phy *phy, in bnx2x_prepare_xgxs()
6016 struct bnx2x_phy *phy, in bnx2x_wait_reset_complete()
6241 static void bnx2x_set_xgxs_loopback(struct bnx2x_phy *phy, in bnx2x_set_xgxs_loopback()
6452 struct bnx2x_phy *int_phy = ¶ms->phy[INT_PHY]; in bnx2x_test_link()
6551 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; in bnx2x_link_initialize()
6604 static void bnx2x_int_link_reset(struct bnx2x_phy *phy, in bnx2x_int_link_reset()
6612 static void bnx2x_common_ext_link_reset(struct bnx2x_phy *phy, in bnx2x_common_ext_link_reset()
6857 struct bnx2x_phy *phy = ¶ms->phy[phy_index]; in bnx2x_link_update()
7078 struct bnx2x_phy *phy, in bnx2x_save_bcm_spirom_ver()
7092 struct bnx2x_phy *phy, in bnx2x_ext_phy_10G_an_resolve()
7111 static void bnx2x_8073_resolve_fc(struct bnx2x_phy *phy, in bnx2x_8073_resolve_fc()
7145 struct bnx2x_phy *phy, in bnx2x_8073_8727_external_rom_boot()
7225 static int bnx2x_8073_is_snr_needed(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_is_snr_needed()
7251 static int bnx2x_8073_xaui_wa(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_xaui_wa()
7307 static void bnx2x_807x_force_10G(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_807x_force_10G()
7321 struct bnx2x_phy *phy, in bnx2x_8073_set_pause_cl37()
7355 static void bnx2x_8073_specific_func(struct bnx2x_phy *phy, in bnx2x_8073_specific_func()
7371 static int bnx2x_8073_config_init(struct bnx2x_phy *phy, in bnx2x_8073_config_init()
7519 static u8 bnx2x_8073_read_status(struct bnx2x_phy *phy, in bnx2x_8073_read_status()
7664 static void bnx2x_8073_link_reset(struct bnx2x_phy *phy, in bnx2x_8073_link_reset()
7683 static int bnx2x_8705_config_init(struct bnx2x_phy *phy, in bnx2x_8705_config_init()
7710 static u8 bnx2x_8705_read_status(struct bnx2x_phy *phy, in bnx2x_8705_read_status()
7747 struct bnx2x_phy *phy, in bnx2x_set_disable_pmd_transmit()
7784 struct bnx2x_phy *phy, in bnx2x_sfp_e1e2_set_transmitter()
7841 struct bnx2x_phy *phy, in bnx2x_sfp_set_transmitter()
7852 static int bnx2x_8726_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_8726_read_sfp_module_eeprom()
7940 static int bnx2x_warpcore_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_warpcore_read_sfp_module_eeprom()
7981 static int bnx2x_8727_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_8727_read_sfp_module_eeprom()
8076 int bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_read_sfp_module_eeprom()
8118 static int bnx2x_get_edc_mode(struct bnx2x_phy *phy, in bnx2x_get_edc_mode()
8260 static int bnx2x_verify_sfp_module(struct bnx2x_phy *phy, in bnx2x_verify_sfp_module()
8334 static int bnx2x_wait_for_sfp_module_initialized(struct bnx2x_phy *phy, in bnx2x_wait_for_sfp_module_initialized()
8369 struct bnx2x_phy *phy, in bnx2x_8727_power_module()
8401 struct bnx2x_phy *phy, in bnx2x_8726_set_limiting_mode()
8450 struct bnx2x_phy *phy, in bnx2x_8727_set_limiting_mode()
8483 static void bnx2x_8727_specific_func(struct bnx2x_phy *phy, in bnx2x_8727_specific_func()
8591 static void bnx2x_warpcore_hw_reset(struct bnx2x_phy *phy, in bnx2x_warpcore_hw_reset()
8606 struct bnx2x_phy *phy, in bnx2x_power_sfp_module()
8625 struct bnx2x_phy *phy, in bnx2x_warpcore_set_limiting_mode()
8665 struct bnx2x_phy *phy, in bnx2x_set_limiting_mode()
8682 static int bnx2x_sfp_module_detection(struct bnx2x_phy *phy, in bnx2x_sfp_module_detection()
8740 struct bnx2x_phy *phy; in bnx2x_handle_module_detect_int()
8810 struct bnx2x_phy *phy, in bnx2x_sfp_mask_fault()
8832 static u8 bnx2x_8706_8726_read_status(struct bnx2x_phy *phy, in bnx2x_8706_8726_read_status()
8894 static u8 bnx2x_8706_config_init(struct bnx2x_phy *phy, in bnx2x_8706_config_init()
9000 static int bnx2x_8706_read_status(struct bnx2x_phy *phy, in bnx2x_8706_read_status()
9010 static void bnx2x_8726_config_loopback(struct bnx2x_phy *phy, in bnx2x_8726_config_loopback()
9018 static void bnx2x_8726_external_rom_boot(struct bnx2x_phy *phy, in bnx2x_8726_external_rom_boot()
9056 static u8 bnx2x_8726_read_status(struct bnx2x_phy *phy, in bnx2x_8726_read_status()
9077 static int bnx2x_8726_config_init(struct bnx2x_phy *phy, in bnx2x_8726_config_init()
9162 static void bnx2x_8726_link_reset(struct bnx2x_phy *phy, in bnx2x_8726_link_reset()
9177 static void bnx2x_8727_set_link_led(struct bnx2x_phy *phy, in bnx2x_8727_set_link_led()
9223 static void bnx2x_8727_hw_reset(struct bnx2x_phy *phy, in bnx2x_8727_hw_reset()
9238 static void bnx2x_8727_config_speed(struct bnx2x_phy *phy, in bnx2x_8727_config_speed()
9295 static int bnx2x_8727_config_init(struct bnx2x_phy *phy, in bnx2x_8727_config_init()
9381 static void bnx2x_8727_handle_mod_abs(struct bnx2x_phy *phy, in bnx2x_8727_handle_mod_abs()
9466 static u8 bnx2x_8727_read_status(struct bnx2x_phy *phy, in bnx2x_8727_read_status()
9625 static void bnx2x_8727_link_reset(struct bnx2x_phy *phy, in bnx2x_8727_link_reset()
9643 static int bnx2x_is_8483x_8485x(struct bnx2x_phy *phy) in bnx2x_is_8483x_8485x()
9650 static void bnx2x_save_848xx_spirom_version(struct bnx2x_phy *phy, in bnx2x_save_848xx_spirom_version()
9720 struct bnx2x_phy *phy) in bnx2x_848xx_set_led()
9784 static void bnx2x_848xx_specific_func(struct bnx2x_phy *phy, in bnx2x_848xx_specific_func()
9807 static int bnx2x_848xx_cmn_config_init(struct bnx2x_phy *phy, in bnx2x_848xx_cmn_config_init()
9953 static int bnx2x_8481_config_init(struct bnx2x_phy *phy, in bnx2x_8481_config_init()
9973 static int bnx2x_84858_cmd_hdlr(struct bnx2x_phy *phy, in bnx2x_84858_cmd_hdlr()
10050 static int bnx2x_84833_cmd_hdlr(struct bnx2x_phy *phy, in bnx2x_84833_cmd_hdlr()
10128 static int bnx2x_848xx_cmd_hdlr(struct bnx2x_phy *phy, in bnx2x_848xx_cmd_hdlr()
10149 static int bnx2x_848xx_pair_swap_cfg(struct bnx2x_phy *phy, in bnx2x_848xx_pair_swap_cfg()
10217 static int bnx2x_84833_hw_reset_phy(struct bnx2x_phy *phy, in bnx2x_84833_hw_reset_phy()
10250 static int bnx2x_8483x_disable_eee(struct bnx2x_phy *phy, in bnx2x_8483x_disable_eee()
10271 static int bnx2x_8483x_enable_eee(struct bnx2x_phy *phy, in bnx2x_8483x_enable_eee()
10290 static int bnx2x_848x3_config_init(struct bnx2x_phy *phy, in bnx2x_848x3_config_init()
10491 static u8 bnx2x_848xx_read_status(struct bnx2x_phy *phy, in bnx2x_848xx_read_status()
10637 static void bnx2x_8481_hw_reset(struct bnx2x_phy *phy, in bnx2x_8481_hw_reset()
10646 static void bnx2x_8481_link_reset(struct bnx2x_phy *phy, in bnx2x_8481_link_reset()
10655 static void bnx2x_848x3_link_reset(struct bnx2x_phy *phy, in bnx2x_848x3_link_reset()
10682 static void bnx2x_848xx_set_link_led(struct bnx2x_phy *phy, in bnx2x_848xx_set_link_led()
11016 static void bnx2x_54618se_specific_func(struct bnx2x_phy *phy, in bnx2x_54618se_specific_func()
11045 static int bnx2x_54618se_config_init(struct bnx2x_phy *phy, in bnx2x_54618se_config_init()
11252 static void bnx2x_5461x_set_link_led(struct bnx2x_phy *phy, in bnx2x_5461x_set_link_led()
11288 static void bnx2x_54618se_link_reset(struct bnx2x_phy *phy, in bnx2x_54618se_link_reset()
11313 static u8 bnx2x_54618se_read_status(struct bnx2x_phy *phy, in bnx2x_54618se_read_status()
11420 static void bnx2x_54618se_config_loopback(struct bnx2x_phy *phy, in bnx2x_54618se_config_loopback()
11463 static void bnx2x_7101_config_loopback(struct bnx2x_phy *phy, in bnx2x_7101_config_loopback()
11472 static int bnx2x_7101_config_init(struct bnx2x_phy *phy, in bnx2x_7101_config_init()
11512 static u8 bnx2x_7101_read_status(struct bnx2x_phy *phy, in bnx2x_7101_read_status()
11565 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_sfx7101_sp_sw_reset()
11590 static void bnx2x_7101_hw_reset(struct bnx2x_phy *phy, in bnx2x_7101_hw_reset()
11600 static void bnx2x_7101_set_link_led(struct bnx2x_phy *phy, in bnx2x_7101_set_link_led()
11627 static const struct bnx2x_phy phy_null = {
11653 static const struct bnx2x_phy phy_serdes = {
11688 static const struct bnx2x_phy phy_xgxs = {
11723 static const struct bnx2x_phy phy_warpcore = {
11763 static const struct bnx2x_phy phy_7101 = {
11792 static const struct bnx2x_phy phy_8073 = {
11823 static const struct bnx2x_phy phy_8705 = {
11851 static const struct bnx2x_phy phy_8706 = {
11881 static const struct bnx2x_phy phy_8726 = {
11913 static const struct bnx2x_phy phy_8727 = {
11943 static const struct bnx2x_phy phy_8481 = {
11979 static const struct bnx2x_phy phy_84823 = {
12016 static const struct bnx2x_phy phy_84833 = {
12051 static const struct bnx2x_phy phy_84834 = {
12085 static const struct bnx2x_phy phy_84858 = {
12119 static const struct bnx2x_phy phy_54618se = {
12159 struct bnx2x_phy *phy, u8 port, in bnx2x_populate_preemphasis()
12218 struct bnx2x_phy *phy) in bnx2x_populate_int_phy()
12359 struct bnx2x_phy *phy) in bnx2x_populate_ext_phy()
12483 u32 shmem2_base, u8 port, struct bnx2x_phy *phy) in bnx2x_populate_phy()
12494 struct bnx2x_phy *phy, in bnx2x_phy_def_cfg()
12605 struct bnx2x_phy *phy; in bnx2x_phy_probe()
12758 struct bnx2x_phy *int_phy = ¶ms->phy[INT_PHY]; in bnx2x_init_xgxs_loopback()
12841 struct bnx2x_phy *phy = ¶ms->phy[phy_idx]; in bnx2x_avoid_link_flap()
13199 struct bnx2x_phy phy[PORT_MAX]; in bnx2x_8073_common_init_phy()
13200 struct bnx2x_phy *phy_blk[PORT_MAX]; in bnx2x_8073_common_init_phy()
13327 struct bnx2x_phy phy; in bnx2x_8726_common_init_phy()
13422 struct bnx2x_phy phy[PORT_MAX]; in bnx2x_8727_common_init_phy()
13423 struct bnx2x_phy *phy_blk[PORT_MAX]; in bnx2x_8727_common_init_phy()
13796 static void bnx2x_sfp_tx_fault_detection(struct bnx2x_phy *phy, in bnx2x_sfp_tx_fault_detection()
13841 struct bnx2x_phy *phy) in bnx2x_kr2_recovery()
13851 struct bnx2x_phy *phy) in bnx2x_check_kr2_wa()
13937 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; in bnx2x_period_func()
13973 struct bnx2x_phy phy; in bnx2x_fan_failure_det_req()
14025 struct bnx2x_phy phy; in bnx2x_init_mod_abs_int()