Lines Matching defs: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 = ¶ms->phy[INT_PHY]; in bnx2x_set_gmii_tx_driver() local
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()
6551 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; in bnx2x_link_initialize() local
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() local
7079 struct bnx2x_phy *phy, in bnx2x_save_bcm_spirom_ver()
7093 struct bnx2x_phy *phy, in bnx2x_ext_phy_10G_an_resolve()
7112 static void bnx2x_8073_resolve_fc(struct bnx2x_phy *phy, in bnx2x_8073_resolve_fc()
7146 struct bnx2x_phy *phy, in bnx2x_8073_8727_external_rom_boot()
7226 static int bnx2x_8073_is_snr_needed(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_is_snr_needed()
7252 static int bnx2x_8073_xaui_wa(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_xaui_wa()
7308 static void bnx2x_807x_force_10G(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_807x_force_10G()
7322 struct bnx2x_phy *phy, in bnx2x_8073_set_pause_cl37()
7356 static void bnx2x_8073_specific_func(struct bnx2x_phy *phy, in bnx2x_8073_specific_func()
7372 static void 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 void bnx2x_8705_config_init(struct bnx2x_phy *phy, in bnx2x_8705_config_init()
7709 static u8 bnx2x_8705_read_status(struct bnx2x_phy *phy, in bnx2x_8705_read_status()
7746 struct bnx2x_phy *phy, in bnx2x_set_disable_pmd_transmit()
7783 struct bnx2x_phy *phy, in bnx2x_sfp_e1e2_set_transmitter()
7840 struct bnx2x_phy *phy, in bnx2x_sfp_set_transmitter()
7851 static int bnx2x_8726_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_8726_read_sfp_module_eeprom()
7939 static int bnx2x_warpcore_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_warpcore_read_sfp_module_eeprom()
7980 static int bnx2x_8727_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_8727_read_sfp_module_eeprom()
8075 int bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy, in bnx2x_read_sfp_module_eeprom()
8117 static int bnx2x_get_edc_mode(struct bnx2x_phy *phy, in bnx2x_get_edc_mode()
8259 static int bnx2x_verify_sfp_module(struct bnx2x_phy *phy, in bnx2x_verify_sfp_module()
8333 static int bnx2x_wait_for_sfp_module_initialized(struct bnx2x_phy *phy, in bnx2x_wait_for_sfp_module_initialized()
8368 struct bnx2x_phy *phy, in bnx2x_8727_power_module()
8400 struct bnx2x_phy *phy, in bnx2x_8726_set_limiting_mode()
8449 struct bnx2x_phy *phy, in bnx2x_8727_set_limiting_mode()
8482 static void bnx2x_8727_specific_func(struct bnx2x_phy *phy, in bnx2x_8727_specific_func()
8590 static void bnx2x_warpcore_hw_reset(struct bnx2x_phy *phy, in bnx2x_warpcore_hw_reset()
8605 struct bnx2x_phy *phy, in bnx2x_power_sfp_module()
8624 struct bnx2x_phy *phy, in bnx2x_warpcore_set_limiting_mode()
8664 struct bnx2x_phy *phy, in bnx2x_set_limiting_mode()
8681 static int bnx2x_sfp_module_detection(struct bnx2x_phy *phy, in bnx2x_sfp_module_detection()
8739 struct bnx2x_phy *phy; in bnx2x_handle_module_detect_int() local
8809 struct bnx2x_phy *phy, in bnx2x_sfp_mask_fault()
8831 static u8 bnx2x_8706_8726_read_status(struct bnx2x_phy *phy, in bnx2x_8706_8726_read_status()
8893 static void bnx2x_8706_config_init(struct bnx2x_phy *phy, in bnx2x_8706_config_init()
8997 static u8 bnx2x_8706_read_status(struct bnx2x_phy *phy, in bnx2x_8706_read_status()
9007 static void bnx2x_8726_config_loopback(struct bnx2x_phy *phy, in bnx2x_8726_config_loopback()
9015 static void bnx2x_8726_external_rom_boot(struct bnx2x_phy *phy, in bnx2x_8726_external_rom_boot()
9053 static u8 bnx2x_8726_read_status(struct bnx2x_phy *phy, in bnx2x_8726_read_status()
9074 static void bnx2x_8726_config_init(struct bnx2x_phy *phy, in bnx2x_8726_config_init()
9156 static void bnx2x_8726_link_reset(struct bnx2x_phy *phy, in bnx2x_8726_link_reset()
9171 static void bnx2x_8727_set_link_led(struct bnx2x_phy *phy, in bnx2x_8727_set_link_led()
9217 static void bnx2x_8727_hw_reset(struct bnx2x_phy *phy, in bnx2x_8727_hw_reset()
9232 static void bnx2x_8727_config_speed(struct bnx2x_phy *phy, in bnx2x_8727_config_speed()
9289 static void bnx2x_8727_config_init(struct bnx2x_phy *phy, in bnx2x_8727_config_init()
9373 static void bnx2x_8727_handle_mod_abs(struct bnx2x_phy *phy, in bnx2x_8727_handle_mod_abs()
9458 static u8 bnx2x_8727_read_status(struct bnx2x_phy *phy, in bnx2x_8727_read_status()
9617 static void bnx2x_8727_link_reset(struct bnx2x_phy *phy, in bnx2x_8727_link_reset()
9635 static int bnx2x_is_8483x_8485x(struct bnx2x_phy *phy) in bnx2x_is_8483x_8485x()
9642 static void bnx2x_save_848xx_spirom_version(struct bnx2x_phy *phy, in bnx2x_save_848xx_spirom_version()
9712 struct bnx2x_phy *phy) in bnx2x_848xx_set_led()
9776 static void bnx2x_848xx_specific_func(struct bnx2x_phy *phy, in bnx2x_848xx_specific_func()
9799 static int bnx2x_848xx_cmn_config_init(struct bnx2x_phy *phy, in bnx2x_848xx_cmn_config_init()
9945 static void bnx2x_8481_config_init(struct bnx2x_phy *phy, in bnx2x_8481_config_init()
9965 static int bnx2x_84858_cmd_hdlr(struct bnx2x_phy *phy, in bnx2x_84858_cmd_hdlr()
10042 static int bnx2x_84833_cmd_hdlr(struct bnx2x_phy *phy, in bnx2x_84833_cmd_hdlr()
10120 static int bnx2x_848xx_cmd_hdlr(struct bnx2x_phy *phy, in bnx2x_848xx_cmd_hdlr()
10141 static int bnx2x_848xx_pair_swap_cfg(struct bnx2x_phy *phy, in bnx2x_848xx_pair_swap_cfg()
10209 static void bnx2x_84833_hw_reset_phy(struct bnx2x_phy *phy, in bnx2x_84833_hw_reset_phy()
10240 static int bnx2x_8483x_disable_eee(struct bnx2x_phy *phy, in bnx2x_8483x_disable_eee()
10261 static int bnx2x_8483x_enable_eee(struct bnx2x_phy *phy, in bnx2x_8483x_enable_eee()
10280 static void bnx2x_848x3_config_init(struct bnx2x_phy *phy, in bnx2x_848x3_config_init()
10480 static u8 bnx2x_848xx_read_status(struct bnx2x_phy *phy, in bnx2x_848xx_read_status()
10626 static void bnx2x_8481_hw_reset(struct bnx2x_phy *phy, in bnx2x_8481_hw_reset()
10635 static void bnx2x_8481_link_reset(struct bnx2x_phy *phy, in bnx2x_8481_link_reset()
10644 static void bnx2x_848x3_link_reset(struct bnx2x_phy *phy, in bnx2x_848x3_link_reset()
10671 static void bnx2x_848xx_set_link_led(struct bnx2x_phy *phy, in bnx2x_848xx_set_link_led()
11005 static void bnx2x_54618se_specific_func(struct bnx2x_phy *phy, in bnx2x_54618se_specific_func()
11034 static void bnx2x_54618se_config_init(struct bnx2x_phy *phy, in bnx2x_54618se_config_init()
11239 static void bnx2x_5461x_set_link_led(struct bnx2x_phy *phy, in bnx2x_5461x_set_link_led()
11275 static void bnx2x_54618se_link_reset(struct bnx2x_phy *phy, in bnx2x_54618se_link_reset()
11300 static u8 bnx2x_54618se_read_status(struct bnx2x_phy *phy, in bnx2x_54618se_read_status()
11407 static void bnx2x_54618se_config_loopback(struct bnx2x_phy *phy, in bnx2x_54618se_config_loopback()
11450 static void bnx2x_7101_config_loopback(struct bnx2x_phy *phy, in bnx2x_7101_config_loopback()
11459 static void bnx2x_7101_config_init(struct bnx2x_phy *phy, in bnx2x_7101_config_init()
11498 static u8 bnx2x_7101_read_status(struct bnx2x_phy *phy, in bnx2x_7101_read_status()
11551 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_sfx7101_sp_sw_reset()
11576 static void bnx2x_7101_hw_reset(struct bnx2x_phy *phy, in bnx2x_7101_hw_reset()
11586 static void bnx2x_7101_set_link_led(struct bnx2x_phy *phy, in bnx2x_7101_set_link_led()
12145 struct bnx2x_phy *phy, u8 port, in bnx2x_populate_preemphasis()
12204 struct bnx2x_phy *phy) in bnx2x_populate_int_phy()
12345 struct bnx2x_phy *phy) in bnx2x_populate_ext_phy()
12469 u32 shmem2_base, u8 port, struct bnx2x_phy *phy) in bnx2x_populate_phy()
12480 struct bnx2x_phy *phy, in bnx2x_phy_def_cfg()
12591 struct bnx2x_phy *phy; in bnx2x_phy_probe() local
12827 struct bnx2x_phy *phy = ¶ms->phy[phy_idx]; in bnx2x_avoid_link_flap() local
13185 struct bnx2x_phy phy[PORT_MAX]; in bnx2x_8073_common_init_phy() local
13313 struct bnx2x_phy phy; in bnx2x_8726_common_init_phy() local
13408 struct bnx2x_phy phy[PORT_MAX]; in bnx2x_8727_common_init_phy() local
13782 static void bnx2x_sfp_tx_fault_detection(struct bnx2x_phy *phy, in bnx2x_sfp_tx_fault_detection()
13827 struct bnx2x_phy *phy) in bnx2x_kr2_recovery()
13837 struct bnx2x_phy *phy) in bnx2x_check_kr2_wa()
13923 struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; in bnx2x_period_func() local
13959 struct bnx2x_phy phy; in bnx2x_fan_failure_det_req() local
14011 struct bnx2x_phy phy; in bnx2x_init_mod_abs_int() local