Lines Matching refs:elink_phy
739 typedef elink_status_t (*read_sfp_module_eeprom_func_p)(struct elink_phy *phy,
3390 struct elink_phy *phy, in elink_cl22_write()
3425 struct elink_phy *phy, in elink_cl22_read()
3466 static elink_status_t elink_cl45_read(struct bxe_softc *sc, struct elink_phy *phy, in elink_cl45_read()
3543 static elink_status_t elink_cl45_write(struct bxe_softc *sc, struct elink_phy *phy, in elink_cl45_write()
3756 static elink_status_t elink_eee_disable(struct elink_phy *phy, in elink_eee_disable()
3772 static elink_status_t elink_eee_advertise(struct elink_phy *phy, in elink_eee_advertise()
3809 static void elink_eee_an_resolve(struct elink_phy *phy, in elink_eee_an_resolve()
3972 static void elink_cl45_read_or_write(struct bxe_softc *sc, struct elink_phy *phy, in elink_cl45_read_or_write()
3981 struct elink_phy *phy, in elink_cl45_read_and_write()
4022 static uint8_t elink_get_warpcore_lane(struct elink_phy *phy, in elink_get_warpcore_lane()
4077 struct elink_phy *phy) in elink_set_aer_mmd()
4146 static void elink_xgxs_specific_func(struct elink_phy *phy, in elink_xgxs_specific_func()
4179 static void elink_calc_ieee_aneg_adv(struct elink_phy *phy, in elink_calc_ieee_aneg_adv()
4262 struct elink_phy *phy, in elink_ext_phy_set_pause()
4316 static void elink_ext_phy_update_adv_fc(struct elink_phy *phy, in elink_ext_phy_update_adv_fc()
4371 static uint8_t elink_ext_phy_resolve_fc(struct elink_phy *phy, in elink_ext_phy_resolve_fc()
4409 static void elink_warpcore_enable_AN_KR2(struct elink_phy *phy, in elink_warpcore_enable_AN_KR2()
4450 struct elink_phy *phy) in elink_disable_kr2()
4483 static void elink_warpcore_set_lpi_passthrough(struct elink_phy *phy, in elink_warpcore_set_lpi_passthrough()
4495 static void elink_warpcore_restart_AN_KR(struct elink_phy *phy, in elink_warpcore_restart_AN_KR()
4510 static void elink_warpcore_enable_AN_KR(struct elink_phy *phy, in elink_warpcore_enable_AN_KR()
4649 static void elink_warpcore_set_10G_KR(struct elink_phy *phy, in elink_warpcore_set_10G_KR()
4717 static void elink_warpcore_set_10G_XFI(struct elink_phy *phy, in elink_warpcore_set_10G_XFI()
4831 static void elink_warpcore_set_20G_force_KR2(struct elink_phy *phy, in elink_warpcore_set_20G_force_KR2()
4885 struct elink_phy *phy, in elink_warpcore_set_20G_DXGXS()
4938 static void elink_warpcore_set_sgmii_speed(struct elink_phy *phy, in elink_warpcore_set_sgmii_speed()
5022 struct elink_phy *phy, in elink_warpcore_reset_lane()
5040 static void elink_warpcore_clear_regs(struct elink_phy *phy, in elink_warpcore_clear_regs()
5115 static int elink_is_sfp_module_plugged(struct elink_phy *phy, in elink_is_sfp_module_plugged()
5133 static int elink_warpcore_get_sigdet(struct elink_phy *phy, in elink_warpcore_get_sigdet()
5147 static void elink_warpcore_config_runtime(struct elink_phy *phy, in elink_warpcore_config_runtime()
5200 static void elink_warpcore_config_sfi(struct elink_phy *phy, in elink_warpcore_config_sfi()
5218 struct elink_phy *phy, in elink_sfp_e3_set_transmitter()
5238 static void elink_warpcore_config_init(struct elink_phy *phy, in elink_warpcore_config_init()
5346 static void elink_warpcore_link_reset(struct elink_phy *phy, in elink_warpcore_link_reset()
5401 static void elink_set_warpcore_loopback(struct elink_phy *phy, in elink_set_warpcore_loopback()
5620 struct elink_phy *phy) in elink_set_master_ln()
5641 struct elink_phy *phy, in elink_reset_unicore()
5685 struct elink_phy *phy) in elink_set_swap_lanes()
5726 static void elink_set_parallel_detection(struct elink_phy *phy, in elink_set_parallel_detection()
5779 static void elink_set_autoneg(struct elink_phy *phy, in elink_set_autoneg()
5883 static void elink_program_serdes(struct elink_phy *phy, in elink_program_serdes()
5932 static void elink_set_brcm_cl37_advertisement(struct elink_phy *phy, in elink_set_brcm_cl37_advertisement()
5952 static void elink_set_ieee_aneg_advertisement(struct elink_phy *phy, in elink_set_ieee_aneg_advertisement()
5973 static void elink_restart_autoneg(struct elink_phy *phy, in elink_restart_autoneg()
6013 static void elink_initialize_sgmii_process(struct elink_phy *phy, in elink_initialize_sgmii_process()
6085 static elink_status_t elink_direct_parallel_detect_used(struct elink_phy *phy, in elink_direct_parallel_detect_used()
6119 static void elink_update_adv_fc(struct elink_phy *phy, in elink_update_adv_fc()
6166 static void elink_flow_ctrl_resolve(struct elink_phy *phy, in elink_flow_ctrl_resolve()
6194 static void elink_check_fallback_to_cl37(struct elink_phy *phy, in elink_check_fallback_to_cl37()
6262 static void elink_xgxs_an_resolve(struct elink_phy *phy, in elink_xgxs_an_resolve()
6275 static elink_status_t elink_get_link_speed_duplex(struct elink_phy *phy, in elink_get_link_speed_duplex()
6366 static elink_status_t elink_link_settings_status(struct elink_phy *phy, in elink_link_settings_status()
6440 static elink_status_t elink_warpcore_read_status(struct elink_phy *phy, in elink_warpcore_read_status()
6569 struct elink_phy *phy = ¶ms->phy[ELINK_INT_PHY]; in elink_set_gmii_tx_driver()
6652 static void elink_set_preemphasis(struct elink_phy *phy, in elink_set_preemphasis()
6676 static void elink_xgxs_config_init(struct elink_phy *phy, in elink_xgxs_config_init()
6725 static elink_status_t elink_prepare_xgxs(struct elink_phy *phy, in elink_prepare_xgxs()
6765 struct elink_phy *phy, in elink_wait_reset_complete()
6999 static void elink_set_xgxs_loopback(struct elink_phy *phy, in elink_set_xgxs_loopback()
7214 struct elink_phy *int_phy = ¶ms->phy[ELINK_INT_PHY]; in elink_test_link()
7322 struct elink_phy *phy = ¶ms->phy[ELINK_INT_PHY]; in elink_link_initialize()
7375 static void elink_int_link_reset(struct elink_phy *phy, in elink_int_link_reset()
7383 static void elink_common_ext_link_reset(struct elink_phy *phy, in elink_common_ext_link_reset()
7608 struct elink_phy *phy = ¶ms->phy[phy_index]; in elink_link_update()
7826 struct elink_phy *phy, in elink_save_bcm_spirom_ver()
7840 struct elink_phy *phy, in elink_ext_phy_10G_an_resolve()
7859 static void elink_8073_resolve_fc(struct elink_phy *phy, in elink_8073_resolve_fc()
7893 struct elink_phy *phy, in elink_8073_8727_external_rom_boot()
7973 static elink_status_t elink_8073_is_snr_needed(struct bxe_softc *sc, struct elink_phy *phy) in elink_8073_is_snr_needed()
7999 static elink_status_t elink_8073_xaui_wa(struct bxe_softc *sc, struct elink_phy *phy) in elink_8073_xaui_wa()
8055 static void elink_807x_force_10G(struct bxe_softc *sc, struct elink_phy *phy) in elink_807x_force_10G()
8069 struct elink_phy *phy, in elink_8073_set_pause_cl37()
8103 static void elink_8073_specific_func(struct elink_phy *phy, in elink_8073_specific_func()
8119 static elink_status_t elink_8073_config_init(struct elink_phy *phy, in elink_8073_config_init()
8267 static uint8_t elink_8073_read_status(struct elink_phy *phy, in elink_8073_read_status()
8412 static void elink_8073_link_reset(struct elink_phy *phy, in elink_8073_link_reset()
8431 static elink_status_t elink_8705_config_init(struct elink_phy *phy, in elink_8705_config_init()
8458 static uint8_t elink_8705_read_status(struct elink_phy *phy, in elink_8705_read_status()
8495 struct elink_phy *phy, in elink_set_disable_pmd_transmit()
8532 struct elink_phy *phy, in elink_sfp_e1e2_set_transmitter()
8589 struct elink_phy *phy, in elink_sfp_set_transmitter()
8600 static elink_status_t elink_8726_read_sfp_module_eeprom(struct elink_phy *phy, in elink_8726_read_sfp_module_eeprom()
8688 static elink_status_t elink_warpcore_read_sfp_module_eeprom(struct elink_phy *phy, in elink_warpcore_read_sfp_module_eeprom()
8729 static elink_status_t elink_8727_read_sfp_module_eeprom(struct elink_phy *phy, in elink_8727_read_sfp_module_eeprom()
8824 elink_status_t elink_read_sfp_module_eeprom(struct elink_phy *phy, in elink_read_sfp_module_eeprom()
8865 static elink_status_t elink_get_edc_mode(struct elink_phy *phy, in elink_get_edc_mode()
9006 static elink_status_t elink_verify_sfp_module(struct elink_phy *phy, in elink_verify_sfp_module()
9080 static elink_status_t elink_wait_for_sfp_module_initialized(struct elink_phy *phy, in elink_wait_for_sfp_module_initialized()
9115 struct elink_phy *phy, in elink_8727_power_module()
9147 struct elink_phy *phy, in elink_8726_set_limiting_mode()
9196 struct elink_phy *phy, in elink_8727_set_limiting_mode()
9229 static void elink_8727_specific_func(struct elink_phy *phy, in elink_8727_specific_func()
9337 static void elink_warpcore_hw_reset(struct elink_phy *phy, in elink_warpcore_hw_reset()
9352 struct elink_phy *phy, in elink_power_sfp_module()
9371 struct elink_phy *phy, in elink_warpcore_set_limiting_mode()
9411 struct elink_phy *phy, in elink_set_limiting_mode()
9428 elink_status_t elink_sfp_module_detection(struct elink_phy *phy, in elink_sfp_module_detection()
9486 struct elink_phy *phy; in elink_handle_module_detect_int()
9556 struct elink_phy *phy, in elink_sfp_mask_fault()
9578 static uint8_t elink_8706_8726_read_status(struct elink_phy *phy, in elink_8706_8726_read_status()
9640 static uint8_t elink_8706_config_init(struct elink_phy *phy, in elink_8706_config_init()
9746 static elink_status_t elink_8706_read_status(struct elink_phy *phy, in elink_8706_read_status()
9756 static void elink_8726_config_loopback(struct elink_phy *phy, in elink_8726_config_loopback()
9764 static void elink_8726_external_rom_boot(struct elink_phy *phy, in elink_8726_external_rom_boot()
9802 static uint8_t elink_8726_read_status(struct elink_phy *phy, in elink_8726_read_status()
9823 static elink_status_t elink_8726_config_init(struct elink_phy *phy, in elink_8726_config_init()
9908 static void elink_8726_link_reset(struct elink_phy *phy, in elink_8726_link_reset()
9923 static void elink_8727_set_link_led(struct elink_phy *phy, in elink_8727_set_link_led()
9969 static void elink_8727_hw_reset(struct elink_phy *phy, in elink_8727_hw_reset()
9984 static void elink_8727_config_speed(struct elink_phy *phy, in elink_8727_config_speed()
10041 static elink_status_t elink_8727_config_init(struct elink_phy *phy, in elink_8727_config_init()
10127 static void elink_8727_handle_mod_abs(struct elink_phy *phy, in elink_8727_handle_mod_abs()
10212 static uint8_t elink_8727_read_status(struct elink_phy *phy, in elink_8727_read_status()
10370 static void elink_8727_link_reset(struct elink_phy *phy, in elink_8727_link_reset()
10388 static void elink_save_848xx_spirom_version(struct elink_phy *phy, in elink_save_848xx_spirom_version()
10458 struct elink_phy *phy) in elink_848xx_set_led()
10497 static void elink_848xx_specific_func(struct elink_phy *phy, in elink_848xx_specific_func()
10521 static elink_status_t elink_848xx_cmn_config_init(struct elink_phy *phy, in elink_848xx_cmn_config_init()
10668 static elink_status_t elink_8481_config_init(struct elink_phy *phy, in elink_8481_config_init()
10687 static elink_status_t elink_84833_cmd_hdlr(struct elink_phy *phy, in elink_84833_cmd_hdlr()
10743 static elink_status_t elink_84833_pair_swap_cfg(struct elink_phy *phy, in elink_84833_pair_swap_cfg()
10810 static elink_status_t elink_84833_hw_reset_phy(struct elink_phy *phy, in elink_84833_hw_reset_phy()
10843 static elink_status_t elink_8483x_disable_eee(struct elink_phy *phy, in elink_8483x_disable_eee()
10864 static elink_status_t elink_8483x_enable_eee(struct elink_phy *phy, in elink_8483x_enable_eee()
10883 static elink_status_t elink_848x3_config_init(struct elink_phy *phy, in elink_848x3_config_init()
11049 static uint8_t elink_848xx_read_status(struct elink_phy *phy, in elink_848xx_read_status()
11198 static void elink_8481_hw_reset(struct elink_phy *phy, in elink_8481_hw_reset()
11207 static void elink_8481_link_reset(struct elink_phy *phy, in elink_8481_link_reset()
11216 static void elink_848x3_link_reset(struct elink_phy *phy, in elink_848x3_link_reset()
11243 static void elink_848xx_set_link_led(struct elink_phy *phy, in elink_848xx_set_link_led()
11519 static void elink_54618se_specific_func(struct elink_phy *phy, in elink_54618se_specific_func()
11548 static elink_status_t elink_54618se_config_init(struct elink_phy *phy, in elink_54618se_config_init()
11755 static void elink_5461x_set_link_led(struct elink_phy *phy, in elink_5461x_set_link_led()
11791 static void elink_54618se_link_reset(struct elink_phy *phy, in elink_54618se_link_reset()
11816 static uint8_t elink_54618se_read_status(struct elink_phy *phy, in elink_54618se_read_status()
11923 static void elink_54618se_config_loopback(struct elink_phy *phy, in elink_54618se_config_loopback()
11966 static void elink_7101_config_loopback(struct elink_phy *phy, in elink_7101_config_loopback()
11975 static elink_status_t elink_7101_config_init(struct elink_phy *phy, in elink_7101_config_init()
12015 static uint8_t elink_7101_read_status(struct elink_phy *phy, in elink_7101_read_status()
12068 void elink_sfx7101_sp_sw_reset(struct bxe_softc *sc, struct elink_phy *phy) in elink_sfx7101_sp_sw_reset()
12093 static void elink_7101_hw_reset(struct elink_phy *phy, in elink_7101_hw_reset()
12103 static void elink_7101_set_link_led(struct elink_phy *phy, in elink_7101_set_link_led()
12130 static const struct elink_phy phy_null = {
12156 static const struct elink_phy phy_serdes = {
12191 static const struct elink_phy phy_xgxs = {
12226 static const struct elink_phy phy_warpcore = {
12264 static const struct elink_phy phy_7101 = {
12293 static const struct elink_phy phy_8073 = {
12324 static const struct elink_phy phy_8705 = {
12352 static const struct elink_phy phy_8706 = {
12382 static const struct elink_phy phy_8726 = {
12414 static const struct elink_phy phy_8727 = {
12444 static const struct elink_phy phy_8481 = {
12480 static const struct elink_phy phy_84823 = {
12517 static const struct elink_phy phy_84833 = {
12553 static const struct elink_phy phy_84834 = {
12587 static const struct elink_phy phy_54618se = {
12627 struct elink_phy *phy, uint8_t port, in elink_populate_preemphasis()
12686 struct elink_phy *phy) in elink_populate_int_phy()
12828 struct elink_phy *phy) in elink_populate_ext_phy()
12951 uint32_t shmem2_base, uint8_t port, struct elink_phy *phy) in elink_populate_phy()
12963 struct elink_phy *phy, in elink_phy_def_cfg()
13072 struct elink_phy *phy; in elink_phy_probe()
13413 struct elink_phy *int_phy = ¶ms->phy[ELINK_INT_PHY]; in elink_init_xgxs_loopback()
13495 struct elink_phy *phy = ¶ms->phy[phy_idx]; in elink_avoid_link_flap()
13880 struct elink_phy phy[PORT_MAX]; in elink_8073_common_init_phy()
13881 struct elink_phy *phy_blk[PORT_MAX]; in elink_8073_common_init_phy()
14008 struct elink_phy phy; in elink_8726_common_init_phy()
14103 struct elink_phy phy[PORT_MAX]; in elink_8727_common_init_phy()
14104 struct elink_phy *phy_blk[PORT_MAX]; in elink_8727_common_init_phy()
14479 static void elink_sfp_tx_fault_detection(struct elink_phy *phy, in elink_sfp_tx_fault_detection()
14524 struct elink_phy *phy) in elink_kr2_recovery()
14534 struct elink_phy *phy) in elink_check_kr2_wa()
14620 struct elink_phy *phy = ¶ms->phy[ELINK_INT_PHY]; in elink_period_func()
14654 struct elink_phy phy; in elink_fan_failure_det_req()
14706 struct elink_phy phy; in elink_init_mod_abs_int()