Lines Matching refs:bnx2x

307 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits)  in bnx2x_bits_en()
316 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis()
328 static void bnx2x_get_epio(struct bnx2x *bp, u32 epio_pin, u32 *en) in bnx2x_get_epio()
345 static void bnx2x_set_epio(struct bnx2x *bp, u32 epio_pin, u32 en) in bnx2x_set_epio()
370 static void bnx2x_set_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 val) in bnx2x_set_cfg_pin()
383 static u32 bnx2x_get_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 *val) in bnx2x_get_cfg_pin()
403 struct bnx2x *bp = params->bp; in bnx2x_ets_e2e3a0_disabled()
500 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_nig()
538 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_nig_disabled()
629 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_pbf()
662 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_pbf_disabled()
723 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_disabled()
746 struct bnx2x *bp = params->bp; in bnx2x_ets_disabled()
771 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_cli_map()
800 static int bnx2x_ets_e3b0_set_cos_bw(struct bnx2x *bp, in bnx2x_ets_e3b0_set_cos_bw()
877 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_get_total_bw()
940 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_sp_pri_to_cos_set()
1021 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_sp_set_pri_cli_reg()
1115 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_config()
1218 struct bnx2x *bp = params->bp; in bnx2x_ets_bw_limit_common()
1266 struct bnx2x *bp = params->bp; in bnx2x_ets_bw_limit()
1297 struct bnx2x *bp = params->bp; in bnx2x_ets_strict()
1343 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_xmac()
1409 struct bnx2x *bp = params->bp; in bnx2x_emac_get_pfc_stat()
1441 struct bnx2x *bp = params->bp; in bnx2x_pfc_statistic()
1457 static void bnx2x_set_mdio_clk(struct bnx2x *bp, u32 chip_id, u8 port) in bnx2x_set_mdio_clk()
1482 static u8 bnx2x_is_4_port_mode(struct bnx2x *bp) in bnx2x_is_4_port_mode()
1499 struct bnx2x *bp = params->bp; in bnx2x_emac_init()
1543 struct bnx2x *bp = params->bp; in bnx2x_set_xumac_nig()
1556 struct bnx2x *bp = params->bp; in bnx2x_umac_disable()
1570 struct bnx2x *bp = params->bp; in bnx2x_umac_enable()
1666 struct bnx2x *bp = params->bp; in bnx2x_xmac_init()
1727 struct bnx2x *bp = params->bp; in bnx2x_xmac_disable()
1751 struct bnx2x *bp = params->bp; in bnx2x_xmac_enable()
1796 struct bnx2x *bp = params->bp; in bnx2x_emac_enable()
1937 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_bmac1()
1971 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_bmac2()
2080 struct bnx2x *bp = params->bp; in bnx2x_pfc_brb_get_config_params()
2283 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_brb()
2457 int bnx2x_pfc_nig_rx_priority_mask(struct bnx2x *bp, in bnx2x_pfc_nig_rx_priority_mask()
2502 struct bnx2x *bp = params->bp; in bnx2x_update_mng()
2516 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_nig()
2617 struct bnx2x *bp = params->bp; in bnx2x_update_pfc()
2671 struct bnx2x *bp = params->bp; in bnx2x_bmac1_enable()
2735 struct bnx2x *bp = params->bp; in bnx2x_bmac2_enable()
2802 struct bnx2x *bp = params->bp; in bnx2x_bmac_enable()
2839 static void bnx2x_bmac_rx_disable(struct bnx2x *bp, u8 port) in bnx2x_bmac_rx_disable()
2877 struct bnx2x *bp = params->bp; in bnx2x_pbf_update()
2960 static u32 bnx2x_get_emac_base(struct bnx2x *bp, in bnx2x_get_emac_base()
2995 static int bnx2x_cl22_write(struct bnx2x *bp, in bnx2x_cl22_write()
3030 static int bnx2x_cl22_read(struct bnx2x *bp, in bnx2x_cl22_read()
3072 static int bnx2x_cl45_read(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read()
3140 static int bnx2x_cl45_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_write()
3214 struct bnx2x *bp = params->bp; in bnx2x_bsc_module_sel()
3245 struct bnx2x *bp = params->bp; in bnx2x_bsc_read()
3328 static void bnx2x_cl45_read_or_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read_or_write()
3375 struct bnx2x *bp = params->bp; in bnx2x_get_warpcore_lane()
3430 struct bnx2x *bp = params->bp; in bnx2x_set_aer_mmd()
3463 static void bnx2x_set_serdes_access(struct bnx2x *bp, u8 port) in bnx2x_set_serdes_access()
3477 static void bnx2x_serdes_deassert(struct bnx2x *bp, u8 port) in bnx2x_serdes_deassert()
3498 struct bnx2x *bp = params->bp; in bnx2x_xgxs_deassert()
3519 struct bnx2x *bp = params->bp; in bnx2x_calc_ieee_aneg_adv()
3555 struct bnx2x *bp = params->bp; in set_phy_vars()
3598 struct bnx2x *bp = params->bp; in bnx2x_ext_phy_set_pause()
3654 struct bnx2x *bp = params->bp; in bnx2x_ext_phy_update_adv_fc()
3733 struct bnx2x *bp = params->bp; in bnx2x_warpcore_enable_AN_KR()
3853 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_10G_KR()
3930 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_10G_XFI()
4046 static void bnx2x_warpcore_set_20G_KR2(struct bnx2x *bp, in bnx2x_warpcore_set_20G_KR2()
4052 static void bnx2x_warpcore_set_20G_DXGXS(struct bnx2x *bp, in bnx2x_warpcore_set_20G_DXGXS()
4115 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_sgmii_speed()
4194 static void bnx2x_warpcore_reset_lane(struct bnx2x *bp, in bnx2x_warpcore_reset_lane()
4216 struct bnx2x *bp = params->bp; in bnx2x_warpcore_clear_regs()
4253 static int bnx2x_get_mod_abs_int_cfg(struct bnx2x *bp, in bnx2x_get_mod_abs_int_cfg()
4296 struct bnx2x *bp = params->bp; in bnx2x_is_sfp_module_plugged()
4315 struct bnx2x *bp = params->bp; in bnx2x_warpcore_get_sigdet()
4329 struct bnx2x *bp = params->bp; in bnx2x_warpcore_config_runtime()
4395 struct bnx2x *bp = params->bp; in bnx2x_warpcore_config_init()
4504 struct bnx2x *bp = params->bp; in bnx2x_sfp_e3_set_transmitter()
4524 struct bnx2x *bp = params->bp; in bnx2x_warpcore_link_reset()
4567 struct bnx2x *bp = params->bp; in bnx2x_set_warpcore_loopback()
4615 struct bnx2x *bp = params->bp; in bnx2x_sync_link()
4719 struct bnx2x *bp = params->bp; in bnx2x_link_status_update()
4772 struct bnx2x *bp = params->bp; in bnx2x_set_master_ln()
4794 struct bnx2x *bp = params->bp; in bnx2x_reset_unicore()
4837 struct bnx2x *bp = params->bp; in bnx2x_set_swap_lanes()
4880 struct bnx2x *bp = params->bp; in bnx2x_set_parallel_detection()
4935 struct bnx2x *bp = params->bp; in bnx2x_set_autoneg()
5038 struct bnx2x *bp = params->bp; in bnx2x_program_serdes()
5087 struct bnx2x *bp = params->bp; in bnx2x_set_brcm_cl37_advertisement()
5110 struct bnx2x *bp = params->bp; in bnx2x_set_ieee_aneg_advertisement()
5131 struct bnx2x *bp = params->bp; in bnx2x_restart_autoneg()
5171 struct bnx2x *bp = params->bp; in bnx2x_initialize_sgmii_process()
5245 struct bnx2x *bp = params->bp; in bnx2x_direct_parallel_detect_used()
5284 struct bnx2x *bp = params->bp; in bnx2x_update_adv_fc()
5328 struct bnx2x *bp = params->bp; in bnx2x_flow_ctrl_resolve()
5354 struct bnx2x *bp = params->bp; in bnx2x_check_fallback_to_cl37()
5441 struct bnx2x *bp = params->bp; in bnx2x_get_link_speed_duplex()
5528 struct bnx2x *bp = params->bp; in bnx2x_link_settings_status()
5601 struct bnx2x *bp = params->bp; in bnx2x_warpcore_read_status()
5700 struct bnx2x *bp = params->bp; in bnx2x_set_gmii_tx_driver()
5740 struct bnx2x *bp = params->bp; in bnx2x_emac_program()
5789 struct bnx2x *bp = params->bp; in bnx2x_set_preemphasis()
5812 struct bnx2x *bp = params->bp; in bnx2x_xgxs_config_init()
5896 static u16 bnx2x_wait_reset_complete(struct bnx2x *bp, in bnx2x_wait_reset_complete()
5927 struct bnx2x *bp = params->bp; in bnx2x_link_int_enable()
5971 static void bnx2x_rearm_latch_signal(struct bnx2x *bp, u8 port, in bnx2x_rearm_latch_signal()
6009 struct bnx2x *bp = params->bp; in bnx2x_link_int_ack()
6097 struct bnx2x *bp; in bnx2x_get_ext_phy_fw_version()
6138 struct bnx2x *bp = params->bp; in bnx2x_set_xgxs_loopback()
6198 struct bnx2x *bp = params->bp; in bnx2x_set_led()
6343 struct bnx2x *bp = params->bp; in bnx2x_test_link()
6424 struct bnx2x *bp = params->bp; in bnx2x_link_initialize()
6510 struct bnx2x *bp = params->bp; in bnx2x_common_ext_link_reset()
6529 struct bnx2x *bp = params->bp; in bnx2x_update_link_down()
6579 struct bnx2x *bp = params->bp; in bnx2x_update_link_up()
6662 struct bnx2x *bp = params->bp; in bnx2x_link_update()
6916 void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port) in bnx2x_ext_phy_hw_reset()
6925 static void bnx2x_save_spirom_version(struct bnx2x *bp, u8 port, in bnx2x_save_spirom_version()
6935 static void bnx2x_save_bcm_spirom_ver(struct bnx2x *bp, in bnx2x_save_bcm_spirom_ver()
6949 static void bnx2x_ext_phy_10G_an_resolve(struct bnx2x *bp, in bnx2x_ext_phy_10G_an_resolve()
6973 struct bnx2x *bp = params->bp; in bnx2x_8073_resolve_fc()
7002 static int bnx2x_8073_8727_external_rom_boot(struct bnx2x *bp, in bnx2x_8073_8727_external_rom_boot()
7083 static int bnx2x_8073_is_snr_needed(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_is_snr_needed()
7109 static int bnx2x_8073_xaui_wa(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_xaui_wa()
7168 static void bnx2x_807x_force_10G(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_807x_force_10G()
7186 struct bnx2x *bp = params->bp; in bnx2x_8073_set_pause_cl37()
7220 struct bnx2x *bp = params->bp; in bnx2x_8073_config_init()
7375 struct bnx2x *bp = params->bp; in bnx2x_8073_read_status()
7521 struct bnx2x *bp = params->bp; in bnx2x_8073_link_reset()
7541 struct bnx2x *bp = params->bp; in bnx2x_8705_config_init()
7570 struct bnx2x *bp = params->bp; in bnx2x_8705_read_status()
7604 struct bnx2x *bp = params->bp; in bnx2x_set_disable_pmd_transmit()
7628 struct bnx2x *bp = params->bp; in bnx2x_get_gpio_port()
7644 struct bnx2x *bp = params->bp; in bnx2x_sfp_e1e2_set_transmitter()
7699 struct bnx2x *bp = params->bp; in bnx2x_sfp_set_transmitter()
7711 struct bnx2x *bp = params->bp; in bnx2x_8726_read_sfp_module_eeprom()
7782 struct bnx2x *bp = params->bp; in bnx2x_warpcore_read_sfp_module_eeprom()
7813 struct bnx2x *bp = params->bp; in bnx2x_8727_read_sfp_module_eeprom()
7923 struct bnx2x *bp = params->bp; in bnx2x_get_edc_mode()
8029 struct bnx2x *bp = params->bp; in bnx2x_verify_sfp_module()
8103 struct bnx2x *bp = params->bp; in bnx2x_wait_for_sfp_module_initialized()
8123 static void bnx2x_8727_power_module(struct bnx2x *bp, in bnx2x_8727_power_module()
8157 static int bnx2x_8726_set_limiting_mode(struct bnx2x *bp, in bnx2x_8726_set_limiting_mode()
8207 static int bnx2x_8727_set_limiting_mode(struct bnx2x *bp, in bnx2x_8727_set_limiting_mode()
8245 struct bnx2x *bp = params->bp; in bnx2x_8727_specific_func()
8265 struct bnx2x *bp = params->bp; in bnx2x_set_e1e2_module_fault_led()
8299 struct bnx2x *bp = params->bp; in bnx2x_set_e3_module_fault_led()
8313 struct bnx2x *bp = params->bp; in bnx2x_set_sfp_module_fault_led()
8330 struct bnx2x *bp = params->bp; in bnx2x_warpcore_power_module()
8352 struct bnx2x *bp = params->bp; in bnx2x_warpcore_hw_reset()
8367 struct bnx2x *bp = params->bp; in bnx2x_power_sfp_module()
8388 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_limiting_mode()
8442 struct bnx2x *bp = params->bp; in bnx2x_sfp_module_detection()
8499 struct bnx2x *bp = params->bp; in bnx2x_handle_module_detect_int()
8554 static void bnx2x_sfp_mask_fault(struct bnx2x *bp, in bnx2x_sfp_mask_fault()
8583 struct bnx2x *bp = params->bp; in bnx2x_8706_8726_read_status()
8646 struct bnx2x *bp = params->bp; in bnx2x_8706_config_init()
8760 struct bnx2x *bp = params->bp; in bnx2x_8726_config_loopback()
8768 struct bnx2x *bp = params->bp; in bnx2x_8726_external_rom_boot()
8807 struct bnx2x *bp = params->bp; in bnx2x_8726_read_status()
8828 struct bnx2x *bp = params->bp; in bnx2x_8726_config_init()
8914 struct bnx2x *bp = params->bp; in bnx2x_8726_link_reset()
8929 struct bnx2x *bp = params->bp; in bnx2x_8727_set_link_led()
8980 struct bnx2x *bp = params->bp; in bnx2x_8727_hw_reset()
8996 struct bnx2x *bp = params->bp; in bnx2x_8727_config_init()
9168 struct bnx2x *bp = params->bp; in bnx2x_8727_handle_mod_abs()
9256 struct bnx2x *bp = params->bp; in bnx2x_8727_read_status()
9415 struct bnx2x *bp = params->bp; in bnx2x_8727_link_reset()
9431 struct bnx2x *bp, in bnx2x_save_848xx_spirom_version()
9492 static void bnx2x_848xx_set_led(struct bnx2x *bp, in bnx2x_848xx_set_led()
9557 struct bnx2x *bp = params->bp; in bnx2x_848xx_cmn_config_init()
9711 struct bnx2x *bp = params->bp; in bnx2x_8481_config_init()
9733 struct bnx2x *bp = params->bp; in bnx2x_84833_cmd_hdlr()
9791 struct bnx2x *bp = params->bp; in bnx2x_84833_pair_swap_cfg()
9813 static u8 bnx2x_84833_get_reset_gpios(struct bnx2x *bp, in bnx2x_84833_get_reset_gpios()
9854 struct bnx2x *bp = params->bp; in bnx2x_84833_hw_reset_phy()
9889 struct bnx2x *bp = params->bp; in bnx2x_848x3_config_init()
10026 struct bnx2x *bp = params->bp; in bnx2x_848xx_read_status()
10176 struct bnx2x *bp = params->bp; in bnx2x_848x3_link_reset()
10203 struct bnx2x *bp = params->bp; in bnx2x_848xx_set_link_led()
10413 struct bnx2x *bp = params->bp; in bnx2x_54618se_config_init()
10610 struct bnx2x *bp = params->bp; in bnx2x_5461x_set_link_led()
10646 struct bnx2x *bp = params->bp; in bnx2x_54618se_link_reset()
10674 struct bnx2x *bp = params->bp; in bnx2x_54618se_read_status()
10799 struct bnx2x *bp = params->bp; in bnx2x_54618se_config_loopback()
10843 struct bnx2x *bp = params->bp; in bnx2x_7101_config_loopback()
10854 struct bnx2x *bp = params->bp; in bnx2x_7101_config_init()
10893 struct bnx2x *bp = params->bp; in bnx2x_7101_read_status()
10942 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_sfx7101_sp_sw_reset()
10981 struct bnx2x *bp = params->bp; in bnx2x_7101_set_link_led()
11462 static void bnx2x_populate_preemphasis(struct bnx2x *bp, u32 shmem_base, in bnx2x_populate_preemphasis()
11500 static u32 bnx2x_get_ext_phy_config(struct bnx2x *bp, u32 shmem_base, in bnx2x_get_ext_phy_config()
11522 static int bnx2x_populate_int_phy(struct bnx2x *bp, u32 shmem_base, u8 port, in bnx2x_populate_int_phy()
11652 static int bnx2x_populate_ext_phy(struct bnx2x *bp, in bnx2x_populate_ext_phy()
11782 static int bnx2x_populate_phy(struct bnx2x *bp, u8 phy_index, u32 shmem_base, in bnx2x_populate_phy()
11798 struct bnx2x *bp = params->bp; in bnx2x_phy_def_cfg()
11904 struct bnx2x *bp = params->bp; in bnx2x_phy_probe()
11970 struct bnx2x *bp = params->bp; in bnx2x_init_bmac_loopback()
11990 struct bnx2x *bp = params->bp; in bnx2x_init_emac_loopback()
12009 struct bnx2x *bp = params->bp; in bnx2x_init_xmac_loopback()
12036 struct bnx2x *bp = params->bp; in bnx2x_init_umac_loopback()
12051 struct bnx2x *bp = params->bp; in bnx2x_init_xgxs_loopback()
12102 struct bnx2x *bp = params->bp; in bnx2x_phy_init()
12171 struct bnx2x *bp = params->bp; in bnx2x_link_reset()
12260 static int bnx2x_8073_common_init_phy(struct bnx2x *bp, in bnx2x_8073_common_init_phy()
12386 static int bnx2x_8726_common_init_phy(struct bnx2x *bp, in bnx2x_8726_common_init_phy()
12435 static void bnx2x_get_ext_phy_reset_gpio(struct bnx2x *bp, u32 shmem_base, in bnx2x_get_ext_phy_reset_gpio()
12481 static int bnx2x_8727_common_init_phy(struct bnx2x *bp, in bnx2x_8727_common_init_phy()
12581 static int bnx2x_84833_common_init_phy(struct bnx2x *bp, in bnx2x_84833_common_init_phy()
12597 static int bnx2x_84833_pre_init_phy(struct bnx2x *bp, in bnx2x_84833_pre_init_phy()
12629 int bnx2x_pre_init_phy(struct bnx2x *bp, in bnx2x_pre_init_phy()
12652 static int bnx2x_ext_phy_common_init(struct bnx2x *bp, u32 shmem_base_path[], in bnx2x_ext_phy_common_init()
12707 int bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[], in bnx2x_common_init_phy()
12750 struct bnx2x *bp = params->bp; in bnx2x_check_over_curr()
12784 struct bnx2x *bp = params->bp; in bnx2x_analyze_link_error()
12840 struct bnx2x *bp = params->bp; in bnx2x_check_half_open_conn()
12889 struct bnx2x *bp = params->bp; in bnx2x_period_func()
12908 u8 bnx2x_hw_lock_required(struct bnx2x *bp, u32 shmem_base, u32 shmem2_base) in bnx2x_hw_lock_required()
12926 u8 bnx2x_fan_failure_det_req(struct bnx2x *bp, in bnx2x_fan_failure_det_req()
12950 struct bnx2x *bp = params->bp; in bnx2x_hw_reset_phy()
12969 void bnx2x_init_mod_abs_int(struct bnx2x *bp, struct link_vars *vars, in bnx2x_init_mod_abs_int()