Lines Matching defs: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()
3515 static void bnx2x_ext_phy_update_adv_fc(struct bnx2x_phy *phy, in bnx2x_ext_phy_update_adv_fc()
3570 static u8 bnx2x_ext_phy_resolve_fc(struct bnx2x_phy *phy, in bnx2x_ext_phy_resolve_fc()
3608 static void bnx2x_warpcore_enable_AN_KR2(struct bnx2x_phy *phy, in bnx2x_warpcore_enable_AN_KR2()
3649 struct bnx2x_phy *phy) in bnx2x_disable_kr2()
3682 static void bnx2x_warpcore_set_lpi_passthrough(struct bnx2x_phy *phy, in bnx2x_warpcore_set_lpi_passthrough()
3694 static void bnx2x_warpcore_restart_AN_KR(struct bnx2x_phy *phy, in bnx2x_warpcore_restart_AN_KR()
3709 static void bnx2x_warpcore_enable_AN_KR(struct bnx2x_phy *phy, in bnx2x_warpcore_enable_AN_KR()
3861 static void bnx2x_warpcore_set_10G_KR(struct bnx2x_phy *phy, in bnx2x_warpcore_set_10G_KR()
3929 static void bnx2x_warpcore_set_10G_XFI(struct bnx2x_phy *phy, in bnx2x_warpcore_set_10G_XFI()
4043 static void bnx2x_warpcore_set_20G_force_KR2(struct bnx2x_phy *phy, in bnx2x_warpcore_set_20G_force_KR2()
4097 struct bnx2x_phy *phy, in bnx2x_warpcore_set_20G_DXGXS()
4150 static void bnx2x_warpcore_set_sgmii_speed(struct bnx2x_phy *phy, in bnx2x_warpcore_set_sgmii_speed()
4233 struct bnx2x_phy *phy, in bnx2x_warpcore_reset_lane()
4250 static void bnx2x_warpcore_clear_regs(struct bnx2x_phy *phy, in bnx2x_warpcore_clear_regs()
4325 static int bnx2x_is_sfp_module_plugged(struct bnx2x_phy *phy, in bnx2x_is_sfp_module_plugged()
4343 static int bnx2x_warpcore_get_sigdet(struct bnx2x_phy *phy, in bnx2x_warpcore_get_sigdet()
4357 static void bnx2x_warpcore_config_runtime(struct bnx2x_phy *phy, in bnx2x_warpcore_config_runtime()
4410 static void bnx2x_warpcore_config_sfi(struct bnx2x_phy *phy, in bnx2x_warpcore_config_sfi()
4428 struct bnx2x_phy *phy, in bnx2x_sfp_e3_set_transmitter()
4448 static void bnx2x_warpcore_config_init(struct bnx2x_phy *phy, in bnx2x_warpcore_config_init()
4556 static void bnx2x_warpcore_link_reset(struct bnx2x_phy *phy, in bnx2x_warpcore_link_reset()
4611 static void bnx2x_set_warpcore_loopback(struct bnx2x_phy *phy, in bnx2x_set_warpcore_loopback()
4830 struct bnx2x_phy *phy) in bnx2x_set_master_ln()
4851 struct bnx2x_phy *phy, in bnx2x_reset_unicore()
4895 struct bnx2x_phy *phy) in bnx2x_set_swap_lanes()
4936 static void bnx2x_set_parallel_detection(struct bnx2x_phy *phy, in bnx2x_set_parallel_detection()
4989 static void bnx2x_set_autoneg(struct bnx2x_phy *phy, in bnx2x_set_autoneg()
5093 static void bnx2x_program_serdes(struct bnx2x_phy *phy, in bnx2x_program_serdes()
5142 static void bnx2x_set_brcm_cl37_advertisement(struct bnx2x_phy *phy, in bnx2x_set_brcm_cl37_advertisement()
5162 static void bnx2x_set_ieee_aneg_advertisement(struct bnx2x_phy *phy, in bnx2x_set_ieee_aneg_advertisement()
5183 static void bnx2x_restart_autoneg(struct bnx2x_phy *phy, in bnx2x_restart_autoneg()
5223 static void bnx2x_initialize_sgmii_process(struct bnx2x_phy *phy, in bnx2x_initialize_sgmii_process()
5295 static int bnx2x_direct_parallel_detect_used(struct bnx2x_phy *phy, in bnx2x_direct_parallel_detect_used()
5329 static void bnx2x_update_adv_fc(struct bnx2x_phy *phy, in bnx2x_update_adv_fc()
5376 static void bnx2x_flow_ctrl_resolve(struct bnx2x_phy *phy, in bnx2x_flow_ctrl_resolve()
5404 static void bnx2x_check_fallback_to_cl37(struct bnx2x_phy *phy, in bnx2x_check_fallback_to_cl37()
5472 static void bnx2x_xgxs_an_resolve(struct bnx2x_phy *phy, in bnx2x_xgxs_an_resolve()
5485 static int bnx2x_get_link_speed_duplex(struct bnx2x_phy *phy, in bnx2x_get_link_speed_duplex()
5576 static int bnx2x_link_settings_status(struct bnx2x_phy *phy, in bnx2x_link_settings_status()
5650 static int bnx2x_warpcore_read_status(struct bnx2x_phy *phy, in bnx2x_warpcore_read_status()
5778 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; in bnx2x_set_gmii_tx_driver() local
5861 static void bnx2x_set_preemphasis(struct bnx2x_phy *phy, in bnx2x_set_preemphasis()
5885 static void bnx2x_xgxs_config_init(struct bnx2x_phy *phy, in bnx2x_xgxs_config_init()
5934 static int bnx2x_prepare_xgxs(struct bnx2x_phy *phy, in bnx2x_prepare_xgxs()
5974 struct bnx2x_phy *phy, in bnx2x_wait_reset_complete()
6208 static void bnx2x_set_xgxs_loopback(struct bnx2x_phy *phy, in bnx2x_set_xgxs_loopback()
6517 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; in bnx2x_link_initialize() local
6570 static void bnx2x_int_link_reset(struct bnx2x_phy *phy, in bnx2x_int_link_reset()
6578 static void bnx2x_common_ext_link_reset(struct bnx2x_phy *phy, in bnx2x_common_ext_link_reset()
6803 struct bnx2x_phy *phy = ¶ms->phy[phy_index]; in bnx2x_link_update() local
7021 struct bnx2x_phy *phy, in bnx2x_save_bcm_spirom_ver()
7035 struct bnx2x_phy *phy, in bnx2x_ext_phy_10G_an_resolve()
7054 static void bnx2x_8073_resolve_fc(struct bnx2x_phy *phy, in bnx2x_8073_resolve_fc()
7088 struct bnx2x_phy *phy, in bnx2x_8073_8727_external_rom_boot()
7168 static int bnx2x_8073_is_snr_needed(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_is_snr_needed()
7194 static int bnx2x_8073_xaui_wa(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_xaui_wa()
7250 static void bnx2x_807x_force_10G(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_807x_force_10G()
7264 struct bnx2x_phy *phy, in bnx2x_8073_set_pause_cl37()
7298 static void bnx2x_8073_specific_func(struct bnx2x_phy *phy, in bnx2x_8073_specific_func()
7314 static int bnx2x_8073_config_init(struct bnx2x_phy *phy, in bnx2x_8073_config_init()
7462 static u8 bnx2x_8073_read_status(struct bnx2x_phy *phy, in bnx2x_8073_read_status()
7607 static void bnx2x_8073_link_reset(struct bnx2x_phy *phy, in bnx2x_8073_link_reset()
7626 static int bnx2x_8705_config_init(struct bnx2x_phy *phy, in bnx2x_8705_config_init()
7653 static u8 bnx2x_8705_read_status(struct bnx2x_phy *phy, in bnx2x_8705_read_status()
7690 struct bnx2x_phy *phy, in bnx2x_set_disable_pmd_transmit()
7727 struct bnx2x_phy *phy, in bnx2x_sfp_e1e2_set_transmitter()
7784 struct bnx2x_phy *phy, in bnx2x_sfp_set_transmitter()
7795 static int bnx2x_8726_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_8726_read_sfp_module_eeprom()
7883 static int bnx2x_warpcore_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_warpcore_read_sfp_module_eeprom()
7924 static int bnx2x_8727_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_8727_read_sfp_module_eeprom()
8019 int bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_read_sfp_module_eeprom()
8061 static int bnx2x_get_edc_mode(struct bnx2x_phy *phy, in bnx2x_get_edc_mode()
8202 static int bnx2x_verify_sfp_module(struct bnx2x_phy *phy, in bnx2x_verify_sfp_module()
8276 static int bnx2x_wait_for_sfp_module_initialized(struct bnx2x_phy *phy, in bnx2x_wait_for_sfp_module_initialized()
8311 struct bnx2x_phy *phy, in bnx2x_8727_power_module()
8343 struct bnx2x_phy *phy, in bnx2x_8726_set_limiting_mode()
8392 struct bnx2x_phy *phy, in bnx2x_8727_set_limiting_mode()
8425 static void bnx2x_8727_specific_func(struct bnx2x_phy *phy, in bnx2x_8727_specific_func()
8533 static void bnx2x_warpcore_hw_reset(struct bnx2x_phy *phy, in bnx2x_warpcore_hw_reset()
8548 struct bnx2x_phy *phy, in bnx2x_power_sfp_module()
8567 struct bnx2x_phy *phy, in bnx2x_warpcore_set_limiting_mode()
8607 struct bnx2x_phy *phy, in bnx2x_set_limiting_mode()
8624 static int bnx2x_sfp_module_detection(struct bnx2x_phy *phy, in bnx2x_sfp_module_detection()
8682 struct bnx2x_phy *phy; in bnx2x_handle_module_detect_int() local
8752 struct bnx2x_phy *phy, in bnx2x_sfp_mask_fault()
8774 static u8 bnx2x_8706_8726_read_status(struct bnx2x_phy *phy, in bnx2x_8706_8726_read_status()
8836 static u8 bnx2x_8706_config_init(struct bnx2x_phy *phy, in bnx2x_8706_config_init()
8942 static int bnx2x_8706_read_status(struct bnx2x_phy *phy, in bnx2x_8706_read_status()
8952 static void bnx2x_8726_config_loopback(struct bnx2x_phy *phy, in bnx2x_8726_config_loopback()
8960 static void bnx2x_8726_external_rom_boot(struct bnx2x_phy *phy, in bnx2x_8726_external_rom_boot()
8998 static u8 bnx2x_8726_read_status(struct bnx2x_phy *phy, in bnx2x_8726_read_status()
9019 static int bnx2x_8726_config_init(struct bnx2x_phy *phy, in bnx2x_8726_config_init()
9104 static void bnx2x_8726_link_reset(struct bnx2x_phy *phy, in bnx2x_8726_link_reset()
9119 static void bnx2x_8727_set_link_led(struct bnx2x_phy *phy, in bnx2x_8727_set_link_led()
9165 static void bnx2x_8727_hw_reset(struct bnx2x_phy *phy, in bnx2x_8727_hw_reset()
9180 static void bnx2x_8727_config_speed(struct bnx2x_phy *phy, in bnx2x_8727_config_speed()
9237 static int bnx2x_8727_config_init(struct bnx2x_phy *phy, in bnx2x_8727_config_init()
9323 static void bnx2x_8727_handle_mod_abs(struct bnx2x_phy *phy, in bnx2x_8727_handle_mod_abs()
9408 static u8 bnx2x_8727_read_status(struct bnx2x_phy *phy, in bnx2x_8727_read_status()
9567 static void bnx2x_8727_link_reset(struct bnx2x_phy *phy, in bnx2x_8727_link_reset()
9585 static void bnx2x_save_848xx_spirom_version(struct bnx2x_phy *phy, in bnx2x_save_848xx_spirom_version()
9655 struct bnx2x_phy *phy) in bnx2x_848xx_set_led()
9694 static void bnx2x_848xx_specific_func(struct bnx2x_phy *phy, in bnx2x_848xx_specific_func()
9718 static int bnx2x_848xx_cmn_config_init(struct bnx2x_phy *phy, in bnx2x_848xx_cmn_config_init()
9865 static int bnx2x_8481_config_init(struct bnx2x_phy *phy, in bnx2x_8481_config_init()
9884 static int bnx2x_84833_cmd_hdlr(struct bnx2x_phy *phy, in bnx2x_84833_cmd_hdlr()
9940 static int bnx2x_84833_pair_swap_cfg(struct bnx2x_phy *phy, in bnx2x_84833_pair_swap_cfg()
10007 static int bnx2x_84833_hw_reset_phy(struct bnx2x_phy *phy, in bnx2x_84833_hw_reset_phy()
10040 static int bnx2x_8483x_disable_eee(struct bnx2x_phy *phy, in bnx2x_8483x_disable_eee()
10061 static int bnx2x_8483x_enable_eee(struct bnx2x_phy *phy, in bnx2x_8483x_enable_eee()
10080 static int bnx2x_848x3_config_init(struct bnx2x_phy *phy, in bnx2x_848x3_config_init()
10246 static u8 bnx2x_848xx_read_status(struct bnx2x_phy *phy, in bnx2x_848xx_read_status()
10385 static void bnx2x_8481_hw_reset(struct bnx2x_phy *phy, in bnx2x_8481_hw_reset()
10394 static void bnx2x_8481_link_reset(struct bnx2x_phy *phy, in bnx2x_8481_link_reset()
10403 static void bnx2x_848x3_link_reset(struct bnx2x_phy *phy, in bnx2x_848x3_link_reset()
10430 static void bnx2x_848xx_set_link_led(struct bnx2x_phy *phy, in bnx2x_848xx_set_link_led()
10706 static void bnx2x_54618se_specific_func(struct bnx2x_phy *phy, in bnx2x_54618se_specific_func()
10735 static int bnx2x_54618se_config_init(struct bnx2x_phy *phy, in bnx2x_54618se_config_init()
10942 static void bnx2x_5461x_set_link_led(struct bnx2x_phy *phy, in bnx2x_5461x_set_link_led()
10978 static void bnx2x_54618se_link_reset(struct bnx2x_phy *phy, in bnx2x_54618se_link_reset()
11003 static u8 bnx2x_54618se_read_status(struct bnx2x_phy *phy, in bnx2x_54618se_read_status()
11110 static void bnx2x_54618se_config_loopback(struct bnx2x_phy *phy, in bnx2x_54618se_config_loopback()
11153 static void bnx2x_7101_config_loopback(struct bnx2x_phy *phy, in bnx2x_7101_config_loopback()
11162 static int bnx2x_7101_config_init(struct bnx2x_phy *phy, in bnx2x_7101_config_init()
11202 static u8 bnx2x_7101_read_status(struct bnx2x_phy *phy, in bnx2x_7101_read_status()
11255 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_sfx7101_sp_sw_reset()
11280 static void bnx2x_7101_hw_reset(struct bnx2x_phy *phy, in bnx2x_7101_hw_reset()
11290 static void bnx2x_7101_set_link_led(struct bnx2x_phy *phy, in bnx2x_7101_set_link_led()
11813 struct bnx2x_phy *phy, u8 port, in bnx2x_populate_preemphasis()
11872 struct bnx2x_phy *phy) in bnx2x_populate_int_phy()
12013 struct bnx2x_phy *phy) in bnx2x_populate_ext_phy()
12136 u32 shmem2_base, u8 port, struct bnx2x_phy *phy) in bnx2x_populate_phy()
12148 struct bnx2x_phy *phy, in bnx2x_phy_def_cfg()
12257 struct bnx2x_phy *phy; in bnx2x_phy_probe() local
12493 struct bnx2x_phy *phy = ¶ms->phy[phy_idx]; in bnx2x_avoid_link_flap() local
12849 struct bnx2x_phy phy[PORT_MAX]; in bnx2x_8073_common_init_phy() local
12977 struct bnx2x_phy phy; in bnx2x_8726_common_init_phy() local
13072 struct bnx2x_phy phy[PORT_MAX]; in bnx2x_8727_common_init_phy() local
13445 static void bnx2x_sfp_tx_fault_detection(struct bnx2x_phy *phy, in bnx2x_sfp_tx_fault_detection()
13490 struct bnx2x_phy *phy) in bnx2x_kr2_recovery()
13500 struct bnx2x_phy *phy) in bnx2x_check_kr2_wa()
13586 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; in bnx2x_period_func() local
13620 struct bnx2x_phy phy; in bnx2x_fan_failure_det_req() local
13672 struct bnx2x_phy phy; in bnx2x_init_mod_abs_int() local