Lines Matching defs:bp

308 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits)  in bnx2x_bits_en()
317 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis()
329 static void bnx2x_get_epio(struct bnx2x *bp, u32 epio_pin, u32 *en) in bnx2x_get_epio()
346 static void bnx2x_set_epio(struct bnx2x *bp, u32 epio_pin, u32 en) in bnx2x_set_epio()
371 static void bnx2x_set_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 val) in bnx2x_set_cfg_pin()
384 static u32 bnx2x_get_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 *val) in bnx2x_get_cfg_pin()
404 struct bnx2x *bp = params->bp; in bnx2x_ets_e2e3a0_disabled() local
501 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_nig() local
539 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_nig_disabled() local
630 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_pbf() local
663 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_pbf_disabled() local
724 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_disabled() local
747 struct bnx2x *bp = params->bp; in bnx2x_ets_disabled() local
772 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_cli_map() local
801 static int bnx2x_ets_e3b0_set_cos_bw(struct bnx2x *bp, in bnx2x_ets_e3b0_set_cos_bw()
878 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_get_total_bw() local
941 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_sp_pri_to_cos_set() local
1022 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_sp_set_pri_cli_reg() local
1116 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_config() local
1219 struct bnx2x *bp = params->bp; in bnx2x_ets_bw_limit_common() local
1267 struct bnx2x *bp = params->bp; in bnx2x_ets_bw_limit() local
1298 struct bnx2x *bp = params->bp; in bnx2x_ets_strict() local
1344 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_xmac() local
1403 struct bnx2x *bp = params->bp; in bnx2x_emac_get_pfc_stat() local
1435 struct bnx2x *bp = params->bp; in bnx2x_pfc_statistic() local
1451 static void bnx2x_set_mdio_clk(struct bnx2x *bp, u32 chip_id, u8 port) in bnx2x_set_mdio_clk()
1476 static u8 bnx2x_is_4_port_mode(struct bnx2x *bp) in bnx2x_is_4_port_mode()
1493 struct bnx2x *bp = params->bp; in bnx2x_emac_init() local
1537 struct bnx2x *bp = params->bp; in bnx2x_set_xumac_nig() local
1550 struct bnx2x *bp = params->bp; in bnx2x_umac_disable() local
1564 struct bnx2x *bp = params->bp; in bnx2x_umac_enable() local
1657 struct bnx2x *bp = params->bp; in bnx2x_xmac_init() local
1718 struct bnx2x *bp = params->bp; in bnx2x_xmac_disable() local
1742 struct bnx2x *bp = params->bp; in bnx2x_xmac_enable() local
1787 struct bnx2x *bp = params->bp; in bnx2x_emac_enable() local
1928 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_bmac1() local
1962 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_bmac2() local
2071 struct bnx2x *bp = params->bp; in bnx2x_pfc_brb_get_config_params() local
2274 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_brb() local
2448 int bnx2x_pfc_nig_rx_priority_mask(struct bnx2x *bp, in bnx2x_pfc_nig_rx_priority_mask()
2493 struct bnx2x *bp = params->bp; in bnx2x_update_mng() local
2507 struct bnx2x *bp = params->bp; in bnx2x_update_pfc_nig() local
2608 struct bnx2x *bp = params->bp; in bnx2x_update_pfc() local
2662 struct bnx2x *bp = params->bp; in bnx2x_bmac1_enable() local
2726 struct bnx2x *bp = params->bp; in bnx2x_bmac2_enable() local
2793 struct bnx2x *bp = params->bp; in bnx2x_bmac_enable() local
2830 static void bnx2x_bmac_rx_disable(struct bnx2x *bp, u8 port) in bnx2x_bmac_rx_disable()
2868 struct bnx2x *bp = params->bp; in bnx2x_pbf_update() local
2951 static u32 bnx2x_get_emac_base(struct bnx2x *bp, in bnx2x_get_emac_base()
2986 static int bnx2x_cl22_write(struct bnx2x *bp, in bnx2x_cl22_write()
3021 static int bnx2x_cl22_read(struct bnx2x *bp, in bnx2x_cl22_read()
3063 static int bnx2x_cl45_read(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read()
3131 static int bnx2x_cl45_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_write()
3205 struct bnx2x *bp = params->bp; in bnx2x_bsc_module_sel() local
3236 struct bnx2x *bp = params->bp; in bnx2x_bsc_read() local
3319 static void bnx2x_cl45_read_or_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read_or_write()
3366 struct bnx2x *bp = params->bp; in bnx2x_get_warpcore_lane() local
3421 struct bnx2x *bp = params->bp; in bnx2x_set_aer_mmd() local
3454 static void bnx2x_set_serdes_access(struct bnx2x *bp, u8 port) in bnx2x_set_serdes_access()
3468 static void bnx2x_serdes_deassert(struct bnx2x *bp, u8 port) in bnx2x_serdes_deassert()
3489 struct bnx2x *bp = params->bp; in bnx2x_xgxs_deassert() local
3510 struct bnx2x *bp = params->bp; in bnx2x_calc_ieee_aneg_adv() local
3546 struct bnx2x *bp = params->bp; in set_phy_vars() local
3589 struct bnx2x *bp = params->bp; in bnx2x_ext_phy_set_pause() local
3642 struct bnx2x *bp = params->bp; in bnx2x_ext_phy_resolve_fc() local
3692 struct bnx2x *bp = params->bp; in bnx2x_warpcore_enable_AN_KR() local
3796 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_10G_KR() local
3873 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_10G_XFI() local
3989 static void bnx2x_warpcore_set_20G_KR2(struct bnx2x *bp, in bnx2x_warpcore_set_20G_KR2()
3995 static void bnx2x_warpcore_set_20G_DXGXS(struct bnx2x *bp, in bnx2x_warpcore_set_20G_DXGXS()
4058 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_sgmii_speed() local
4137 static void bnx2x_warpcore_reset_lane(struct bnx2x *bp, in bnx2x_warpcore_reset_lane()
4159 struct bnx2x *bp = params->bp; in bnx2x_warpcore_clear_regs() local
4196 static int bnx2x_get_mod_abs_int_cfg(struct bnx2x *bp, in bnx2x_get_mod_abs_int_cfg()
4239 struct bnx2x *bp = params->bp; in bnx2x_is_sfp_module_plugged() local
4258 struct bnx2x *bp = params->bp; in bnx2x_warpcore_get_sigdet() local
4272 struct bnx2x *bp = params->bp; in bnx2x_warpcore_config_runtime() local
4338 struct bnx2x *bp = params->bp; in bnx2x_warpcore_config_init() local
4447 struct bnx2x *bp = params->bp; in bnx2x_sfp_e3_set_transmitter() local
4467 struct bnx2x *bp = params->bp; in bnx2x_warpcore_link_reset() local
4510 struct bnx2x *bp = params->bp; in bnx2x_set_warpcore_loopback() local
4558 struct bnx2x *bp = params->bp; in bnx2x_sync_link() local
4662 struct bnx2x *bp = params->bp; in bnx2x_link_status_update() local
4715 struct bnx2x *bp = params->bp; in bnx2x_set_master_ln() local
4737 struct bnx2x *bp = params->bp; in bnx2x_reset_unicore() local
4780 struct bnx2x *bp = params->bp; in bnx2x_set_swap_lanes() local
4823 struct bnx2x *bp = params->bp; in bnx2x_set_parallel_detection() local
4878 struct bnx2x *bp = params->bp; in bnx2x_set_autoneg() local
4981 struct bnx2x *bp = params->bp; in bnx2x_program_serdes() local
5030 struct bnx2x *bp = params->bp; in bnx2x_set_brcm_cl37_advertisement() local
5053 struct bnx2x *bp = params->bp; in bnx2x_set_ieee_aneg_advertisement() local
5074 struct bnx2x *bp = params->bp; in bnx2x_restart_autoneg() local
5114 struct bnx2x *bp = params->bp; in bnx2x_initialize_sgmii_process() local
5188 struct bnx2x *bp = params->bp; in bnx2x_direct_parallel_detect_used() local
5224 struct bnx2x *bp = params->bp; in bnx2x_flow_ctrl_resolve() local
5288 struct bnx2x *bp = params->bp; in bnx2x_check_fallback_to_cl37() local
5375 struct bnx2x *bp = params->bp; in bnx2x_get_link_speed_duplex() local
5462 struct bnx2x *bp = params->bp; in bnx2x_link_settings_status() local
5508 struct bnx2x *bp = params->bp; in bnx2x_warpcore_read_status() local
5579 struct bnx2x *bp = params->bp; in bnx2x_set_gmii_tx_driver() local
5619 struct bnx2x *bp = params->bp; in bnx2x_emac_program() local
5668 struct bnx2x *bp = params->bp; in bnx2x_set_preemphasis() local
5691 struct bnx2x *bp = params->bp; in bnx2x_xgxs_config_init() local
5775 static u16 bnx2x_wait_reset_complete(struct bnx2x *bp, in bnx2x_wait_reset_complete()
5806 struct bnx2x *bp = params->bp; in bnx2x_link_int_enable() local
5850 static void bnx2x_rearm_latch_signal(struct bnx2x *bp, u8 port, in bnx2x_rearm_latch_signal()
5888 struct bnx2x *bp = params->bp; in bnx2x_link_int_ack() local
5976 struct bnx2x *bp; in bnx2x_get_ext_phy_fw_version() local
6017 struct bnx2x *bp = params->bp; in bnx2x_set_xgxs_loopback() local
6077 struct bnx2x *bp = params->bp; in bnx2x_set_led() local
6219 struct bnx2x *bp = params->bp; in bnx2x_test_link() local
6300 struct bnx2x *bp = params->bp; in bnx2x_link_initialize() local
6386 struct bnx2x *bp = params->bp; in bnx2x_common_ext_link_reset() local
6405 struct bnx2x *bp = params->bp; in bnx2x_update_link_down() local
6453 struct bnx2x *bp = params->bp; in bnx2x_update_link_up() local
6536 struct bnx2x *bp = params->bp; in bnx2x_link_update() local
6784 void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port) in bnx2x_ext_phy_hw_reset()
6793 static void bnx2x_save_spirom_version(struct bnx2x *bp, u8 port, in bnx2x_save_spirom_version()
6803 static void bnx2x_save_bcm_spirom_ver(struct bnx2x *bp, in bnx2x_save_bcm_spirom_ver()
6817 static void bnx2x_ext_phy_10G_an_resolve(struct bnx2x *bp, in bnx2x_ext_phy_10G_an_resolve()
6841 struct bnx2x *bp = params->bp; in bnx2x_8073_resolve_fc() local
6870 static int bnx2x_8073_8727_external_rom_boot(struct bnx2x *bp, in bnx2x_8073_8727_external_rom_boot()
6951 static int bnx2x_8073_is_snr_needed(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_is_snr_needed()
6977 static int bnx2x_8073_xaui_wa(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_8073_xaui_wa()
7036 static void bnx2x_807x_force_10G(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_807x_force_10G()
7054 struct bnx2x *bp = params->bp; in bnx2x_8073_set_pause_cl37() local
7088 struct bnx2x *bp = params->bp; in bnx2x_8073_config_init() local
7243 struct bnx2x *bp = params->bp; in bnx2x_8073_read_status() local
7376 struct bnx2x *bp = params->bp; in bnx2x_8073_link_reset() local
7396 struct bnx2x *bp = params->bp; in bnx2x_8705_config_init() local
7425 struct bnx2x *bp = params->bp; in bnx2x_8705_read_status() local
7459 struct bnx2x *bp = params->bp; in bnx2x_set_disable_pmd_transmit() local
7483 struct bnx2x *bp = params->bp; in bnx2x_get_gpio_port() local
7499 struct bnx2x *bp = params->bp; in bnx2x_sfp_e1e2_set_transmitter() local
7554 struct bnx2x *bp = params->bp; in bnx2x_sfp_set_transmitter() local
7566 struct bnx2x *bp = params->bp; in bnx2x_8726_read_sfp_module_eeprom() local
7637 struct bnx2x *bp = params->bp; in bnx2x_warpcore_read_sfp_module_eeprom() local
7668 struct bnx2x *bp = params->bp; in bnx2x_8727_read_sfp_module_eeprom() local
7778 struct bnx2x *bp = params->bp; in bnx2x_get_edc_mode() local
7884 struct bnx2x *bp = params->bp; in bnx2x_verify_sfp_module() local
7956 struct bnx2x *bp = params->bp; in bnx2x_wait_for_sfp_module_initialized() local
7976 static void bnx2x_8727_power_module(struct bnx2x *bp, in bnx2x_8727_power_module()
8010 static int bnx2x_8726_set_limiting_mode(struct bnx2x *bp, in bnx2x_8726_set_limiting_mode()
8060 static int bnx2x_8727_set_limiting_mode(struct bnx2x *bp, in bnx2x_8727_set_limiting_mode()
8098 struct bnx2x *bp = params->bp; in bnx2x_8727_specific_func() local
8118 struct bnx2x *bp = params->bp; in bnx2x_set_e1e2_module_fault_led() local
8152 struct bnx2x *bp = params->bp; in bnx2x_set_e3_module_fault_led() local
8166 struct bnx2x *bp = params->bp; in bnx2x_set_sfp_module_fault_led() local
8183 struct bnx2x *bp = params->bp; in bnx2x_warpcore_power_module() local
8205 struct bnx2x *bp = params->bp; in bnx2x_warpcore_hw_reset() local
8220 struct bnx2x *bp = params->bp; in bnx2x_power_sfp_module() local
8241 struct bnx2x *bp = params->bp; in bnx2x_warpcore_set_limiting_mode() local
8295 struct bnx2x *bp = params->bp; in bnx2x_sfp_module_detection() local
8352 struct bnx2x *bp = params->bp; in bnx2x_handle_module_detect_int() local
8407 static void bnx2x_sfp_mask_fault(struct bnx2x *bp, in bnx2x_sfp_mask_fault()
8436 struct bnx2x *bp = params->bp; in bnx2x_8706_8726_read_status() local
8499 struct bnx2x *bp = params->bp; in bnx2x_8706_config_init() local
8613 struct bnx2x *bp = params->bp; in bnx2x_8726_config_loopback() local
8621 struct bnx2x *bp = params->bp; in bnx2x_8726_external_rom_boot() local
8660 struct bnx2x *bp = params->bp; in bnx2x_8726_read_status() local
8681 struct bnx2x *bp = params->bp; in bnx2x_8726_config_init() local
8767 struct bnx2x *bp = params->bp; in bnx2x_8726_link_reset() local
8782 struct bnx2x *bp = params->bp; in bnx2x_8727_set_link_led() local
8833 struct bnx2x *bp = params->bp; in bnx2x_8727_hw_reset() local
8849 struct bnx2x *bp = params->bp; in bnx2x_8727_config_init() local
9015 struct bnx2x *bp = params->bp; in bnx2x_8727_handle_mod_abs() local
9103 struct bnx2x *bp = params->bp; in bnx2x_8727_read_status() local
9263 struct bnx2x *bp = params->bp; in bnx2x_8727_link_reset() local
9279 struct bnx2x *bp, in bnx2x_save_848xx_spirom_version()
9341 static void bnx2x_848xx_set_led(struct bnx2x *bp, in bnx2x_848xx_set_led()
9406 struct bnx2x *bp = params->bp; in bnx2x_848xx_cmn_config_init() local
9567 struct bnx2x *bp = params->bp; in bnx2x_8481_config_init() local
9589 struct bnx2x *bp = params->bp; in bnx2x_84833_cmd_hdlr() local
9647 struct bnx2x *bp = params->bp; in bnx2x_84833_pair_swap_cfg() local
9669 static u8 bnx2x_84833_get_reset_gpios(struct bnx2x *bp, in bnx2x_84833_get_reset_gpios()
9710 struct bnx2x *bp = params->bp; in bnx2x_84833_hw_reset_phy() local
9736 struct bnx2x *bp = params->bp; in bnx2x_848x3_config_init() local
9873 struct bnx2x *bp = params->bp; in bnx2x_848xx_read_status() local
9987 struct bnx2x *bp = params->bp; in bnx2x_848x3_link_reset() local
10014 struct bnx2x *bp = params->bp; in bnx2x_848xx_set_link_led() local
10224 struct bnx2x *bp = params->bp; in bnx2x_54618se_config_init() local
10421 struct bnx2x *bp = params->bp; in bnx2x_5461x_set_link_led() local
10457 struct bnx2x *bp = params->bp; in bnx2x_54618se_link_reset() local
10485 struct bnx2x *bp = params->bp; in bnx2x_54618se_read_status() local
10581 struct bnx2x *bp = params->bp; in bnx2x_54618se_config_loopback() local
10625 struct bnx2x *bp = params->bp; in bnx2x_7101_config_loopback() local
10636 struct bnx2x *bp = params->bp; in bnx2x_7101_config_init() local
10675 struct bnx2x *bp = params->bp; in bnx2x_7101_read_status() local
10719 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy) in bnx2x_sfx7101_sp_sw_reset()
10758 struct bnx2x *bp = params->bp; in bnx2x_7101_set_link_led() local
11239 static void bnx2x_populate_preemphasis(struct bnx2x *bp, u32 shmem_base, in bnx2x_populate_preemphasis()
11277 static u32 bnx2x_get_ext_phy_config(struct bnx2x *bp, u32 shmem_base, in bnx2x_get_ext_phy_config()
11299 static int bnx2x_populate_int_phy(struct bnx2x *bp, u32 shmem_base, u8 port, in bnx2x_populate_int_phy()
11429 static int bnx2x_populate_ext_phy(struct bnx2x *bp, in bnx2x_populate_ext_phy()
11559 static int bnx2x_populate_phy(struct bnx2x *bp, u8 phy_index, u32 shmem_base, in bnx2x_populate_phy()
11575 struct bnx2x *bp = params->bp; in bnx2x_phy_def_cfg() local
11681 struct bnx2x *bp = params->bp; in bnx2x_phy_probe() local
11747 struct bnx2x *bp = params->bp; in bnx2x_init_bmac_loopback() local
11767 struct bnx2x *bp = params->bp; in bnx2x_init_emac_loopback() local
11786 struct bnx2x *bp = params->bp; in bnx2x_init_xmac_loopback() local
11813 struct bnx2x *bp = params->bp; in bnx2x_init_umac_loopback() local
11828 struct bnx2x *bp = params->bp; in bnx2x_init_xgxs_loopback() local
11879 struct bnx2x *bp = params->bp; in bnx2x_phy_init() local
11945 struct bnx2x *bp = params->bp; in bnx2x_link_reset() local
12034 static int bnx2x_8073_common_init_phy(struct bnx2x *bp, in bnx2x_8073_common_init_phy()
12160 static int bnx2x_8726_common_init_phy(struct bnx2x *bp, in bnx2x_8726_common_init_phy()
12209 static void bnx2x_get_ext_phy_reset_gpio(struct bnx2x *bp, u32 shmem_base, in bnx2x_get_ext_phy_reset_gpio()
12255 static int bnx2x_8727_common_init_phy(struct bnx2x *bp, in bnx2x_8727_common_init_phy()
12355 static int bnx2x_84833_common_init_phy(struct bnx2x *bp, in bnx2x_84833_common_init_phy()
12371 static int bnx2x_84833_pre_init_phy(struct bnx2x *bp, in bnx2x_84833_pre_init_phy()
12403 int bnx2x_pre_init_phy(struct bnx2x *bp, in bnx2x_pre_init_phy()
12426 static int bnx2x_ext_phy_common_init(struct bnx2x *bp, u32 shmem_base_path[], in bnx2x_ext_phy_common_init()
12481 int bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[], in bnx2x_common_init_phy()
12524 struct bnx2x *bp = params->bp; in bnx2x_check_over_curr() local
12558 struct bnx2x *bp = params->bp; in bnx2x_analyze_link_error() local
12614 struct bnx2x *bp = params->bp; in bnx2x_check_half_open_conn() local
12663 struct bnx2x *bp = params->bp; in bnx2x_period_func() local
12682 u8 bnx2x_hw_lock_required(struct bnx2x *bp, u32 shmem_base, u32 shmem2_base) in bnx2x_hw_lock_required()
12700 u8 bnx2x_fan_failure_det_req(struct bnx2x *bp, in bnx2x_fan_failure_det_req()
12724 struct bnx2x *bp = params->bp; in bnx2x_hw_reset_phy() local
12743 void bnx2x_init_mod_abs_int(struct bnx2x *bp, struct link_vars *vars, in bnx2x_init_mod_abs_int()