Lines Matching refs:bnx2x_phy
30 typedef int (*read_sfp_module_eeprom_func_p)(struct bnx2x_phy *phy,
2632 struct bnx2x_phy *phy, in bnx2x_cl22_write()
2667 struct bnx2x_phy *phy, in bnx2x_cl22_read()
2708 static int bnx2x_cl45_read(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read()
2783 static int bnx2x_cl45_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_write()
2994 static int bnx2x_eee_disable(struct bnx2x_phy *phy, in bnx2x_eee_disable()
3010 static int bnx2x_eee_advertise(struct bnx2x_phy *phy, in bnx2x_eee_advertise()
3047 static void bnx2x_eee_an_resolve(struct bnx2x_phy *phy, in bnx2x_eee_an_resolve()
3124 struct bnx2x_phy *phy, in bnx2x_bsc_read()
3211 static void bnx2x_cl45_read_or_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read_or_write()
3220 struct bnx2x_phy *phy, in bnx2x_cl45_read_and_write()
3261 static u8 bnx2x_get_warpcore_lane(struct bnx2x_phy *phy, in bnx2x_get_warpcore_lane()
3316 struct bnx2x_phy *phy) in bnx2x_set_aer_mmd()
3385 static void bnx2x_xgxs_specific_func(struct bnx2x_phy *phy, in bnx2x_xgxs_specific_func()
3418 static void bnx2x_calc_ieee_aneg_adv(struct bnx2x_phy *phy, in bnx2x_calc_ieee_aneg_adv()
3501 struct bnx2x_phy *phy, in bnx2x_ext_phy_set_pause()
3555 static void bnx2x_ext_phy_update_adv_fc(struct bnx2x_phy *phy, in bnx2x_ext_phy_update_adv_fc()
3610 static u8 bnx2x_ext_phy_resolve_fc(struct bnx2x_phy *phy, in bnx2x_ext_phy_resolve_fc()
3648 static void bnx2x_warpcore_enable_AN_KR2(struct bnx2x_phy *phy, in bnx2x_warpcore_enable_AN_KR2()
3687 static void bnx2x_warpcore_set_lpi_passthrough(struct bnx2x_phy *phy, in bnx2x_warpcore_set_lpi_passthrough()
3699 static void bnx2x_warpcore_restart_AN_KR(struct bnx2x_phy *phy, in bnx2x_warpcore_restart_AN_KR()
3714 static void bnx2x_warpcore_enable_AN_KR(struct bnx2x_phy *phy, in bnx2x_warpcore_enable_AN_KR()
3847 static void bnx2x_warpcore_set_10G_KR(struct bnx2x_phy *phy, in bnx2x_warpcore_set_10G_KR()
3915 static void bnx2x_warpcore_set_10G_XFI(struct bnx2x_phy *phy, in bnx2x_warpcore_set_10G_XFI()
4029 static void bnx2x_warpcore_set_20G_force_KR2(struct bnx2x_phy *phy, in bnx2x_warpcore_set_20G_force_KR2()
4083 struct bnx2x_phy *phy, in bnx2x_warpcore_set_20G_DXGXS()
4136 static void bnx2x_warpcore_set_sgmii_speed(struct bnx2x_phy *phy, in bnx2x_warpcore_set_sgmii_speed()
4219 struct bnx2x_phy *phy, in bnx2x_warpcore_reset_lane()
4236 static void bnx2x_warpcore_clear_regs(struct bnx2x_phy *phy, in bnx2x_warpcore_clear_regs()
4311 static int bnx2x_is_sfp_module_plugged(struct bnx2x_phy *phy, in bnx2x_is_sfp_module_plugged()
4329 static int bnx2x_warpcore_get_sigdet(struct bnx2x_phy *phy, in bnx2x_warpcore_get_sigdet()
4343 static void bnx2x_warpcore_config_runtime(struct bnx2x_phy *phy, in bnx2x_warpcore_config_runtime()
4408 static void bnx2x_warpcore_config_sfi(struct bnx2x_phy *phy, in bnx2x_warpcore_config_sfi()
4426 struct bnx2x_phy *phy, in bnx2x_sfp_e3_set_transmitter()
4446 static void bnx2x_warpcore_config_init(struct bnx2x_phy *phy, in bnx2x_warpcore_config_init()
4550 static void bnx2x_warpcore_link_reset(struct bnx2x_phy *phy, in bnx2x_warpcore_link_reset()
4605 static void bnx2x_set_warpcore_loopback(struct bnx2x_phy *phy, in bnx2x_set_warpcore_loopback()
4824 struct bnx2x_phy *phy) in bnx2x_set_master_ln()
4845 struct bnx2x_phy *phy, in bnx2x_reset_unicore()
4889 struct bnx2x_phy *phy) in bnx2x_set_swap_lanes()
4930 static void bnx2x_set_parallel_detection(struct bnx2x_phy *phy, in bnx2x_set_parallel_detection()
4983 static void bnx2x_set_autoneg(struct bnx2x_phy *phy, in bnx2x_set_autoneg()
5087 static void bnx2x_program_serdes(struct bnx2x_phy *phy, in bnx2x_program_serdes()
5136 static void bnx2x_set_brcm_cl37_advertisement(struct bnx2x_phy *phy, in bnx2x_set_brcm_cl37_advertisement()
5156 static void bnx2x_set_ieee_aneg_advertisement(struct bnx2x_phy *phy, in bnx2x_set_ieee_aneg_advertisement()
5177 static void bnx2x_restart_autoneg(struct bnx2x_phy *phy, in bnx2x_restart_autoneg()
5217 static void bnx2x_initialize_sgmii_process(struct bnx2x_phy *phy, in bnx2x_initialize_sgmii_process()
5289 static int bnx2x_direct_parallel_detect_used(struct bnx2x_phy *phy, in bnx2x_direct_parallel_detect_used()
5323 static void bnx2x_update_adv_fc(struct bnx2x_phy *phy, in bnx2x_update_adv_fc()
5370 static void bnx2x_flow_ctrl_resolve(struct bnx2x_phy *phy, in bnx2x_flow_ctrl_resolve()
5398 static void bnx2x_check_fallback_to_cl37(struct bnx2x_phy *phy, in bnx2x_check_fallback_to_cl37()
5466 static void bnx2x_xgxs_an_resolve(struct bnx2x_phy *phy, in bnx2x_xgxs_an_resolve()
5479 static int bnx2x_get_link_speed_duplex(struct bnx2x_phy *phy, in bnx2x_get_link_speed_duplex()
5570 static int bnx2x_link_settings_status(struct bnx2x_phy *phy, in bnx2x_link_settings_status()
5644 static int bnx2x_warpcore_read_status(struct bnx2x_phy *phy, in bnx2x_warpcore_read_status()
5767 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; in bnx2x_set_gmii_tx_driver()
5850 static void bnx2x_set_preemphasis(struct bnx2x_phy *phy, in bnx2x_set_preemphasis()
5874 static void bnx2x_xgxs_config_init(struct bnx2x_phy *phy, in bnx2x_xgxs_config_init()
5923 static int bnx2x_prepare_xgxs(struct bnx2x_phy *phy, in bnx2x_prepare_xgxs()
5963 struct bnx2x_phy *phy, in bnx2x_wait_reset_complete()
6197 static void bnx2x_set_xgxs_loopback(struct bnx2x_phy *phy, in bnx2x_set_xgxs_loopback()
6401 struct bnx2x_phy *int_phy = ¶ms->phy[INT_PHY]; in bnx2x_test_link()
6501 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; in bnx2x_link_initialize()
6551 static void bnx2x_int_link_reset(struct bnx2x_phy *phy, in bnx2x_int_link_reset()
6559 static void bnx2x_common_ext_link_reset(struct bnx2x_phy *phy, in bnx2x_common_ext_link_reset()
6784 struct bnx2x_phy *phy = ¶ms->phy[phy_index]; in bnx2x_link_update()
7002 struct bnx2x_phy *phy, in bnx2x_save_bcm_spirom_ver()
7016 struct bnx2x_phy *phy, in bnx2x_ext_phy_10G_an_resolve()
7035 static void bnx2x_8073_resolve_fc(struct bnx2x_phy *phy, in bnx2x_8073_resolve_fc()
7069 struct bnx2x_phy *phy, in bnx2x_8073_8727_external_rom_boot()
7149 static int bnx2x_8073_is_snr_needed(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_is_snr_needed()
7175 static int bnx2x_8073_xaui_wa(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_xaui_wa()
7231 static void bnx2x_807x_force_10G(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_807x_force_10G()
7245 struct bnx2x_phy *phy, in bnx2x_8073_set_pause_cl37()
7279 static void bnx2x_8073_specific_func(struct bnx2x_phy *phy, in bnx2x_8073_specific_func()
7295 static int bnx2x_8073_config_init(struct bnx2x_phy *phy, in bnx2x_8073_config_init()
7443 static u8 bnx2x_8073_read_status(struct bnx2x_phy *phy, in bnx2x_8073_read_status()
7588 static void bnx2x_8073_link_reset(struct bnx2x_phy *phy, in bnx2x_8073_link_reset()
7607 static int bnx2x_8705_config_init(struct bnx2x_phy *phy, in bnx2x_8705_config_init()
7634 static u8 bnx2x_8705_read_status(struct bnx2x_phy *phy, in bnx2x_8705_read_status()
7671 struct bnx2x_phy *phy, in bnx2x_set_disable_pmd_transmit()
7708 struct bnx2x_phy *phy, in bnx2x_sfp_e1e2_set_transmitter()
7765 struct bnx2x_phy *phy, in bnx2x_sfp_set_transmitter()
7776 static int bnx2x_8726_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_8726_read_sfp_module_eeprom()
7864 static int bnx2x_warpcore_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_warpcore_read_sfp_module_eeprom()
7905 static int bnx2x_8727_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_8727_read_sfp_module_eeprom()
8000 int bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_read_sfp_module_eeprom()
8042 static int bnx2x_get_edc_mode(struct bnx2x_phy *phy, in bnx2x_get_edc_mode()
8176 static int bnx2x_verify_sfp_module(struct bnx2x_phy *phy, in bnx2x_verify_sfp_module()
8250 static int bnx2x_wait_for_sfp_module_initialized(struct bnx2x_phy *phy, in bnx2x_wait_for_sfp_module_initialized()
8285 struct bnx2x_phy *phy, in bnx2x_8727_power_module()
8317 struct bnx2x_phy *phy, in bnx2x_8726_set_limiting_mode()
8366 struct bnx2x_phy *phy, in bnx2x_8727_set_limiting_mode()
8399 static void bnx2x_8727_specific_func(struct bnx2x_phy *phy, in bnx2x_8727_specific_func()
8507 static void bnx2x_warpcore_hw_reset(struct bnx2x_phy *phy, in bnx2x_warpcore_hw_reset()
8522 struct bnx2x_phy *phy, in bnx2x_power_sfp_module()
8541 struct bnx2x_phy *phy, in bnx2x_warpcore_set_limiting_mode()
8580 struct bnx2x_phy *phy, in bnx2x_set_limiting_mode()
8597 int bnx2x_sfp_module_detection(struct bnx2x_phy *phy, in bnx2x_sfp_module_detection()
8655 struct bnx2x_phy *phy; in bnx2x_handle_module_detect_int()
8725 struct bnx2x_phy *phy, in bnx2x_sfp_mask_fault()
8747 static u8 bnx2x_8706_8726_read_status(struct bnx2x_phy *phy, in bnx2x_8706_8726_read_status()
8809 static u8 bnx2x_8706_config_init(struct bnx2x_phy *phy, in bnx2x_8706_config_init()
8915 static int bnx2x_8706_read_status(struct bnx2x_phy *phy, in bnx2x_8706_read_status()
8925 static void bnx2x_8726_config_loopback(struct bnx2x_phy *phy, in bnx2x_8726_config_loopback()
8933 static void bnx2x_8726_external_rom_boot(struct bnx2x_phy *phy, in bnx2x_8726_external_rom_boot()
8971 static u8 bnx2x_8726_read_status(struct bnx2x_phy *phy, in bnx2x_8726_read_status()
8992 static int bnx2x_8726_config_init(struct bnx2x_phy *phy, in bnx2x_8726_config_init()
9077 static void bnx2x_8726_link_reset(struct bnx2x_phy *phy, in bnx2x_8726_link_reset()
9092 static void bnx2x_8727_set_link_led(struct bnx2x_phy *phy, in bnx2x_8727_set_link_led()
9138 static void bnx2x_8727_hw_reset(struct bnx2x_phy *phy, in bnx2x_8727_hw_reset()
9153 static void bnx2x_8727_config_speed(struct bnx2x_phy *phy, in bnx2x_8727_config_speed()
9210 static int bnx2x_8727_config_init(struct bnx2x_phy *phy, in bnx2x_8727_config_init()
9296 static void bnx2x_8727_handle_mod_abs(struct bnx2x_phy *phy, in bnx2x_8727_handle_mod_abs()
9381 static u8 bnx2x_8727_read_status(struct bnx2x_phy *phy, in bnx2x_8727_read_status()
9540 static void bnx2x_8727_link_reset(struct bnx2x_phy *phy, in bnx2x_8727_link_reset()
9558 static void bnx2x_save_848xx_spirom_version(struct bnx2x_phy *phy, in bnx2x_save_848xx_spirom_version()
9628 struct bnx2x_phy *phy) in bnx2x_848xx_set_led()
9667 static void bnx2x_848xx_specific_func(struct bnx2x_phy *phy, in bnx2x_848xx_specific_func()
9691 static int bnx2x_848xx_cmn_config_init(struct bnx2x_phy *phy, in bnx2x_848xx_cmn_config_init()
9829 static int bnx2x_8481_config_init(struct bnx2x_phy *phy, in bnx2x_8481_config_init()
9848 static int bnx2x_84833_cmd_hdlr(struct bnx2x_phy *phy, in bnx2x_84833_cmd_hdlr()
9904 static int bnx2x_84833_pair_swap_cfg(struct bnx2x_phy *phy, in bnx2x_84833_pair_swap_cfg()
9971 static int bnx2x_84833_hw_reset_phy(struct bnx2x_phy *phy, in bnx2x_84833_hw_reset_phy()
10004 static int bnx2x_8483x_disable_eee(struct bnx2x_phy *phy, in bnx2x_8483x_disable_eee()
10025 static int bnx2x_8483x_enable_eee(struct bnx2x_phy *phy, in bnx2x_8483x_enable_eee()
10044 static int bnx2x_848x3_config_init(struct bnx2x_phy *phy, in bnx2x_848x3_config_init()
10210 static u8 bnx2x_848xx_read_status(struct bnx2x_phy *phy, in bnx2x_848xx_read_status()
10349 static void bnx2x_8481_hw_reset(struct bnx2x_phy *phy, in bnx2x_8481_hw_reset()
10358 static void bnx2x_8481_link_reset(struct bnx2x_phy *phy, in bnx2x_8481_link_reset()
10367 static void bnx2x_848x3_link_reset(struct bnx2x_phy *phy, in bnx2x_848x3_link_reset()
10394 static void bnx2x_848xx_set_link_led(struct bnx2x_phy *phy, in bnx2x_848xx_set_link_led()
10662 static void bnx2x_54618se_specific_func(struct bnx2x_phy *phy, in bnx2x_54618se_specific_func()
10691 static int bnx2x_54618se_config_init(struct bnx2x_phy *phy, in bnx2x_54618se_config_init()
10896 static void bnx2x_5461x_set_link_led(struct bnx2x_phy *phy, in bnx2x_5461x_set_link_led()
10932 static void bnx2x_54618se_link_reset(struct bnx2x_phy *phy, in bnx2x_54618se_link_reset()
10957 static u8 bnx2x_54618se_read_status(struct bnx2x_phy *phy, in bnx2x_54618se_read_status()
11064 static void bnx2x_54618se_config_loopback(struct bnx2x_phy *phy, in bnx2x_54618se_config_loopback()
11107 static void bnx2x_7101_config_loopback(struct bnx2x_phy *phy, in bnx2x_7101_config_loopback()
11116 static int bnx2x_7101_config_init(struct bnx2x_phy *phy, in bnx2x_7101_config_init()
11156 static u8 bnx2x_7101_read_status(struct bnx2x_phy *phy, in bnx2x_7101_read_status()
11209 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_sfx7101_sp_sw_reset()
11234 static void bnx2x_7101_hw_reset(struct bnx2x_phy *phy, in bnx2x_7101_hw_reset()
11244 static void bnx2x_7101_set_link_led(struct bnx2x_phy *phy, in bnx2x_7101_set_link_led()
11271 static const struct bnx2x_phy phy_null = {
11297 static const struct bnx2x_phy phy_serdes = {
11332 static const struct bnx2x_phy phy_xgxs = {
11367 static const struct bnx2x_phy phy_warpcore = {
11405 static const struct bnx2x_phy phy_7101 = {
11434 static const struct bnx2x_phy phy_8073 = {
11465 static const struct bnx2x_phy phy_8705 = {
11493 static const struct bnx2x_phy phy_8706 = {
11523 static const struct bnx2x_phy phy_8726 = {
11555 static const struct bnx2x_phy phy_8727 = {
11585 static const struct bnx2x_phy phy_8481 = {
11621 static const struct bnx2x_phy phy_84823 = {
11658 static const struct bnx2x_phy phy_84833 = {
11693 static const struct bnx2x_phy phy_84834 = {
11727 static const struct bnx2x_phy phy_54618se = {
11767 struct bnx2x_phy *phy, u8 port, in bnx2x_populate_preemphasis()
11826 struct bnx2x_phy *phy) in bnx2x_populate_int_phy()
11967 struct bnx2x_phy *phy) in bnx2x_populate_ext_phy()
12090 u32 shmem2_base, u8 port, struct bnx2x_phy *phy) in bnx2x_populate_phy()
12102 struct bnx2x_phy *phy, in bnx2x_phy_def_cfg()
12211 struct bnx2x_phy *phy; in bnx2x_phy_probe()
12364 struct bnx2x_phy *int_phy = ¶ms->phy[INT_PHY]; in bnx2x_init_xgxs_loopback()
12446 struct bnx2x_phy *phy = ¶ms->phy[phy_idx]; in bnx2x_avoid_link_flap()
12802 struct bnx2x_phy phy[PORT_MAX]; in bnx2x_8073_common_init_phy()
12803 struct bnx2x_phy *phy_blk[PORT_MAX]; in bnx2x_8073_common_init_phy()
12930 struct bnx2x_phy phy; in bnx2x_8726_common_init_phy()
13025 struct bnx2x_phy phy[PORT_MAX]; in bnx2x_8727_common_init_phy()
13026 struct bnx2x_phy *phy_blk[PORT_MAX]; in bnx2x_8727_common_init_phy()
13394 static void bnx2x_sfp_tx_fault_detection(struct bnx2x_phy *phy, in bnx2x_sfp_tx_fault_detection()
13439 struct bnx2x_phy *phy) in bnx2x_disable_kr2()
13476 struct bnx2x_phy *phy) in bnx2x_kr2_recovery()
13486 struct bnx2x_phy *phy) in bnx2x_check_kr2_wa()
13570 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; in bnx2x_period_func()
13604 struct bnx2x_phy phy; in bnx2x_fan_failure_det_req()
13656 struct bnx2x_phy phy; in bnx2x_init_mod_abs_int()