bnx2x_phy
static int bnx2x_84833_cmd_hdlr(struct bnx2x_phy *phy,
static int bnx2x_848xx_cmd_hdlr(struct bnx2x_phy *phy,
static int bnx2x_848xx_pair_swap_cfg(struct bnx2x_phy *phy,
static void bnx2x_84833_hw_reset_phy(struct bnx2x_phy *phy,
static int bnx2x_8483x_disable_eee(struct bnx2x_phy *phy,
static int bnx2x_8483x_enable_eee(struct bnx2x_phy *phy,
static void bnx2x_848x3_config_init(struct bnx2x_phy *phy,
static u8 bnx2x_848xx_read_status(struct bnx2x_phy *phy,
static void bnx2x_8481_hw_reset(struct bnx2x_phy *phy,
static void bnx2x_8481_link_reset(struct bnx2x_phy *phy,
static void bnx2x_848x3_link_reset(struct bnx2x_phy *phy,
static void bnx2x_848xx_set_link_led(struct bnx2x_phy *phy,
static void bnx2x_54618se_specific_func(struct bnx2x_phy *phy,
static void bnx2x_54618se_config_init(struct bnx2x_phy *phy,
static void bnx2x_5461x_set_link_led(struct bnx2x_phy *phy,
static void bnx2x_54618se_link_reset(struct bnx2x_phy *phy,
static u8 bnx2x_54618se_read_status(struct bnx2x_phy *phy,
static void bnx2x_54618se_config_loopback(struct bnx2x_phy *phy,
static void bnx2x_7101_config_loopback(struct bnx2x_phy *phy,
static void bnx2x_7101_config_init(struct bnx2x_phy *phy,
static u8 bnx2x_7101_read_status(struct bnx2x_phy *phy,
void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy)
static void bnx2x_7101_hw_reset(struct bnx2x_phy *phy,
static void bnx2x_7101_set_link_led(struct bnx2x_phy *phy,
static const struct bnx2x_phy phy_null = {
static const struct bnx2x_phy phy_serdes = {
static const struct bnx2x_phy phy_xgxs = {
static const struct bnx2x_phy phy_warpcore = {
static const struct bnx2x_phy phy_7101 = {
static const struct bnx2x_phy phy_8073 = {
static const struct bnx2x_phy phy_8705 = {
static const struct bnx2x_phy phy_8706 = {
static const struct bnx2x_phy phy_8726 = {
static const struct bnx2x_phy phy_8727 = {
static const struct bnx2x_phy phy_8481 = {
static const struct bnx2x_phy phy_84823 = {
static const struct bnx2x_phy phy_84833 = {
static const struct bnx2x_phy phy_84834 = {
static const struct bnx2x_phy phy_84858 = {
static const struct bnx2x_phy phy_54618se = {
struct bnx2x_phy *phy, u8 port,
struct bnx2x_phy *phy)
struct bnx2x_phy *phy)
u32 shmem2_base, u8 port, struct bnx2x_phy *phy)
struct bnx2x_phy *phy,
struct bnx2x_phy *phy;
struct bnx2x_phy *int_phy = ¶ms->phy[INT_PHY];
struct bnx2x_phy *phy = ¶ms->phy[phy_idx];
struct bnx2x_phy phy[PORT_MAX];
struct bnx2x_phy *phy_blk[PORT_MAX];
struct bnx2x_phy phy;
struct bnx2x_phy phy[PORT_MAX];
struct bnx2x_phy *phy_blk[PORT_MAX];
static void bnx2x_sfp_tx_fault_detection(struct bnx2x_phy *phy,
struct bnx2x_phy *phy)
struct bnx2x_phy *phy)
struct bnx2x_phy *phy = ¶ms->phy[INT_PHY];
struct bnx2x_phy phy;
struct bnx2x_phy phy;
static int bnx2x_sfp_module_detection(struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
static int bnx2x_cl45_read(struct bnx2x *bp, struct bnx2x_phy *phy,
static int bnx2x_cl45_write(struct bnx2x *bp, struct bnx2x_phy *phy,
static int bnx2x_eee_disable(struct bnx2x_phy *phy,
static int bnx2x_eee_advertise(struct bnx2x_phy *phy,
static void bnx2x_eee_an_resolve(struct bnx2x_phy *phy,
static void bnx2x_cl45_read_or_write(struct bnx2x *bp, struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
typedef int (*read_sfp_module_eeprom_func_p)(struct bnx2x_phy *phy,
static u8 bnx2x_get_warpcore_lane(struct bnx2x_phy *phy,
struct bnx2x_phy *phy)
static void bnx2x_xgxs_specific_func(struct bnx2x_phy *phy,
static void bnx2x_calc_ieee_aneg_adv(struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
static void bnx2x_pause_resolve(struct bnx2x_phy *phy,
static void bnx2x_ext_phy_update_adv_fc(struct bnx2x_phy *phy,
static u8 bnx2x_ext_phy_resolve_fc(struct bnx2x_phy *phy,
static void bnx2x_warpcore_enable_AN_KR2(struct bnx2x_phy *phy,
struct bnx2x_phy *phy)
static void bnx2x_warpcore_set_lpi_passthrough(struct bnx2x_phy *phy,
static void bnx2x_warpcore_restart_AN_KR(struct bnx2x_phy *phy,
static void bnx2x_warpcore_enable_AN_KR(struct bnx2x_phy *phy,
static void bnx2x_warpcore_set_10G_KR(struct bnx2x_phy *phy,
static void bnx2x_warpcore_set_10G_XFI(struct bnx2x_phy *phy,
static void bnx2x_warpcore_set_20G_force_KR2(struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
static void bnx2x_warpcore_set_sgmii_speed(struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
static void bnx2x_warpcore_clear_regs(struct bnx2x_phy *phy,
static int bnx2x_is_sfp_module_plugged(struct bnx2x_phy *phy,
static int bnx2x_warpcore_get_sigdet(struct bnx2x_phy *phy,
static void bnx2x_warpcore_config_runtime(struct bnx2x_phy *phy,
static void bnx2x_warpcore_config_sfi(struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
static void bnx2x_warpcore_config_init(struct bnx2x_phy *phy,
static void bnx2x_warpcore_link_reset(struct bnx2x_phy *phy,
static void bnx2x_set_warpcore_loopback(struct bnx2x_phy *phy,
struct bnx2x_phy *phy)
struct bnx2x_phy *phy,
struct bnx2x_phy *phy)
static void bnx2x_set_parallel_detection(struct bnx2x_phy *phy,
static void bnx2x_set_autoneg(struct bnx2x_phy *phy,
static void bnx2x_program_serdes(struct bnx2x_phy *phy,
static void bnx2x_set_brcm_cl37_advertisement(struct bnx2x_phy *phy,
static void bnx2x_set_ieee_aneg_advertisement(struct bnx2x_phy *phy,
static void bnx2x_restart_autoneg(struct bnx2x_phy *phy,
static void bnx2x_initialize_sgmii_process(struct bnx2x_phy *phy,
static int bnx2x_direct_parallel_detect_used(struct bnx2x_phy *phy,
static void bnx2x_update_adv_fc(struct bnx2x_phy *phy,
static void bnx2x_flow_ctrl_resolve(struct bnx2x_phy *phy,
static void bnx2x_check_fallback_to_cl37(struct bnx2x_phy *phy,
static void bnx2x_xgxs_an_resolve(struct bnx2x_phy *phy,
static int bnx2x_get_link_speed_duplex(struct bnx2x_phy *phy,
static u8 bnx2x_link_settings_status(struct bnx2x_phy *phy,
static u8 bnx2x_warpcore_read_status(struct bnx2x_phy *phy,
struct bnx2x_phy *phy = ¶ms->phy[INT_PHY];
static void bnx2x_set_preemphasis(struct bnx2x_phy *phy,
static void bnx2x_xgxs_config_init(struct bnx2x_phy *phy,
static int bnx2x_prepare_xgxs(struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
static void bnx2x_set_xgxs_loopback(struct bnx2x_phy *phy,
struct bnx2x_phy *int_phy = ¶ms->phy[INT_PHY];
struct bnx2x_phy *phy = ¶ms->phy[INT_PHY];
static void bnx2x_int_link_reset(struct bnx2x_phy *phy,
static void bnx2x_common_ext_link_reset(struct bnx2x_phy *phy,
struct bnx2x_phy *phy = ¶ms->phy[phy_index];
struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
static void bnx2x_8073_resolve_fc(struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
static int bnx2x_8073_is_snr_needed(struct bnx2x *bp, struct bnx2x_phy *phy)
static int bnx2x_8073_xaui_wa(struct bnx2x *bp, struct bnx2x_phy *phy)
static void bnx2x_807x_force_10G(struct bnx2x *bp, struct bnx2x_phy *phy)
struct bnx2x_phy *phy,
static void bnx2x_8073_specific_func(struct bnx2x_phy *phy,
static void bnx2x_8073_config_init(struct bnx2x_phy *phy,
static u8 bnx2x_8073_read_status(struct bnx2x_phy *phy,
static void bnx2x_8073_link_reset(struct bnx2x_phy *phy,
static void bnx2x_8705_config_init(struct bnx2x_phy *phy,
static u8 bnx2x_8705_read_status(struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
static int bnx2x_8726_read_sfp_module_eeprom(struct bnx2x_phy *phy,
static int bnx2x_warpcore_read_sfp_module_eeprom(struct bnx2x_phy *phy,
static int bnx2x_8727_read_sfp_module_eeprom(struct bnx2x_phy *phy,
int bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy,
static int bnx2x_get_edc_mode(struct bnx2x_phy *phy,
static int bnx2x_verify_sfp_module(struct bnx2x_phy *phy,
static int bnx2x_wait_for_sfp_module_initialized(struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
static void bnx2x_8727_specific_func(struct bnx2x_phy *phy,
static void bnx2x_warpcore_hw_reset(struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
struct bnx2x_phy *phy,
static int bnx2x_sfp_module_detection(struct bnx2x_phy *phy,
struct bnx2x_phy *phy;
struct bnx2x_phy *phy,
static u8 bnx2x_8706_8726_read_status(struct bnx2x_phy *phy,
static void bnx2x_8706_config_init(struct bnx2x_phy *phy,
static u8 bnx2x_8706_read_status(struct bnx2x_phy *phy,
static void bnx2x_8726_config_loopback(struct bnx2x_phy *phy,
static void bnx2x_8726_external_rom_boot(struct bnx2x_phy *phy,
static u8 bnx2x_8726_read_status(struct bnx2x_phy *phy,
static void bnx2x_8726_config_init(struct bnx2x_phy *phy,
static void bnx2x_8726_link_reset(struct bnx2x_phy *phy,
static void bnx2x_8727_set_link_led(struct bnx2x_phy *phy,
static void bnx2x_8727_hw_reset(struct bnx2x_phy *phy,
static void bnx2x_8727_config_speed(struct bnx2x_phy *phy,
static void bnx2x_8727_config_init(struct bnx2x_phy *phy,
static void bnx2x_8727_handle_mod_abs(struct bnx2x_phy *phy,
static u8 bnx2x_8727_read_status(struct bnx2x_phy *phy,
static void bnx2x_8727_link_reset(struct bnx2x_phy *phy,
static int bnx2x_is_8483x_8485x(struct bnx2x_phy *phy)
static void bnx2x_save_848xx_spirom_version(struct bnx2x_phy *phy,
struct bnx2x_phy *phy)
static void bnx2x_848xx_specific_func(struct bnx2x_phy *phy,
static int bnx2x_848xx_cmn_config_init(struct bnx2x_phy *phy,
static void bnx2x_8481_config_init(struct bnx2x_phy *phy,
static int bnx2x_84858_cmd_hdlr(struct bnx2x_phy *phy,
struct bnx2x_phy;
typedef void (*config_init_t)(struct bnx2x_phy *phy, struct link_params *params,
typedef u8 (*read_status_t)(struct bnx2x_phy *phy, struct link_params *params,
typedef void (*link_reset_t)(struct bnx2x_phy *phy,
typedef void (*config_loopback_t)(struct bnx2x_phy *phy,
typedef void (*hw_reset_t)(struct bnx2x_phy *phy, struct link_params *params);
typedef void (*set_link_led_t)(struct bnx2x_phy *phy,
typedef void (*phy_specific_func_t)(struct bnx2x_phy *phy,
struct bnx2x_phy phy[MAX_PHYS];
void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy);
int bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy,