Lines Matching refs:bnx2x
224 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_en()
233 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis()
255 struct bnx2x *bp = params->bp; in bnx2x_check_lfa()
372 static void bnx2x_get_epio(struct bnx2x *bp, u32 epio_pin, u32 *en) in bnx2x_get_epio()
389 static void bnx2x_set_epio(struct bnx2x *bp, u32 epio_pin, u32 en) in bnx2x_set_epio()
414 static void bnx2x_set_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 val) in bnx2x_set_cfg_pin()
427 static u32 bnx2x_get_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 *val) in bnx2x_get_cfg_pin()
447 struct bnx2x *bp = params->bp; in bnx2x_ets_e2e3a0_disabled()
538 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_nig()
576 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_nig_disabled()
660 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_pbf()
692 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_pbf_disabled()
751 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_disabled()
774 struct bnx2x *bp = params->bp; in bnx2x_ets_disabled()
799 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_cli_map()
828 static int bnx2x_ets_e3b0_set_cos_bw(struct bnx2x *bp, in bnx2x_ets_e3b0_set_cos_bw()
905 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_get_total_bw()
965 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_sp_pri_to_cos_set()
1046 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_sp_set_pri_cli_reg()
1140 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_config()
1241 struct bnx2x *bp = params->bp; in bnx2x_ets_bw_limit_common()
1286 struct bnx2x *bp = params->bp; in bnx2x_ets_bw_limit()
1317 struct bnx2x *bp = params->bp; in bnx2x_ets_strict()
1361 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_xmac()
1421 static void bnx2x_set_mdio_clk(struct bnx2x *bp, u32 chip_id, in bnx2x_set_mdio_clk()
1451 static void bnx2x_set_mdio_emac_per_phy(struct bnx2x *bp, in bnx2x_set_mdio_emac_per_phy()
1462 static u8 bnx2x_is_4_port_mode(struct bnx2x *bp) in bnx2x_is_4_port_mode()
1479 struct bnx2x *bp = params->bp; in bnx2x_emac_init()
1524 struct bnx2x *bp = params->bp; in bnx2x_set_xumac_nig()
1538 struct bnx2x *bp = params->bp; in bnx2x_set_umac_rxtx()
1558 struct bnx2x *bp = params->bp; in bnx2x_umac_enable()
1654 struct bnx2x *bp = params->bp; in bnx2x_xmac_init()
1717 struct bnx2x *bp = params->bp; in bnx2x_set_xmac_rxtx()
1746 struct bnx2x *bp = params->bp; in bnx2x_xmac_enable()
1815 struct bnx2x *bp = params->bp; in bnx2x_emac_enable()
1949 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_bmac1()
1982 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_bmac2()
2064 static int bnx2x_pfc_nig_rx_priority_mask(struct bnx2x *bp, in bnx2x_pfc_nig_rx_priority_mask()
2109 struct bnx2x *bp = params->bp; in bnx2x_update_mng()
2118 struct bnx2x *bp = params->bp; in bnx2x_update_link_attr()
2133 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_nig()
2231 struct bnx2x *bp = params->bp; in bnx2x_update_pfc()
2280 struct bnx2x *bp = params->bp; in bnx2x_bmac1_enable()
2344 struct bnx2x *bp = params->bp; in bnx2x_bmac2_enable()
2411 struct bnx2x *bp = params->bp; in bnx2x_bmac_enable()
2450 static void bnx2x_set_bmac_rx(struct bnx2x *bp, u32 chip_id, u8 port, u8 en) in bnx2x_set_bmac_rx()
2479 struct bnx2x *bp = params->bp; in bnx2x_pbf_update()
2561 static u32 bnx2x_get_emac_base(struct bnx2x *bp, in bnx2x_get_emac_base()
2596 static int bnx2x_cl22_write(struct bnx2x *bp, in bnx2x_cl22_write()
2631 static int bnx2x_cl22_read(struct bnx2x *bp, in bnx2x_cl22_read()
2673 static int bnx2x_cl45_read(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read()
2748 static int bnx2x_cl45_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_write()
2826 struct bnx2x *bp = params->bp; in bnx2x_eee_has_cap()
2878 struct bnx2x *bp = params->bp; in bnx2x_eee_calc_timer()
2911 struct bnx2x *bp = params->bp; in bnx2x_eee_set_timers()
2963 struct bnx2x *bp = params->bp; in bnx2x_eee_disable()
2979 struct bnx2x *bp = params->bp; in bnx2x_eee_advertise()
3004 struct bnx2x *bp = params->bp; in bnx2x_update_mng_eee()
3016 struct bnx2x *bp = params->bp; in bnx2x_eee_an_resolve()
3067 struct bnx2x *bp = params->bp; in bnx2x_bsc_module_sel()
3089 struct bnx2x *bp, in bnx2x_bsc_read()
3175 static void bnx2x_cl45_read_or_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read_or_write()
3183 static void bnx2x_cl45_read_and_write(struct bnx2x *bp, in bnx2x_cl45_read_and_write()
3229 struct bnx2x *bp = params->bp; in bnx2x_get_warpcore_lane()
3284 struct bnx2x *bp = params->bp; in bnx2x_set_aer_mmd()
3316 static void bnx2x_set_serdes_access(struct bnx2x *bp, u8 port) in bnx2x_set_serdes_access()
3330 static void bnx2x_serdes_deassert(struct bnx2x *bp, u8 port) in bnx2x_serdes_deassert()
3353 struct bnx2x *bp = params->bp; in bnx2x_xgxs_specific_func()
3366 struct bnx2x *bp = params->bp; in bnx2x_xgxs_deassert()
3385 struct bnx2x *bp = params->bp; in bnx2x_calc_ieee_aneg_adv()
3426 struct bnx2x *bp = params->bp; in set_phy_vars()
3469 struct bnx2x *bp = params->bp; in bnx2x_ext_phy_set_pause()
3526 struct bnx2x *bp = params->bp; in bnx2x_ext_phy_update_adv_fc()
3617 struct bnx2x *bp = params->bp; in bnx2x_warpcore_enable_AN_KR2()
3656 struct bnx2x *bp = params->bp; in bnx2x_disable_kr2()
3690 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_lpi_passthrough()
3703 struct bnx2x *bp = params->bp; in bnx2x_warpcore_restart_AN_KR()
3719 struct bnx2x *bp = params->bp; in bnx2x_warpcore_enable_AN_KR()
3870 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_10G_KR()
3938 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_10G_XFI()
4074 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_20G_force_KR2()
4123 static void bnx2x_warpcore_set_20G_DXGXS(struct bnx2x *bp, in bnx2x_warpcore_set_20G_DXGXS()
4182 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_sgmii_speed()
4259 static void bnx2x_warpcore_reset_lane(struct bnx2x *bp, in bnx2x_warpcore_reset_lane()
4281 struct bnx2x *bp = params->bp; in bnx2x_warpcore_clear_regs()
4313 static int bnx2x_get_mod_abs_int_cfg(struct bnx2x *bp, in bnx2x_get_mod_abs_int_cfg()
4355 struct bnx2x *bp = params->bp; in bnx2x_is_sfp_module_plugged()
4374 struct bnx2x *bp = params->bp; in bnx2x_warpcore_get_sigdet()
4388 struct bnx2x *bp = params->bp; in bnx2x_warpcore_config_runtime()
4441 struct bnx2x *bp = params->bp; in bnx2x_warpcore_config_sfi()
4458 struct bnx2x *bp = params->bp; in bnx2x_sfp_e3_set_transmitter()
4479 struct bnx2x *bp = params->bp; in bnx2x_warpcore_config_init()
4586 struct bnx2x *bp = params->bp; in bnx2x_warpcore_link_reset()
4641 struct bnx2x *bp = params->bp; in bnx2x_set_warpcore_loopback()
4686 struct bnx2x *bp = params->bp; in bnx2x_sync_link()
4792 struct bnx2x *bp = params->bp; in bnx2x_link_status_update()
4859 struct bnx2x *bp = params->bp; in bnx2x_set_master_ln()
4881 struct bnx2x *bp = params->bp; in bnx2x_reset_unicore()
4924 struct bnx2x *bp = params->bp; in bnx2x_set_swap_lanes()
4966 struct bnx2x *bp = params->bp; in bnx2x_set_parallel_detection()
5021 struct bnx2x *bp = params->bp; in bnx2x_set_autoneg()
5124 struct bnx2x *bp = params->bp; in bnx2x_program_serdes()
5172 struct bnx2x *bp = params->bp; in bnx2x_set_brcm_cl37_advertisement()
5193 struct bnx2x *bp = params->bp; in bnx2x_set_ieee_aneg_advertisement()
5214 struct bnx2x *bp = params->bp; in bnx2x_restart_autoneg()
5254 struct bnx2x *bp = params->bp; in bnx2x_initialize_sgmii_process()
5325 struct bnx2x *bp = params->bp; in bnx2x_direct_parallel_detect_used()
5364 struct bnx2x *bp = params->bp; in bnx2x_update_adv_fc()
5408 struct bnx2x *bp = params->bp; in bnx2x_flow_ctrl_resolve()
5434 struct bnx2x *bp = params->bp; in bnx2x_check_fallback_to_cl37()
5519 struct bnx2x *bp = params->bp; in bnx2x_get_link_speed_duplex()
5607 struct bnx2x *bp = params->bp; in bnx2x_link_settings_status()
5681 struct bnx2x *bp = params->bp; in bnx2x_warpcore_read_status()
5804 struct bnx2x *bp = params->bp; in bnx2x_set_gmii_tx_driver()
5844 struct bnx2x *bp = params->bp; in bnx2x_emac_program()
5893 struct bnx2x *bp = params->bp; in bnx2x_set_preemphasis()
5916 struct bnx2x *bp = params->bp; in bnx2x_xgxs_config_init()
6000 static u16 bnx2x_wait_reset_complete(struct bnx2x *bp, in bnx2x_wait_reset_complete()
6031 struct bnx2x *bp = params->bp; in bnx2x_link_int_enable()
6075 static void bnx2x_rearm_latch_signal(struct bnx2x *bp, u8 port, in bnx2x_rearm_latch_signal()
6112 struct bnx2x *bp = params->bp; in bnx2x_link_int_ack()
6198 struct bnx2x *bp; in bnx2x_get_ext_phy_fw_version()
6239 struct bnx2x *bp = params->bp; in bnx2x_set_xgxs_loopback()
6299 struct bnx2x *bp = params->bp; in bnx2x_set_led()
6441 struct bnx2x *bp = params->bp; in bnx2x_test_link()
6523 struct bnx2x *bp = params->bp; in bnx2x_link_initialize()
6608 struct bnx2x *bp = params->bp; in bnx2x_common_ext_link_reset()
6627 struct bnx2x *bp = params->bp; in bnx2x_update_link_down()
6675 struct bnx2x *bp = params->bp; in bnx2x_update_link_up()
6764 struct bnx2x *bp = params->bp; in bnx2x_chng_link_count()
6794 struct bnx2x *bp = params->bp; in bnx2x_link_update()
7051 void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port) in bnx2x_ext_phy_hw_reset()
7060 static void bnx2x_save_spirom_version(struct bnx2x *bp, u8 port, in bnx2x_save_spirom_version()
7070 static void bnx2x_save_bcm_spirom_ver(struct bnx2x *bp, in bnx2x_save_bcm_spirom_ver()
7084 static void bnx2x_ext_phy_10G_an_resolve(struct bnx2x *bp, in bnx2x_ext_phy_10G_an_resolve()
7108 struct bnx2x *bp = params->bp; in bnx2x_8073_resolve_fc()
7137 static int bnx2x_8073_8727_external_rom_boot(struct bnx2x *bp, in bnx2x_8073_8727_external_rom_boot()
7218 static int bnx2x_8073_is_snr_needed(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_is_snr_needed()
7244 static int bnx2x_8073_xaui_wa(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_xaui_wa()
7300 static void bnx2x_807x_force_10G(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_807x_force_10G()
7318 struct bnx2x *bp = params->bp; in bnx2x_8073_set_pause_cl37()
7352 struct bnx2x *bp = params->bp; in bnx2x_8073_specific_func()
7368 struct bnx2x *bp = params->bp; in bnx2x_8073_config_init()
7516 struct bnx2x *bp = params->bp; in bnx2x_8073_read_status()
7660 struct bnx2x *bp = params->bp; in bnx2x_8073_link_reset()
7680 struct bnx2x *bp = params->bp; in bnx2x_8705_config_init()
7709 struct bnx2x *bp = params->bp; in bnx2x_8705_read_status()
7743 struct bnx2x *bp = params->bp; in bnx2x_set_disable_pmd_transmit()
7766 struct bnx2x *bp = params->bp; in bnx2x_get_gpio_port()
7782 struct bnx2x *bp = params->bp; in bnx2x_sfp_e1e2_set_transmitter()
7837 struct bnx2x *bp = params->bp; in bnx2x_sfp_set_transmitter()
7850 struct bnx2x *bp = params->bp; in bnx2x_8726_read_sfp_module_eeprom()
7916 struct bnx2x *bp = params->bp; in bnx2x_warpcore_power_module()
7943 struct bnx2x *bp = params->bp; in bnx2x_warpcore_read_sfp_module_eeprom()
7979 struct bnx2x *bp = params->bp; in bnx2x_8727_read_sfp_module_eeprom()
8074 struct bnx2x *bp = params->bp; in bnx2x_read_sfp_module_eeprom()
8115 struct bnx2x *bp = params->bp; in bnx2x_get_edc_mode()
8256 struct bnx2x *bp = params->bp; in bnx2x_verify_sfp_module()
8333 struct bnx2x *bp = params->bp; in bnx2x_wait_for_sfp_module_initialized()
8361 static void bnx2x_8727_power_module(struct bnx2x *bp, in bnx2x_8727_power_module()
8393 static int bnx2x_8726_set_limiting_mode(struct bnx2x *bp, in bnx2x_8726_set_limiting_mode()
8442 static int bnx2x_8727_set_limiting_mode(struct bnx2x *bp, in bnx2x_8727_set_limiting_mode()
8480 struct bnx2x *bp = params->bp; in bnx2x_8727_specific_func()
8525 struct bnx2x *bp = params->bp; in bnx2x_set_e1e2_module_fault_led()
8559 struct bnx2x *bp = params->bp; in bnx2x_set_e3_module_fault_led()
8573 struct bnx2x *bp = params->bp; in bnx2x_set_sfp_module_fault_led()
8587 struct bnx2x *bp = params->bp; in bnx2x_warpcore_hw_reset()
8602 struct bnx2x *bp = params->bp; in bnx2x_power_sfp_module()
8623 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_limiting_mode()
8678 struct bnx2x *bp = params->bp; in bnx2x_sfp_module_detection()
8732 struct bnx2x *bp = params->bp; in bnx2x_handle_module_detect_int()
8802 static void bnx2x_sfp_mask_fault(struct bnx2x *bp, in bnx2x_sfp_mask_fault()
8831 struct bnx2x *bp = params->bp; in bnx2x_8706_8726_read_status()
8893 struct bnx2x *bp = params->bp; in bnx2x_8706_config_init()
9006 struct bnx2x *bp = params->bp; in bnx2x_8726_config_loopback()
9014 struct bnx2x *bp = params->bp; in bnx2x_8726_external_rom_boot()
9053 struct bnx2x *bp = params->bp; in bnx2x_8726_read_status()
9074 struct bnx2x *bp = params->bp; in bnx2x_8726_config_init()
9158 struct bnx2x *bp = params->bp; in bnx2x_8726_link_reset()
9173 struct bnx2x *bp = params->bp; in bnx2x_8727_set_link_led()
9223 struct bnx2x *bp = params->bp; in bnx2x_8727_hw_reset()
9234 struct bnx2x *bp = params->bp; in bnx2x_8727_config_speed()
9294 struct bnx2x *bp = params->bp; in bnx2x_8727_config_init()
9377 struct bnx2x *bp = params->bp; in bnx2x_8727_handle_mod_abs()
9464 struct bnx2x *bp = params->bp; in bnx2x_8727_read_status()
9621 struct bnx2x *bp = params->bp; in bnx2x_8727_link_reset()
9637 struct bnx2x *bp, in bnx2x_save_848xx_spirom_version()
9705 static void bnx2x_848xx_set_led(struct bnx2x *bp, in bnx2x_848xx_set_led()
9749 struct bnx2x *bp = params->bp; in bnx2x_848xx_specific_func()
9773 struct bnx2x *bp = params->bp; in bnx2x_848xx_cmn_config_init()
9920 struct bnx2x *bp = params->bp; in bnx2x_8481_config_init()
9941 struct bnx2x *bp = params->bp; in bnx2x_84833_cmd_hdlr()
9998 struct bnx2x *bp = params->bp; in bnx2x_84833_pair_swap_cfg()
10020 static u8 bnx2x_84833_get_reset_gpios(struct bnx2x *bp, in bnx2x_84833_get_reset_gpios()
10061 struct bnx2x *bp = params->bp; in bnx2x_84833_hw_reset_phy()
10096 struct bnx2x *bp = params->bp; in bnx2x_8483x_disable_eee()
10117 struct bnx2x *bp = params->bp; in bnx2x_8483x_enable_eee()
10135 struct bnx2x *bp = params->bp; in bnx2x_848x3_config_init()
10301 struct bnx2x *bp = params->bp; in bnx2x_848xx_read_status()
10457 struct bnx2x *bp = params->bp; in bnx2x_848x3_link_reset()
10484 struct bnx2x *bp = params->bp; in bnx2x_848xx_set_link_led()
10761 struct bnx2x *bp = params->bp; in bnx2x_54618se_specific_func()
10790 struct bnx2x *bp = params->bp; in bnx2x_54618se_config_init()
10996 struct bnx2x *bp = params->bp; in bnx2x_5461x_set_link_led()
11032 struct bnx2x *bp = params->bp; in bnx2x_54618se_link_reset()
11058 struct bnx2x *bp = params->bp; in bnx2x_54618se_read_status()
11164 struct bnx2x *bp = params->bp; in bnx2x_54618se_config_loopback()
11207 struct bnx2x *bp = params->bp; in bnx2x_7101_config_loopback()
11218 struct bnx2x *bp = params->bp; in bnx2x_7101_config_init()
11257 struct bnx2x *bp = params->bp; in bnx2x_7101_read_status()
11306 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_sfx7101_sp_sw_reset()
11345 struct bnx2x *bp = params->bp; in bnx2x_7101_set_link_led()
11863 static void bnx2x_populate_preemphasis(struct bnx2x *bp, u32 shmem_base, in bnx2x_populate_preemphasis()
11900 static u32 bnx2x_get_ext_phy_config(struct bnx2x *bp, u32 shmem_base, in bnx2x_get_ext_phy_config()
11922 static int bnx2x_populate_int_phy(struct bnx2x *bp, u32 shmem_base, u8 port, in bnx2x_populate_int_phy()
12059 static int bnx2x_populate_ext_phy(struct bnx2x *bp, in bnx2x_populate_ext_phy()
12186 static int bnx2x_populate_phy(struct bnx2x *bp, u8 phy_index, u32 shmem_base, in bnx2x_populate_phy()
12202 struct bnx2x *bp = params->bp; in bnx2x_phy_def_cfg()
12307 struct bnx2x *bp = params->bp; in bnx2x_phy_probe()
12380 struct bnx2x *bp = params->bp; in bnx2x_init_bmac_loopback()
12400 struct bnx2x *bp = params->bp; in bnx2x_init_emac_loopback()
12419 struct bnx2x *bp = params->bp; in bnx2x_init_xmac_loopback()
12445 struct bnx2x *bp = params->bp; in bnx2x_init_umac_loopback()
12460 struct bnx2x *bp = params->bp; in bnx2x_init_xgxs_loopback()
12511 struct bnx2x *bp = params->bp; in bnx2x_set_rx_filter()
12532 struct bnx2x *bp = params->bp; in bnx2x_avoid_link_flap()
12607 struct bnx2x *bp = params->bp; in bnx2x_cannot_avoid_link_flap()
12665 struct bnx2x *bp = params->bp; in bnx2x_phy_init()
12754 struct bnx2x *bp = params->bp; in bnx2x_link_reset()
12845 struct bnx2x *bp = params->bp; in bnx2x_lfa_reset()
12897 static int bnx2x_8073_common_init_phy(struct bnx2x *bp, in bnx2x_8073_common_init_phy()
13023 static int bnx2x_8726_common_init_phy(struct bnx2x *bp, in bnx2x_8726_common_init_phy()
13072 static void bnx2x_get_ext_phy_reset_gpio(struct bnx2x *bp, u32 shmem_base, in bnx2x_get_ext_phy_reset_gpio()
13118 static int bnx2x_8727_common_init_phy(struct bnx2x *bp, in bnx2x_8727_common_init_phy()
13217 static int bnx2x_84833_common_init_phy(struct bnx2x *bp, in bnx2x_84833_common_init_phy()
13233 static int bnx2x_ext_phy_common_init(struct bnx2x *bp, u32 shmem_base_path[], in bnx2x_ext_phy_common_init()
13287 int bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[], in bnx2x_common_init_phy()
13331 struct bnx2x *bp = params->bp; in bnx2x_check_over_curr()
13368 struct bnx2x *bp = params->bp; in bnx2x_analyze_link_error()
13447 struct bnx2x *bp = params->bp; in bnx2x_check_half_open_conn()
13502 struct bnx2x *bp = params->bp; in bnx2x_sfp_tx_fault_detection()
13545 struct bnx2x *bp = params->bp; in bnx2x_kr2_recovery()
13555 struct bnx2x *bp = params->bp; in bnx2x_check_kr2_wa()
13627 struct bnx2x *bp = params->bp; in bnx2x_period_func()
13667 u8 bnx2x_fan_failure_det_req(struct bnx2x *bp, in bnx2x_fan_failure_det_req()
13691 struct bnx2x *bp = params->bp; in bnx2x_hw_reset_phy()
13710 void bnx2x_init_mod_abs_int(struct bnx2x *bp, struct link_vars *vars, in bnx2x_init_mod_abs_int()