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,
2589 struct bnx2x_phy *phy, in bnx2x_cl22_write()
2624 struct bnx2x_phy *phy, in bnx2x_cl22_read()
2665 static int bnx2x_cl45_read(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read()
2740 static int bnx2x_cl45_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_write()
2951 static int bnx2x_eee_disable(struct bnx2x_phy *phy, in bnx2x_eee_disable()
2967 static int bnx2x_eee_advertise(struct bnx2x_phy *phy, in bnx2x_eee_advertise()
3004 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 u8 bnx2x_link_settings_status(struct bnx2x_phy *phy, in bnx2x_link_settings_status()
5692 static u8 bnx2x_warpcore_read_status(struct bnx2x_phy *phy, in bnx2x_warpcore_read_status()
5820 struct bnx2x_phy *phy = &params->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()
6243 static void bnx2x_set_xgxs_loopback(struct bnx2x_phy *phy, in bnx2x_set_xgxs_loopback()
6454 struct bnx2x_phy *int_phy = &params->phy[INT_PHY]; in bnx2x_test_link()
6553 struct bnx2x_phy *phy = &params->phy[INT_PHY]; in bnx2x_link_initialize()
6606 static void bnx2x_int_link_reset(struct bnx2x_phy *phy, in bnx2x_int_link_reset()
6614 static void bnx2x_common_ext_link_reset(struct bnx2x_phy *phy, in bnx2x_common_ext_link_reset()
6859 struct bnx2x_phy *phy = &params->phy[phy_index]; in bnx2x_link_update()
7081 struct bnx2x_phy *phy, in bnx2x_save_bcm_spirom_ver()
7095 struct bnx2x_phy *phy, in bnx2x_ext_phy_10G_an_resolve()
7114 static void bnx2x_8073_resolve_fc(struct bnx2x_phy *phy, in bnx2x_8073_resolve_fc()
7148 struct bnx2x_phy *phy, in bnx2x_8073_8727_external_rom_boot()
7228 static int bnx2x_8073_is_snr_needed(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_is_snr_needed()
7254 static int bnx2x_8073_xaui_wa(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_xaui_wa()
7310 static void bnx2x_807x_force_10G(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_807x_force_10G()
7324 struct bnx2x_phy *phy, in bnx2x_8073_set_pause_cl37()
7358 static void bnx2x_8073_specific_func(struct bnx2x_phy *phy, in bnx2x_8073_specific_func()
7374 static void bnx2x_8073_config_init(struct bnx2x_phy *phy, in bnx2x_8073_config_init()
7521 static u8 bnx2x_8073_read_status(struct bnx2x_phy *phy, in bnx2x_8073_read_status()
7666 static void bnx2x_8073_link_reset(struct bnx2x_phy *phy, in bnx2x_8073_link_reset()
7685 static void bnx2x_8705_config_init(struct bnx2x_phy *phy, in bnx2x_8705_config_init()
7711 static u8 bnx2x_8705_read_status(struct bnx2x_phy *phy, in bnx2x_8705_read_status()
7748 struct bnx2x_phy *phy, in bnx2x_set_disable_pmd_transmit()
7785 struct bnx2x_phy *phy, in bnx2x_sfp_e1e2_set_transmitter()
7842 struct bnx2x_phy *phy, in bnx2x_sfp_set_transmitter()
7853 static int bnx2x_8726_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_8726_read_sfp_module_eeprom()
7941 static int bnx2x_warpcore_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_warpcore_read_sfp_module_eeprom()
7982 static int bnx2x_8727_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_8727_read_sfp_module_eeprom()
8077 int bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_read_sfp_module_eeprom()
8119 static int bnx2x_get_edc_mode(struct bnx2x_phy *phy, in bnx2x_get_edc_mode()
8261 static int bnx2x_verify_sfp_module(struct bnx2x_phy *phy, in bnx2x_verify_sfp_module()
8335 static int bnx2x_wait_for_sfp_module_initialized(struct bnx2x_phy *phy, in bnx2x_wait_for_sfp_module_initialized()
8370 struct bnx2x_phy *phy, in bnx2x_8727_power_module()
8402 struct bnx2x_phy *phy, in bnx2x_8726_set_limiting_mode()
8451 struct bnx2x_phy *phy, in bnx2x_8727_set_limiting_mode()
8484 static void bnx2x_8727_specific_func(struct bnx2x_phy *phy, in bnx2x_8727_specific_func()
8592 static void bnx2x_warpcore_hw_reset(struct bnx2x_phy *phy, in bnx2x_warpcore_hw_reset()
8607 struct bnx2x_phy *phy, in bnx2x_power_sfp_module()
8626 struct bnx2x_phy *phy, in bnx2x_warpcore_set_limiting_mode()
8666 struct bnx2x_phy *phy, in bnx2x_set_limiting_mode()
8683 static int bnx2x_sfp_module_detection(struct bnx2x_phy *phy, in bnx2x_sfp_module_detection()
8741 struct bnx2x_phy *phy; in bnx2x_handle_module_detect_int()
8811 struct bnx2x_phy *phy, in bnx2x_sfp_mask_fault()
8833 static u8 bnx2x_8706_8726_read_status(struct bnx2x_phy *phy, in bnx2x_8706_8726_read_status()
8895 static void bnx2x_8706_config_init(struct bnx2x_phy *phy, in bnx2x_8706_config_init()
8999 static u8 bnx2x_8706_read_status(struct bnx2x_phy *phy, in bnx2x_8706_read_status()
9009 static void bnx2x_8726_config_loopback(struct bnx2x_phy *phy, in bnx2x_8726_config_loopback()
9017 static void bnx2x_8726_external_rom_boot(struct bnx2x_phy *phy, in bnx2x_8726_external_rom_boot()
9055 static u8 bnx2x_8726_read_status(struct bnx2x_phy *phy, in bnx2x_8726_read_status()
9076 static void bnx2x_8726_config_init(struct bnx2x_phy *phy, in bnx2x_8726_config_init()
9158 static void bnx2x_8726_link_reset(struct bnx2x_phy *phy, in bnx2x_8726_link_reset()
9173 static void bnx2x_8727_set_link_led(struct bnx2x_phy *phy, in bnx2x_8727_set_link_led()
9219 static void bnx2x_8727_hw_reset(struct bnx2x_phy *phy, in bnx2x_8727_hw_reset()
9234 static void bnx2x_8727_config_speed(struct bnx2x_phy *phy, in bnx2x_8727_config_speed()
9291 static void bnx2x_8727_config_init(struct bnx2x_phy *phy, in bnx2x_8727_config_init()
9375 static void bnx2x_8727_handle_mod_abs(struct bnx2x_phy *phy, in bnx2x_8727_handle_mod_abs()
9460 static u8 bnx2x_8727_read_status(struct bnx2x_phy *phy, in bnx2x_8727_read_status()
9619 static void bnx2x_8727_link_reset(struct bnx2x_phy *phy, in bnx2x_8727_link_reset()
9637 static int bnx2x_is_8483x_8485x(struct bnx2x_phy *phy) in bnx2x_is_8483x_8485x()
9644 static void bnx2x_save_848xx_spirom_version(struct bnx2x_phy *phy, in bnx2x_save_848xx_spirom_version()
9714 struct bnx2x_phy *phy) in bnx2x_848xx_set_led()
9778 static void bnx2x_848xx_specific_func(struct bnx2x_phy *phy, in bnx2x_848xx_specific_func()
9801 static int bnx2x_848xx_cmn_config_init(struct bnx2x_phy *phy, in bnx2x_848xx_cmn_config_init()
9947 static void bnx2x_8481_config_init(struct bnx2x_phy *phy, in bnx2x_8481_config_init()
9967 static int bnx2x_84858_cmd_hdlr(struct bnx2x_phy *phy, in bnx2x_84858_cmd_hdlr()
10044 static int bnx2x_84833_cmd_hdlr(struct bnx2x_phy *phy, in bnx2x_84833_cmd_hdlr()
10122 static int bnx2x_848xx_cmd_hdlr(struct bnx2x_phy *phy, in bnx2x_848xx_cmd_hdlr()
10143 static int bnx2x_848xx_pair_swap_cfg(struct bnx2x_phy *phy, in bnx2x_848xx_pair_swap_cfg()
10211 static void bnx2x_84833_hw_reset_phy(struct bnx2x_phy *phy, in bnx2x_84833_hw_reset_phy()
10242 static int bnx2x_8483x_disable_eee(struct bnx2x_phy *phy, in bnx2x_8483x_disable_eee()
10263 static int bnx2x_8483x_enable_eee(struct bnx2x_phy *phy, in bnx2x_8483x_enable_eee()
10282 static void bnx2x_848x3_config_init(struct bnx2x_phy *phy, in bnx2x_848x3_config_init()
10482 static u8 bnx2x_848xx_read_status(struct bnx2x_phy *phy, in bnx2x_848xx_read_status()
10628 static void bnx2x_8481_hw_reset(struct bnx2x_phy *phy, in bnx2x_8481_hw_reset()
10637 static void bnx2x_8481_link_reset(struct bnx2x_phy *phy, in bnx2x_8481_link_reset()
10646 static void bnx2x_848x3_link_reset(struct bnx2x_phy *phy, in bnx2x_848x3_link_reset()
10673 static void bnx2x_848xx_set_link_led(struct bnx2x_phy *phy, in bnx2x_848xx_set_link_led()
11007 static void bnx2x_54618se_specific_func(struct bnx2x_phy *phy, in bnx2x_54618se_specific_func()
11036 static void bnx2x_54618se_config_init(struct bnx2x_phy *phy, in bnx2x_54618se_config_init()
11241 static void bnx2x_5461x_set_link_led(struct bnx2x_phy *phy, in bnx2x_5461x_set_link_led()
11277 static void bnx2x_54618se_link_reset(struct bnx2x_phy *phy, in bnx2x_54618se_link_reset()
11302 static u8 bnx2x_54618se_read_status(struct bnx2x_phy *phy, in bnx2x_54618se_read_status()
11409 static void bnx2x_54618se_config_loopback(struct bnx2x_phy *phy, in bnx2x_54618se_config_loopback()
11452 static void bnx2x_7101_config_loopback(struct bnx2x_phy *phy, in bnx2x_7101_config_loopback()
11461 static void bnx2x_7101_config_init(struct bnx2x_phy *phy, in bnx2x_7101_config_init()
11500 static u8 bnx2x_7101_read_status(struct bnx2x_phy *phy, in bnx2x_7101_read_status()
11553 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_sfx7101_sp_sw_reset()
11578 static void bnx2x_7101_hw_reset(struct bnx2x_phy *phy, in bnx2x_7101_hw_reset()
11588 static void bnx2x_7101_set_link_led(struct bnx2x_phy *phy, in bnx2x_7101_set_link_led()
11615 static const struct bnx2x_phy phy_null = {
11641 static const struct bnx2x_phy phy_serdes = {
11676 static const struct bnx2x_phy phy_xgxs = {
11711 static const struct bnx2x_phy phy_warpcore = {
11751 static const struct bnx2x_phy phy_7101 = {
11780 static const struct bnx2x_phy phy_8073 = {
11811 static const struct bnx2x_phy phy_8705 = {
11839 static const struct bnx2x_phy phy_8706 = {
11869 static const struct bnx2x_phy phy_8726 = {
11901 static const struct bnx2x_phy phy_8727 = {
11931 static const struct bnx2x_phy phy_8481 = {
11967 static const struct bnx2x_phy phy_84823 = {
12004 static const struct bnx2x_phy phy_84833 = {
12039 static const struct bnx2x_phy phy_84834 = {
12073 static const struct bnx2x_phy phy_84858 = {
12107 static const struct bnx2x_phy phy_54618se = {
12147 struct bnx2x_phy *phy, u8 port, in bnx2x_populate_preemphasis()
12206 struct bnx2x_phy *phy) in bnx2x_populate_int_phy()
12347 struct bnx2x_phy *phy) in bnx2x_populate_ext_phy()
12471 u32 shmem2_base, u8 port, struct bnx2x_phy *phy) in bnx2x_populate_phy()
12482 struct bnx2x_phy *phy, in bnx2x_phy_def_cfg()
12593 struct bnx2x_phy *phy; in bnx2x_phy_probe()
12746 struct bnx2x_phy *int_phy = &params->phy[INT_PHY]; in bnx2x_init_xgxs_loopback()
12829 struct bnx2x_phy *phy = &params->phy[phy_idx]; in bnx2x_avoid_link_flap()
13187 struct bnx2x_phy phy[PORT_MAX]; in bnx2x_8073_common_init_phy()
13188 struct bnx2x_phy *phy_blk[PORT_MAX]; in bnx2x_8073_common_init_phy()
13315 struct bnx2x_phy phy; in bnx2x_8726_common_init_phy()
13410 struct bnx2x_phy phy[PORT_MAX]; in bnx2x_8727_common_init_phy()
13411 struct bnx2x_phy *phy_blk[PORT_MAX]; in bnx2x_8727_common_init_phy()
13784 static void bnx2x_sfp_tx_fault_detection(struct bnx2x_phy *phy, in bnx2x_sfp_tx_fault_detection()
13829 struct bnx2x_phy *phy) in bnx2x_kr2_recovery()
13839 struct bnx2x_phy *phy) in bnx2x_check_kr2_wa()
13925 struct bnx2x_phy *phy = &params->phy[INT_PHY]; in bnx2x_period_func()
13961 struct bnx2x_phy phy; in bnx2x_fan_failure_det_req()
14013 struct bnx2x_phy phy; in bnx2x_init_mod_abs_int()