Lines Matching refs:elink_phy

759 typedef elink_status_t (*read_sfp_module_eeprom_func_p)(struct elink_phy *phy,
950 static elink_status_t elink_sfp_module_detection(struct elink_phy *phy,
3415 struct elink_phy *phy,
3450 struct elink_phy *phy,
3491 static elink_status_t elink_cl45_read(struct bxe_softc *sc, struct elink_phy *phy,
3568 static elink_status_t elink_cl45_write(struct bxe_softc *sc, struct elink_phy *phy,
3781 static elink_status_t elink_eee_disable(struct elink_phy *phy,
3797 static elink_status_t elink_eee_advertise(struct elink_phy *phy,
3834 static void elink_eee_an_resolve(struct elink_phy *phy,
3994 static void elink_cl45_read_or_write(struct bxe_softc *sc, struct elink_phy *phy,
4003 struct elink_phy *phy,
4045 static uint8_t elink_get_warpcore_lane(struct elink_phy *phy,
4101 struct elink_phy *phy)
4170 static void elink_xgxs_specific_func(struct elink_phy *phy,
4203 static void elink_calc_ieee_aneg_adv(struct elink_phy *phy,
4286 struct elink_phy *phy,
4312 static void elink_pause_resolve(struct elink_phy *phy,
4359 static void elink_ext_phy_update_adv_fc(struct elink_phy *phy,
4414 static uint8_t elink_ext_phy_resolve_fc(struct elink_phy *phy,
4463 static void elink_warpcore_enable_AN_KR2(struct elink_phy *phy,
4504 struct elink_phy *phy)
4537 static void elink_warpcore_set_lpi_passthrough(struct elink_phy *phy,
4549 static void elink_warpcore_restart_AN_KR(struct elink_phy *phy,
4564 static void elink_warpcore_enable_AN_KR(struct elink_phy *phy,
4716 static void elink_warpcore_set_10G_KR(struct elink_phy *phy,
4784 static void elink_warpcore_set_10G_XFI(struct elink_phy *phy,
4919 static void elink_warpcore_set_20G_force_KR2(struct elink_phy *phy,
4973 struct elink_phy *phy,
5026 static void elink_warpcore_set_sgmii_speed(struct elink_phy *phy,
5110 struct elink_phy *phy,
5128 static void elink_warpcore_clear_regs(struct elink_phy *phy,
5203 static int elink_is_sfp_module_plugged(struct elink_phy *phy,
5221 static int elink_warpcore_get_sigdet(struct elink_phy *phy,
5235 static void elink_warpcore_config_runtime(struct elink_phy *phy,
5288 static void elink_warpcore_config_sfi(struct elink_phy *phy,
5306 struct elink_phy *phy,
5326 static void elink_warpcore_config_init(struct elink_phy *phy,
5434 static void elink_warpcore_link_reset(struct elink_phy *phy,
5489 static void elink_set_warpcore_loopback(struct elink_phy *phy,
5709 struct elink_phy *phy)
5730 struct elink_phy *phy,
5774 struct elink_phy *phy)
5815 static void elink_set_parallel_detection(struct elink_phy *phy,
5868 static void elink_set_autoneg(struct elink_phy *phy,
5972 static void elink_program_serdes(struct elink_phy *phy,
6021 static void elink_set_brcm_cl37_advertisement(struct elink_phy *phy,
6041 static void elink_set_ieee_aneg_advertisement(struct elink_phy *phy,
6062 static void elink_restart_autoneg(struct elink_phy *phy,
6102 static void elink_initialize_sgmii_process(struct elink_phy *phy,
6174 static elink_status_t elink_direct_parallel_detect_used(struct elink_phy *phy,
6208 static void elink_update_adv_fc(struct elink_phy *phy,
6255 static void elink_flow_ctrl_resolve(struct elink_phy *phy,
6283 static void elink_check_fallback_to_cl37(struct elink_phy *phy,
6351 static void elink_xgxs_an_resolve(struct elink_phy *phy,
6364 static elink_status_t elink_get_link_speed_duplex(struct elink_phy *phy,
6457 static elink_status_t elink_link_settings_status(struct elink_phy *phy,
6539 static elink_status_t elink_warpcore_read_status(struct elink_phy *phy,
6680 struct elink_phy *phy = &params->phy[ELINK_INT_PHY];
6763 static void elink_set_preemphasis(struct elink_phy *phy,
6787 static void elink_xgxs_config_init(struct elink_phy *phy,
6836 static elink_status_t elink_prepare_xgxs(struct elink_phy *phy,
6876 struct elink_phy *phy,
7110 static void elink_set_xgxs_loopback(struct elink_phy *phy,
7325 struct elink_phy *int_phy = &params->phy[ELINK_INT_PHY];
7432 struct elink_phy *phy = &params->phy[ELINK_INT_PHY];
7485 static void elink_int_link_reset(struct elink_phy *phy,
7493 static void elink_common_ext_link_reset(struct elink_phy *phy,
7735 struct elink_phy *phy = &params->phy[phy_index];
7976 struct elink_phy *phy,
7990 struct elink_phy *phy,
8009 static void elink_8073_resolve_fc(struct elink_phy *phy,
8043 struct elink_phy *phy,
8123 static elink_status_t elink_8073_is_snr_needed(struct bxe_softc *sc, struct elink_phy *phy)
8149 static elink_status_t elink_8073_xaui_wa(struct bxe_softc *sc, struct elink_phy *phy)
8205 static void elink_807x_force_10G(struct bxe_softc *sc, struct elink_phy *phy)
8219 struct elink_phy *phy,
8253 static void elink_8073_specific_func(struct elink_phy *phy,
8269 static elink_status_t elink_8073_config_init(struct elink_phy *phy,
8417 static uint8_t elink_8073_read_status(struct elink_phy *phy,
8562 static void elink_8073_link_reset(struct elink_phy *phy,
8581 static elink_status_t elink_8705_config_init(struct elink_phy *phy,
8608 static uint8_t elink_8705_read_status(struct elink_phy *phy,
8645 struct elink_phy *phy,
8682 struct elink_phy *phy,
8739 struct elink_phy *phy,
8750 static elink_status_t elink_8726_read_sfp_module_eeprom(struct elink_phy *phy,
8838 static elink_status_t elink_warpcore_read_sfp_module_eeprom(struct elink_phy *phy,
8881 static elink_status_t elink_8727_read_sfp_module_eeprom(struct elink_phy *phy,
8976 elink_status_t elink_read_sfp_module_eeprom(struct elink_phy *phy,
9017 static elink_status_t elink_get_edc_mode(struct elink_phy *phy,
9166 static elink_status_t elink_verify_sfp_module(struct elink_phy *phy,
9240 static elink_status_t elink_wait_for_sfp_module_initialized(struct elink_phy *phy,
9275 struct elink_phy *phy,
9307 struct elink_phy *phy,
9356 struct elink_phy *phy,
9389 static void elink_8727_specific_func(struct elink_phy *phy,
9497 static void elink_warpcore_hw_reset(struct elink_phy *phy,
9512 struct elink_phy *phy,
9531 struct elink_phy *phy,
9571 struct elink_phy *phy,
9588 elink_status_t elink_sfp_module_detection(struct elink_phy *phy,
9646 struct elink_phy *phy;
9716 struct elink_phy *phy,
9738 static uint8_t elink_8706_8726_read_status(struct elink_phy *phy,
9800 static uint8_t elink_8706_config_init(struct elink_phy *phy,
9906 static elink_status_t elink_8706_read_status(struct elink_phy *phy,
9916 static void elink_8726_config_loopback(struct elink_phy *phy,
9924 static void elink_8726_external_rom_boot(struct elink_phy *phy,
9962 static uint8_t elink_8726_read_status(struct elink_phy *phy,
9983 static elink_status_t elink_8726_config_init(struct elink_phy *phy,
10068 static void elink_8726_link_reset(struct elink_phy *phy,
10083 static void elink_8727_set_link_led(struct elink_phy *phy,
10129 static void elink_8727_hw_reset(struct elink_phy *phy,
10144 static void elink_8727_config_speed(struct elink_phy *phy,
10201 static elink_status_t elink_8727_config_init(struct elink_phy *phy,
10287 static void elink_8727_handle_mod_abs(struct elink_phy *phy,
10372 static uint8_t elink_8727_read_status(struct elink_phy *phy,
10531 static void elink_8727_link_reset(struct elink_phy *phy,
10549 static int elink_is_8483x_8485x(struct elink_phy *phy)
10556 static void elink_save_848xx_spirom_version(struct elink_phy *phy,
10625 struct elink_phy *phy)
10663 static void elink_848xx_specific_func(struct elink_phy *phy,
10686 static elink_status_t elink_848xx_cmn_config_init(struct elink_phy *phy,
10832 static elink_status_t elink_8481_config_init(struct elink_phy *phy,
10852 static elink_status_t elink_84858_cmd_hdlr(struct elink_phy *phy,
10929 static elink_status_t elink_84833_cmd_hdlr(struct elink_phy *phy,
11008 static elink_status_t elink_848xx_cmd_hdlr(struct elink_phy *phy,
11028 static elink_status_t elink_848xx_pair_swap_cfg(struct elink_phy *phy,
11096 static elink_status_t elink_84833_hw_reset_phy(struct elink_phy *phy,
11129 static elink_status_t elink_8483x_disable_eee(struct elink_phy *phy,
11150 static elink_status_t elink_8483x_enable_eee(struct elink_phy *phy,
11169 static elink_status_t elink_848x3_config_init(struct elink_phy *phy,
11344 static uint8_t elink_848xx_read_status(struct elink_phy *phy,
11494 static void elink_8481_hw_reset(struct elink_phy *phy,
11503 static void elink_8481_link_reset(struct elink_phy *phy,
11512 static void elink_848x3_link_reset(struct elink_phy *phy,
11539 static void elink_848xx_set_link_led(struct elink_phy *phy,
11814 static void elink_54618se_specific_func(struct elink_phy *phy,
11843 static elink_status_t elink_54618se_config_init(struct elink_phy *phy,
12050 static void elink_5461x_set_link_led(struct elink_phy *phy,
12086 static void elink_54618se_link_reset(struct elink_phy *phy,
12111 static uint8_t elink_54618se_read_status(struct elink_phy *phy,
12218 static void elink_54618se_config_loopback(struct elink_phy *phy,
12261 static void elink_7101_config_loopback(struct elink_phy *phy,
12270 static elink_status_t elink_7101_config_init(struct elink_phy *phy,
12310 static uint8_t elink_7101_read_status(struct elink_phy *phy,
12363 void elink_sfx7101_sp_sw_reset(struct bxe_softc *sc, struct elink_phy *phy)
12388 static void elink_7101_hw_reset(struct elink_phy *phy,
12398 static void elink_7101_set_link_led(struct elink_phy *phy,
12425 static const struct elink_phy phy_null = {
12451 static const struct elink_phy phy_serdes = {
12486 static const struct elink_phy phy_xgxs = {
12521 static const struct elink_phy phy_warpcore = {
12561 static const struct elink_phy phy_7101 = {
12590 static const struct elink_phy phy_8073 = {
12621 static const struct elink_phy phy_8705 = {
12649 static const struct elink_phy phy_8706 = {
12679 static const struct elink_phy phy_8726 = {
12711 static const struct elink_phy phy_8727 = {
12741 static const struct elink_phy phy_8481 = {
12777 static const struct elink_phy phy_84823 = {
12814 static const struct elink_phy phy_84833 = {
12850 static const struct elink_phy phy_84834 = {
12884 static const struct elink_phy phy_84858 = {
12919 static const struct elink_phy phy_54618se = {
12959 struct elink_phy *phy, uint8_t port,
13020 struct elink_phy *phy)
13164 struct elink_phy *phy)
13288 uint32_t shmem2_base, uint8_t port, struct elink_phy *phy)
13300 struct elink_phy *phy,
13414 struct elink_phy *phy;
13755 struct elink_phy *int_phy = &params->phy[ELINK_INT_PHY];
13838 struct elink_phy *phy = &params->phy[phy_idx];
14237 struct elink_phy phy[PORT_MAX];
14238 struct elink_phy *phy_blk[PORT_MAX];
14365 struct elink_phy phy;
14460 struct elink_phy phy[PORT_MAX];
14461 struct elink_phy *phy_blk[PORT_MAX];
14838 static void elink_sfp_tx_fault_detection(struct elink_phy *phy,
14883 struct elink_phy *phy)
14893 struct elink_phy *phy)
14979 struct elink_phy *phy = &params->phy[ELINK_INT_PHY];
15015 struct elink_phy phy;
15067 struct elink_phy phy;