| H A D | bnx2x_main.c | 3 * Copyright (c) 2007-2013 Broadcom Corporation 36 #include <linux/dma-mapping.h> 83 #define FW_FILE_NAME_E1 "bnx2x/bnx2x-e1-" FW_FILE_VERSION ".fw" 84 #define FW_FILE_NAME_E1H "bnx2x/bnx2x-e1h-" FW_FILE_VERSION ".fw" 85 #define FW_FILE_NAME_E2 "bnx2x/bnx2x-e2-" FW_FILE_VERSION ".fw" 86 #define FW_FILE_NAME_E1_V15 "bnx2x/bnx2x-e1-" FW_FILE_VERSION_V1 314 __storm_memset_dma_mapping(struct bnx2x * bp,u32 addr,dma_addr_t mapping) __storm_memset_dma_mapping() argument 321 storm_memset_spq_addr(struct bnx2x * bp,dma_addr_t mapping,u16 abs_fid) storm_memset_spq_addr() argument 330 storm_memset_vf_to_pf(struct bnx2x * bp,u16 abs_fid,u16 pf_id) storm_memset_vf_to_pf() argument 343 storm_memset_func_en(struct bnx2x * bp,u16 abs_fid,u8 enable) storm_memset_func_en() argument 356 storm_memset_eq_data(struct bnx2x * bp,struct event_ring_data * eq_data,u16 pfid) storm_memset_eq_data() argument 367 storm_memset_eq_prod(struct bnx2x * bp,u16 eq_prod,u16 pfid) storm_memset_eq_prod() argument 377 bnx2x_reg_wr_ind(struct bnx2x * bp,u32 addr,u32 val) bnx2x_reg_wr_ind() argument 385 bnx2x_reg_rd_ind(struct bnx2x * bp,u32 addr) bnx2x_reg_rd_ind() argument 403 bnx2x_dp_dmae(struct bnx2x * bp,struct dmae_command * dmae,int msglvl) bnx2x_dp_dmae() argument 470 bnx2x_post_dmae(struct bnx2x * bp,struct dmae_command * dmae,int idx) bnx2x_post_dmae() argument 493 bnx2x_dmae_opcode(struct bnx2x * bp,u8 src_type,u8 dst_type,bool with_comp,u8 comp_type) bnx2x_dmae_opcode() argument 518 bnx2x_prep_dmae_with_comp(struct bnx2x * bp,struct dmae_command * dmae,u8 src_type,u8 dst_type) bnx2x_prep_dmae_with_comp() argument 535 bnx2x_issue_dmae_with_comp(struct bnx2x * bp,struct dmae_command * dmae,u32 * comp) bnx2x_issue_dmae_with_comp() argument 582 bnx2x_write_dmae(struct bnx2x * bp,dma_addr_t dma_addr,u32 dst_addr,u32 len32) bnx2x_write_dmae() argument 618 bnx2x_read_dmae(struct bnx2x * bp,u32 src_addr,u32 len32) bnx2x_read_dmae() argument 657 bnx2x_write_dmae_phys_len(struct bnx2x * bp,dma_addr_t phys_addr,u32 addr,u32 len) bnx2x_write_dmae_phys_len() argument 684 bnx2x_get_assert_list_entry(struct bnx2x * bp,enum storms storm,int entry) bnx2x_get_assert_list_entry() argument 704 bnx2x_mc_assert(struct bnx2x * bp) bnx2x_mc_assert() argument 768 SCRATCH_BUFFER_SIZE(bp) global() argument 771 bnx2x_fw_dump_lvl(struct bnx2x * bp,const char * lvl) bnx2x_fw_dump_lvl() argument 849 bnx2x_fw_dump(struct bnx2x * bp) bnx2x_fw_dump() argument 854 bnx2x_hc_int_disable(struct bnx2x * bp) bnx2x_hc_int_disable() argument 889 bnx2x_igu_int_disable(struct bnx2x * bp) bnx2x_igu_int_disable() argument 904 bnx2x_int_disable(struct bnx2x * bp) bnx2x_int_disable() argument 912 bnx2x_panic_dump(struct bnx2x * bp,bool disable_int) bnx2x_panic_dump() argument 1227 bnx2x_pbf_pN_buf_flushed(struct bnx2x * bp,struct pbf_pN_buf_regs * regs,u32 poll_count) bnx2x_pbf_pN_buf_flushed() argument 1262 bnx2x_pbf_pN_cmd_flushed(struct bnx2x * bp,struct pbf_pN_cmd_regs * regs,u32 poll_count) bnx2x_pbf_pN_cmd_flushed() argument 1294 bnx2x_flr_clnup_reg_poll(struct bnx2x * bp,u32 reg,u32 expected,u32 poll_count) bnx2x_flr_clnup_reg_poll() argument 1306 bnx2x_flr_clnup_poll_hw_counter(struct bnx2x * bp,u32 reg,char * msg,u32 poll_cnt) bnx2x_flr_clnup_poll_hw_counter() argument 1318 bnx2x_flr_clnup_poll_count(struct bnx2x * bp) bnx2x_flr_clnup_poll_count() argument 1330 bnx2x_tx_hw_flushed(struct bnx2x * bp,u32 poll_count) bnx2x_tx_hw_flushed() argument 1403 bnx2x_send_final_clnup(struct bnx2x * bp,u8 clnup_func,u32 poll_cnt) bnx2x_send_final_clnup() argument 1445 bnx2x_poll_hw_usage_counters(struct bnx2x * bp,u32 poll_cnt) bnx2x_poll_hw_usage_counters() argument 1490 bnx2x_hw_enable_status(struct bnx2x * bp) bnx2x_hw_enable_status() argument 1520 bnx2x_pf_flr_clnup(struct bnx2x * bp) bnx2x_pf_flr_clnup() argument 1564 bnx2x_hc_int_enable(struct bnx2x * bp) bnx2x_hc_int_enable() argument 1629 bnx2x_igu_int_enable(struct bnx2x * bp) bnx2x_igu_int_enable() argument 1689 bnx2x_int_enable(struct bnx2x * bp) bnx2x_int_enable() argument 1697 bnx2x_int_disable_sync(struct bnx2x * bp,int disable_hw) bnx2x_int_disable_sync() argument 1730 bnx2x_trylock_hw_lock(struct bnx2x * bp,u32 resource) bnx2x_trylock_hw_lock() argument 1773 bnx2x_get_leader_lock_resource(struct bnx2x * bp) bnx2x_get_leader_lock_resource() argument 1788 bnx2x_trylock_leader_lock(struct bnx2x * bp) bnx2x_trylock_leader_lock() argument 1796 bnx2x_schedule_sp_task(struct bnx2x * bp) bnx2x_schedule_sp_task() argument 1816 struct bnx2x *bp = fp->bp; bnx2x_sp_event() local 1924 struct bnx2x *bp = netdev_priv(dev_instance); bnx2x_interrupt() local 1997 bnx2x_acquire_hw_lock(struct bnx2x * bp,u32 resource) bnx2x_acquire_hw_lock() argument 2041 bnx2x_release_leader_lock(struct bnx2x * bp) bnx2x_release_leader_lock() argument 2046 bnx2x_release_hw_lock(struct bnx2x * bp,u32 resource) bnx2x_release_hw_lock() argument 2079 bnx2x_get_gpio(struct bnx2x * bp,int gpio_num,u8 port) bnx2x_get_gpio() argument 2107 bnx2x_set_gpio(struct bnx2x * bp,int gpio_num,u32 mode,u8 port) bnx2x_set_gpio() argument 2163 bnx2x_set_mult_gpio(struct bnx2x * bp,u8 pins,u32 mode) bnx2x_set_mult_gpio() argument 2210 bnx2x_set_gpio_int(struct bnx2x * bp,int gpio_num,u32 mode,u8 port) bnx2x_set_gpio_int() argument 2258 bnx2x_set_spio(struct bnx2x * bp,int spio,u32 mode) bnx2x_set_spio() argument 2303 bnx2x_calc_fc_adv(struct bnx2x * bp) bnx2x_calc_fc_adv() argument 2325 bnx2x_set_requested_fc(struct bnx2x * bp) bnx2x_set_requested_fc() argument 2337 bnx2x_init_dropless_fc(struct bnx2x * bp) bnx2x_init_dropless_fc() argument 2354 bnx2x_initial_phy_init(struct bnx2x * bp,int load_mode) bnx2x_initial_phy_init() argument 2407 bnx2x_link_set(struct bnx2x * bp) bnx2x_link_set() argument 2421 bnx2x__link_reset(struct bnx2x * bp) bnx2x__link_reset() argument 2431 bnx2x_force_link_reset(struct bnx2x * bp) bnx2x_force_link_reset() argument 2438 bnx2x_link_test(struct bnx2x * bp,u8 is_serdes) bnx2x_link_test() argument 2462 bnx2x_calc_vn_min(struct bnx2x * bp,struct cmng_init_input * input) bnx2x_calc_vn_min() argument 2500 bnx2x_calc_vn_max(struct bnx2x * bp,int vn,struct cmng_init_input * input) bnx2x_calc_vn_max() argument 2524 bnx2x_get_cmng_fns_mode(struct bnx2x * bp) bnx2x_get_cmng_fns_mode() argument 2534 bnx2x_read_mf_cfg(struct bnx2x * bp) bnx2x_read_mf_cfg() argument 2570 bnx2x_cmng_fns_init(struct bnx2x * bp,u8 read_cfg,u8 cmng_type) bnx2x_cmng_fns_init() argument 2605 storm_memset_cmng(struct bnx2x * bp,struct cmng_init * cmng,u8 port) storm_memset_cmng() argument 2635 bnx2x_set_local_cmng(struct bnx2x * bp) bnx2x_set_local_cmng() argument 2650 bnx2x_link_attn(struct bnx2x * bp) bnx2x_link_attn() argument 2682 bnx2x__link_status_update(struct bnx2x * bp) bnx2x__link_status_update() argument 2741 bnx2x_afex_func_update(struct bnx2x * bp,u16 vifid,u16 vlan_val,u8 allowed_prio) bnx2x_afex_func_update() argument 2766 bnx2x_afex_handle_vif_list_cmd(struct bnx2x * bp,u8 cmd_type,u16 vif_index,u8 func_bit_map) bnx2x_afex_handle_vif_list_cmd() argument 2804 bnx2x_handle_afex_cmd(struct bnx2x * bp,u32 cmd) bnx2x_handle_afex_cmd() argument 2925 bnx2x_handle_update_svid_cmd(struct bnx2x * bp) bnx2x_handle_update_svid_cmd() argument 2980 bnx2x_pmf_update(struct bnx2x * bp) bnx2x_pmf_update() argument 3021 bnx2x_fw_command(struct bnx2x * bp,u32 command,u32 param) bnx2x_fw_command() argument 3063 storm_memset_func_cfg(struct bnx2x * bp,struct tstorm_eth_function_common_config * tcfg,u16 abs_fid) storm_memset_func_cfg() argument 3075 bnx2x_func_init(struct bnx2x * bp,struct bnx2x_func_init_params * p) bnx2x_func_init() argument 3104 bnx2x_get_common_flags(struct bnx2x * bp,struct bnx2x_fastpath * fp,bool zero_stats) bnx2x_get_common_flags() argument 3135 bnx2x_get_q_flags(struct bnx2x * bp,struct bnx2x_fastpath * fp,bool leading) bnx2x_get_q_flags() argument 3173 bnx2x_pf_q_prep_general(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_general_setup_params * gen_init,u8 cos) bnx2x_pf_q_prep_general() argument 3191 bnx2x_pf_rx_q_prep(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct rxq_pause_params * pause,struct bnx2x_rxq_setup_params * rxq_init) bnx2x_pf_rx_q_prep() argument 3279 bnx2x_pf_tx_q_prep(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_txq_setup_params * txq_init,u8 cos) bnx2x_pf_tx_q_prep() argument 3300 bnx2x_pf_init(struct bnx2x * bp) bnx2x_pf_init() argument 3352 bnx2x_e1h_disable(struct bnx2x * bp) bnx2x_e1h_disable() argument 3361 bnx2x_e1h_enable(struct bnx2x * bp) bnx2x_e1h_enable() argument 3379 bnx2x_drv_info_ether_stat(struct bnx2x * bp) bnx2x_drv_info_ether_stat() argument 3422 bnx2x_drv_info_fcoe_stat(struct bnx2x * bp) bnx2x_drv_info_fcoe_stat() argument 3524 bnx2x_drv_info_iscsi_stat(struct bnx2x * bp) bnx2x_drv_info_iscsi_stat() argument 3548 bnx2x_config_mf_bw(struct bnx2x * bp) bnx2x_config_mf_bw() argument 3567 bnx2x_set_mf_bw(struct bnx2x * bp) bnx2x_set_mf_bw() argument 3573 bnx2x_handle_eee_event(struct bnx2x * bp) bnx2x_handle_eee_event() argument 3582 bnx2x_handle_drv_info_req(struct bnx2x * bp) bnx2x_handle_drv_info_req() argument 3683 bnx2x_update_mng_version(struct bnx2x * bp) bnx2x_update_mng_version() argument 3731 bnx2x_update_mfw_dump(struct bnx2x * bp) bnx2x_update_mfw_dump() argument 3757 bnx2x_oem_event(struct bnx2x * bp,u32 event) bnx2x_oem_event() argument 3814 bnx2x_sp_get_next(struct bnx2x * bp) bnx2x_sp_get_next() argument 3830 bnx2x_sp_prod_update(struct bnx2x * bp) bnx2x_sp_prod_update() argument 3879 bnx2x_sp_post(struct bnx2x * bp,int command,int cid,u32 data_hi,u32 data_lo,int cmd_type) bnx2x_sp_post() argument 3958 bnx2x_acquire_alr(struct bnx2x * bp) bnx2x_acquire_alr() argument 3981 bnx2x_release_alr(struct bnx2x * bp) bnx2x_release_alr() argument 3989 bnx2x_update_dsb_idx(struct bnx2x * bp) bnx2x_update_dsb_idx() argument 4014 bnx2x_attn_int_asserted(struct bnx2x * bp,u32 asserted) bnx2x_attn_int_asserted() argument 4136 bnx2x_fan_failure(struct bnx2x * bp) bnx2x_fan_failure() argument 4161 bnx2x_attn_int_deasserted0(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted0() argument 4201 bnx2x_attn_int_deasserted1(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted1() argument 4232 bnx2x_attn_int_deasserted2(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted2() argument 4276 bnx2x_attn_int_deasserted3(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted3() argument 4407 bnx2x_set_reset_global(struct bnx2x * bp) bnx2x_set_reset_global() argument 4421 bnx2x_clear_reset_global(struct bnx2x * bp) bnx2x_clear_reset_global() argument 4435 bnx2x_reset_is_global(struct bnx2x * bp) bnx2x_reset_is_global() argument 4448 bnx2x_set_reset_done(struct bnx2x * bp) bnx2x_set_reset_done() argument 4468 bnx2x_set_reset_in_progress(struct bnx2x * bp) bnx2x_set_reset_in_progress() argument 4486 bnx2x_reset_is_done(struct bnx2x * bp,int engine) bnx2x_reset_is_done() argument 4501 bnx2x_set_pf_load(struct bnx2x * bp) bnx2x_set_pf_load() argument 4539 bnx2x_clear_pf_load(struct bnx2x * bp) bnx2x_clear_pf_load() argument 4573 bnx2x_get_load_status(struct bnx2x * bp,int engine) bnx2x_get_load_status() argument 4591 _print_parity(struct bnx2x * bp,u32 reg) _print_parity() argument 4601 bnx2x_check_blocks_with_parity0(struct bnx2x * bp,u32 sig,int * par_num,bool print) bnx2x_check_blocks_with_parity0() argument 4665 bnx2x_check_blocks_with_parity1(struct bnx2x * bp,u32 sig,int * par_num,bool * global,bool print) bnx2x_check_blocks_with_parity1() argument 4809 bnx2x_check_blocks_with_parity2(struct bnx2x * bp,u32 sig,int * par_num,bool print) bnx2x_check_blocks_with_parity2() argument 4883 bnx2x_check_blocks_with_parity3(struct bnx2x * bp,u32 sig,int * par_num,bool * global,bool print) bnx2x_check_blocks_with_parity3() argument 4932 bnx2x_check_blocks_with_parity4(struct bnx2x * bp,u32 sig,int * par_num,bool print) bnx2x_check_blocks_with_parity4() argument 4968 bnx2x_parity_attn(struct bnx2x * bp,bool * global,bool print,u32 * sig) bnx2x_parity_attn() argument 5024 bnx2x_chk_parity_attn(struct bnx2x * bp,bool * global,bool print) bnx2x_chk_parity_attn() argument 5058 bnx2x_attn_int_deasserted4(struct bnx2x * bp,u32 attn) bnx2x_attn_int_deasserted4() argument 5111 bnx2x_attn_int_deasserted(struct bnx2x * bp,u32 deasserted) bnx2x_attn_int_deasserted() argument 5212 bnx2x_attn_int(struct bnx2x * bp) bnx2x_attn_int() argument 5240 bnx2x_igu_ack_sb(struct bnx2x * bp,u8 igu_sb_id,u8 segment,u16 index,u8 op,u8 update) bnx2x_igu_ack_sb() argument 5249 bnx2x_update_eq_prod(struct bnx2x * bp,u16 prod) bnx2x_update_eq_prod() argument 5255 bnx2x_cnic_handle_cfc_del(struct bnx2x * bp,u32 cid,union event_ring_elem * elem) bnx2x_cnic_handle_cfc_del() argument 5277 bnx2x_handle_mcast_eqe(struct bnx2x * bp) bnx2x_handle_mcast_eqe() argument 5302 bnx2x_handle_classification_eqe(struct bnx2x * bp,union event_ring_elem * elem) bnx2x_handle_classification_eqe() argument 5349 bnx2x_handle_rx_mode_eqe(struct bnx2x * bp) bnx2x_handle_rx_mode_eqe() argument 5368 bnx2x_after_afex_vif_lists(struct bnx2x * bp,union event_ring_elem * elem) bnx2x_after_afex_vif_lists() argument 5385 bnx2x_after_function_update(struct bnx2x * bp) bnx2x_after_function_update() argument 5450 bnx2x_cid_to_q_obj(struct bnx2x * bp,u32 cid) bnx2x_cid_to_q_obj() argument 5460 bnx2x_eq_int(struct bnx2x * bp) bnx2x_eq_int() argument 5684 struct bnx2x *bp = container_of(work, struct bnx2x, sp_task.work); bnx2x_sp_task() local 5748 struct bnx2x *bp = netdev_priv(dev); bnx2x_msix_sp_int() local 5778 bnx2x_drv_pulse(struct bnx2x * bp) bnx2x_drv_pulse() argument 5786 struct bnx2x *bp = timer_container_of(bp, t, timer); bnx2x_timer() local 5832 bnx2x_fill(struct bnx2x * bp,u32 addr,int fill,u32 len) bnx2x_fill() argument 5844 bnx2x_wr_fp_sb_data(struct bnx2x * bp,int fw_sb_id,u32 * sb_data_p,u32 data_size) bnx2x_wr_fp_sb_data() argument 5857 bnx2x_zero_fp_sb(struct bnx2x * bp,int fw_sb_id) bnx2x_zero_fp_sb() argument 5890 bnx2x_wr_sp_sb_data(struct bnx2x * bp,struct hc_sp_status_block_data * sp_sb_data) bnx2x_wr_sp_sb_data() argument 5902 bnx2x_zero_sp_sb(struct bnx2x * bp) bnx2x_zero_sp_sb() argument 5959 bnx2x_init_sb(struct bnx2x * bp,dma_addr_t mapping,int vfid,u8 vf_valid,int fw_sb_id,int igu_sb_id) bnx2x_init_sb() argument 6019 bnx2x_update_coalesce_sb(struct bnx2x * bp,u8 fw_sb_id,u16 tx_usec,u16 rx_usec) bnx2x_update_coalesce_sb() argument 6035 bnx2x_init_def_sb(struct bnx2x * bp) bnx2x_init_def_sb() argument 6118 bnx2x_update_coalesce(struct bnx2x * bp) bnx2x_update_coalesce() argument 6127 bnx2x_init_sp_ring(struct bnx2x * bp) bnx2x_init_sp_ring() argument 6138 bnx2x_init_eq_ring(struct bnx2x * bp) bnx2x_init_eq_ring() argument 6161 bnx2x_set_q_rx_mode(struct bnx2x * bp,u8 cl_id,unsigned long rx_mode_flags,unsigned long rx_accept_flags,unsigned long tx_accept_flags,unsigned long ramrod_flags) bnx2x_set_q_rx_mode() argument 6201 bnx2x_fill_accept_flags(struct bnx2x * bp,u32 rx_mode,unsigned long * rx_accept_flags,unsigned long * tx_accept_flags) bnx2x_fill_accept_flags() argument 6280 bnx2x_set_storm_rx_mode(struct bnx2x * bp) bnx2x_set_storm_rx_mode() argument 6303 bnx2x_init_internal_common(struct bnx2x * bp) bnx2x_init_internal_common() argument 6319 bnx2x_init_internal(struct bnx2x * bp,u32 load_code) bnx2x_init_internal() argument 6360 bnx2x_init_eth_fp(struct bnx2x * bp,int fp_idx) bnx2x_init_eth_fp() argument 6446 bnx2x_init_tx_rings_cnic(struct bnx2x * bp) bnx2x_init_tx_rings_cnic() argument 6454 bnx2x_init_tx_rings(struct bnx2x * bp) bnx2x_init_tx_rings() argument 6464 bnx2x_init_fcoe_fp(struct bnx2x * bp) bnx2x_init_fcoe_fp() argument 6505 bnx2x_nic_init_cnic(struct bnx2x * bp) bnx2x_nic_init_cnic() argument 6523 bnx2x_pre_irq_nic_init(struct bnx2x * bp) bnx2x_pre_irq_nic_init() argument 6551 bnx2x_post_irq_nic_init(struct bnx2x * bp,u32 load_code) bnx2x_post_irq_nic_init() argument 6570 bnx2x_gunzip_init(struct bnx2x * bp) bnx2x_gunzip_init() argument 6601 bnx2x_gunzip_end(struct bnx2x * bp) bnx2x_gunzip_end() argument 6616 bnx2x_gunzip(struct bnx2x * bp,const u8 * zbuf,int len) bnx2x_gunzip() argument 6669 bnx2x_lb_pckt(struct bnx2x * bp) bnx2x_lb_pckt() argument 6690 bnx2x_int_mem_test(struct bnx2x * bp) bnx2x_int_mem_test() argument 6835 bnx2x_enable_blocks_attention(struct bnx2x * bp) bnx2x_enable_blocks_attention() argument 6895 bnx2x_reset_common(struct bnx2x * bp) bnx2x_reset_common() argument 6911 bnx2x_setup_dmae(struct bnx2x * bp) bnx2x_setup_dmae() argument 6917 bnx2x_init_pxp(struct bnx2x * bp) bnx2x_init_pxp() argument 6935 bnx2x_setup_fan_failure_detection(struct bnx2x * bp) bnx2x_setup_fan_failure_detection() argument 6985 bnx2x_pf_disable(struct bnx2x * bp) bnx2x_pf_disable() argument 6995 bnx2x__common_init_phy(struct bnx2x * bp) bnx2x__common_init_phy() argument 7016 bnx2x_config_endianity(struct bnx2x * bp,u32 val) bnx2x_config_endianity() argument 7033 bnx2x_set_endianity(struct bnx2x * bp) bnx2x_set_endianity() argument 7042 bnx2x_reset_endianity(struct bnx2x * bp) bnx2x_reset_endianity() argument 7052 bnx2x_init_hw_common(struct bnx2x * bp) bnx2x_init_hw_common() argument 7498 bnx2x_init_hw_common_chip(struct bnx2x * bp) bnx2x_init_hw_common_chip() argument 7512 bnx2x_init_hw_port(struct bnx2x * bp) bnx2x_init_hw_port() argument 7740 bnx2x_ilt_wr(struct bnx2x * bp,u32 index,dma_addr_t addr) bnx2x_ilt_wr() argument 7755 bnx2x_igu_clear_sb_gen(struct bnx2x * bp,u8 func,u8 idu_sb_id,bool is_pf) bnx2x_igu_clear_sb_gen() argument 7798 bnx2x_igu_clear_sb(struct bnx2x * bp,u8 idu_sb_id) bnx2x_igu_clear_sb() argument 7803 bnx2x_clear_func_ilt(struct bnx2x * bp,u32 func) bnx2x_clear_func_ilt() argument 7810 bnx2x_init_searcher(struct bnx2x * bp) bnx2x_init_searcher() argument 7818 bnx2x_func_switch_update(struct bnx2x * bp,int suspend) bnx2x_func_switch_update() argument 7844 bnx2x_reset_nic_mode(struct bnx2x * bp) bnx2x_reset_nic_mode() argument 7916 bnx2x_init_hw_func_cnic(struct bnx2x * bp) bnx2x_init_hw_func_cnic() argument 7943 bnx2x_clean_pglue_errors(struct bnx2x * bp) bnx2x_clean_pglue_errors() argument 7950 bnx2x_init_hw_func(struct bnx2x * bp) bnx2x_init_hw_func() argument 8267 bnx2x_free_mem_cnic(struct bnx2x * bp) bnx2x_free_mem_cnic() argument 8281 bnx2x_free_mem(struct bnx2x * bp) bnx2x_free_mem() argument 8314 bnx2x_alloc_mem_cnic(struct bnx2x * bp) bnx2x_alloc_mem_cnic() argument 8351 bnx2x_alloc_mem(struct bnx2x * bp) bnx2x_alloc_mem() argument 8430 bnx2x_set_mac_one(struct bnx2x * bp,const u8 * mac,struct bnx2x_vlan_mac_obj * obj,bool set,int mac_type,unsigned long * ramrod_flags) bnx2x_set_mac_one() argument 8468 bnx2x_set_vlan_one(struct bnx2x * bp,u16 vlan,struct bnx2x_vlan_mac_obj * obj,bool set,unsigned long * ramrod_flags) bnx2x_set_vlan_one() argument 8505 bnx2x_clear_vlan_info(struct bnx2x * bp) bnx2x_clear_vlan_info() argument 8516 bnx2x_del_all_vlans(struct bnx2x * bp) bnx2x_del_all_vlans() argument 8533 bnx2x_del_all_macs(struct bnx2x * bp,struct bnx2x_vlan_mac_obj * mac_obj,int mac_type,bool wait_for_comp) bnx2x_del_all_macs() argument 8554 bnx2x_set_eth_mac(struct bnx2x * bp,bool set) bnx2x_set_eth_mac() argument 8570 bnx2x_setup_leading(struct bnx2x * bp) bnx2x_setup_leading() argument 8585 bnx2x_set_int_mode(struct bnx2x * bp) bnx2x_set_int_mode() argument 8630 bnx2x_cid_ilt_lines(struct bnx2x * bp) bnx2x_cid_ilt_lines() argument 8637 bnx2x_ilt_set_info(struct bnx2x * bp) bnx2x_ilt_set_info() argument 8738 bnx2x_pf_q_prep_init(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_queue_init_params * init_params) bnx2x_pf_q_prep_init() argument 8789 bnx2x_setup_tx_only(struct bnx2x * bp,struct bnx2x_fastpath * fp,struct bnx2x_queue_state_params * q_params,struct bnx2x_queue_setup_tx_only_params * tx_only_params,int tx_index,bool leading) bnx2x_setup_tx_only() argument 8832 bnx2x_setup_queue(struct bnx2x * bp,struct bnx2x_fastpath * fp,bool leading) bnx2x_setup_queue() argument 8916 bnx2x_stop_queue(struct bnx2x * bp,int index) bnx2x_stop_queue() argument 8982 bnx2x_reset_func(struct bnx2x * bp) bnx2x_reset_func() argument 9063 bnx2x_reset_port(struct bnx2x * bp) bnx2x_reset_port() argument 9092 bnx2x_reset_hw(struct bnx2x * bp,u32 load_code) bnx2x_reset_hw() argument 9107 bnx2x_func_stop(struct bnx2x * bp) bnx2x_func_stop() argument 9145 bnx2x_send_unload_req(struct bnx2x * bp,int unload_mode) bnx2x_send_unload_req() argument 9217 bnx2x_send_unload_done(struct bnx2x * bp,bool keep_link) bnx2x_send_unload_done() argument 9226 bnx2x_func_wait_started(struct bnx2x * bp) bnx2x_func_wait_started() argument 9293 bnx2x_disable_ptp(struct bnx2x * bp) bnx2x_disable_ptp() argument 9317 bnx2x_stop_ptp(struct bnx2x * bp) bnx2x_stop_ptp() argument 9335 bnx2x_chip_cleanup(struct bnx2x * bp,int unload_mode,bool keep_link) bnx2x_chip_cleanup() argument 9505 bnx2x_disable_close_the_gate(struct bnx2x * bp) bnx2x_disable_close_the_gate() argument 9528 bnx2x_set_234_gates(struct bnx2x * bp,bool close) bnx2x_set_234_gates() argument 9568 bnx2x_clp_reset_prep(struct bnx2x * bp,u32 * magic_val) bnx2x_clp_reset_prep() argument 9582 bnx2x_clp_reset_done(struct bnx2x * bp,u32 magic_val) bnx2x_clp_reset_done() argument 9598 bnx2x_reset_mcp_prep(struct bnx2x * bp,u32 * magic_val) bnx2x_reset_mcp_prep() argument 9627 bnx2x_mcp_wait_one(struct bnx2x * bp) bnx2x_mcp_wait_one() argument 9640 bnx2x_init_shmem(struct bnx2x * bp) bnx2x_init_shmem() argument 9671 bnx2x_reset_mcp_comp(struct bnx2x * bp,u32 magic_val) bnx2x_reset_mcp_comp() argument 9682 bnx2x_pxp_prep(struct bnx2x * bp) bnx2x_pxp_prep() argument 9700 bnx2x_process_kill_chip_reset(struct bnx2x * bp,bool global) bnx2x_process_kill_chip_reset() argument 9804 bnx2x_er_poll_igu_vq(struct bnx2x * bp) bnx2x_er_poll_igu_vq() argument 9827 bnx2x_process_kill(struct bnx2x * bp,bool global) bnx2x_process_kill() argument 9914 bnx2x_leader_reset(struct bnx2x * bp) bnx2x_leader_reset() argument 9974 bnx2x_recovery_failed(struct bnx2x * bp) bnx2x_recovery_failed() argument 10000 bnx2x_parity_recover(struct bnx2x * bp) bnx2x_parity_recover() argument 10163 bnx2x_udp_port_update(struct bnx2x * bp) bnx2x_udp_port_update() argument 10211 struct bnx2x *bp = netdev_priv(netdev); bnx2x_udp_tunnel_sync() local 10236 struct bnx2x *bp = container_of(work, struct bnx2x, sp_rtnl_task.work); bnx2x_sp_rtnl_task() local 10366 struct bnx2x *bp = container_of(work, struct bnx2x, period_task.work); bnx2x_period_task() local 10399 bnx2x_get_pretend_reg(struct bnx2x * bp) bnx2x_get_pretend_reg() argument 10406 bnx2x_prev_unload_close_umac(struct bnx2x * bp,u8 port,u32 reset_reg,struct bnx2x_mac_vals * vals) bnx2x_prev_unload_close_umac() argument 10425 bnx2x_prev_unload_close_mac(struct bnx2x * bp,struct bnx2x_mac_vals * vals) bnx2x_prev_unload_close_mac() argument 10504 bnx2x_prev_is_after_undi(struct bnx2x * bp) bnx2x_prev_is_after_undi() argument 10521 bnx2x_prev_unload_undi_inc(struct bnx2x * bp,u8 inc) bnx2x_prev_unload_undi_inc() argument 10542 bnx2x_prev_mcp_done(struct bnx2x * bp) bnx2x_prev_mcp_done() argument 10555 bnx2x_prev_path_get_entry(struct bnx2x * bp) bnx2x_prev_path_get_entry() argument 10568 bnx2x_prev_path_mark_eeh(struct bnx2x * bp) bnx2x_prev_path_mark_eeh() argument 10593 bnx2x_prev_is_path_marked(struct bnx2x * bp) bnx2x_prev_is_path_marked() argument 10618 bnx2x_port_after_undi(struct bnx2x * bp) bnx2x_port_after_undi() argument 10633 bnx2x_prev_mark_path(struct bnx2x * bp,bool after_undi) bnx2x_prev_mark_path() argument 10686 bnx2x_do_flr(struct bnx2x * bp) bnx2x_do_flr() argument 10711 bnx2x_prev_unload_uncommon(struct bnx2x * bp) bnx2x_prev_unload_uncommon() argument 10756 bnx2x_prev_unload_common(struct bnx2x * bp) bnx2x_prev_unload_common() argument 10853 bnx2x_prev_unload(struct bnx2x * bp) bnx2x_prev_unload() argument 10936 bnx2x_get_common_hwinfo(struct bnx2x * bp) bnx2x_get_common_hwinfo() argument 11125 bnx2x_get_igu_cam_info(struct bnx2x * bp) bnx2x_get_igu_cam_info() argument 11184 bnx2x_link_settings_supported(struct bnx2x * bp,u32 switch_cfg) bnx2x_link_settings_supported() argument 11285 bnx2x_link_settings_requested(struct bnx2x * bp) bnx2x_link_settings_requested() argument 11492 bnx2x_get_port_hwinfo(struct bnx2x * bp) bnx2x_get_port_hwinfo() argument 11576 bnx2x_get_iscsi_info(struct bnx2x * bp) bnx2x_get_iscsi_info() argument 11604 bnx2x_get_ext_wwn_info(struct bnx2x * bp,int func) bnx2x_get_ext_wwn_info() argument 11619 bnx2x_shared_fcoe_funcs(struct bnx2x * bp) bnx2x_shared_fcoe_funcs() argument 11661 bnx2x_get_fcoe_info(struct bnx2x * bp) bnx2x_get_fcoe_info() argument 11730 bnx2x_get_cnic_info(struct bnx2x * bp) bnx2x_get_cnic_info() argument 11741 bnx2x_get_cnic_mac_hwinfo(struct bnx2x * bp) bnx2x_get_cnic_mac_hwinfo() argument 11833 bnx2x_get_mac_hwinfo(struct bnx2x * bp) bnx2x_get_mac_hwinfo() argument 11885 bnx2x_get_dropless_info(struct bnx2x * bp) bnx2x_get_dropless_info() argument 11908 validate_set_si_mode(struct bnx2x * bp) validate_set_si_mode() argument 11924 bnx2x_get_hwinfo(struct bnx2x * bp) bnx2x_get_hwinfo() argument 12206 bnx2x_read_fwinfo(struct bnx2x * bp) bnx2x_read_fwinfo() argument 12239 bnx2x_set_modes_bitmap(struct bnx2x * bp) bnx2x_set_modes_bitmap() argument 12289 bnx2x_init_bp(struct bnx2x * bp) bnx2x_init_bp() argument 12436 struct bnx2x *bp = netdev_priv(dev); bnx2x_open() local 12506 struct bnx2x *bp = netdev_priv(dev); bnx2x_close() local 12537 bnx2x_init_mcast_macs_list(struct bnx2x * bp,struct bnx2x_mcast_ramrod_params * p,struct list_head * mcast_group_list) bnx2x_init_mcast_macs_list() argument 12579 bnx2x_set_uc_list(struct bnx2x * bp) bnx2x_set_uc_list() argument 12617 bnx2x_set_mc_list_e1x(struct bnx2x * bp) bnx2x_set_mc_list_e1x() argument 12652 bnx2x_set_mc_list(struct bnx2x * bp) bnx2x_set_mc_list() argument 12692 struct bnx2x *bp = netdev_priv(dev); bnx2x_set_rx_mode() local 12704 bnx2x_set_rx_mode_inner(struct bnx2x * bp) bnx2x_set_rx_mode_inner() argument 12767 struct bnx2x *bp = netdev_priv(netdev); bnx2x_mdio_read() local 12791 struct bnx2x *bp = netdev_priv(netdev); bnx2x_mdio_write() local 12810 struct bnx2x *bp = netdev_priv(dev); bnx2x_ioctl() local 12828 struct bnx2x *bp = netdev_priv(dev); bnx2x_validate_addr() local 12844 struct bnx2x *bp = netdev_priv(netdev); bnx2x_get_phys_port_id() local 12881 __bnx2x_vlan_configure_vid(struct bnx2x * bp,u16 vid,bool add) __bnx2x_vlan_configure_vid() argument 12898 bnx2x_vlan_configure_vid_list(struct bnx2x * bp) bnx2x_vlan_configure_vid_list() argument 12925 bnx2x_vlan_configure(struct bnx2x * bp,bool set_rx_mode) bnx2x_vlan_configure() argument 12944 bnx2x_vlan_reconfigure_vid(struct bnx2x * bp) bnx2x_vlan_reconfigure_vid() argument 12954 struct bnx2x *bp = netdev_priv(dev); bnx2x_vlan_rx_add_vid() local 12975 struct bnx2x *bp = netdev_priv(dev); bnx2x_vlan_rx_kill_vid() local 13041 bnx2x_init_dev(struct bnx2x * bp,struct pci_dev * pdev,struct net_device * dev,unsigned long board_type) bnx2x_init_dev() argument 13262 bnx2x_check_firmware(struct bnx2x * bp) bnx2x_check_firmware() argument 13388 bnx2x_init_firmware(struct bnx2x * bp) bnx2x_init_firmware() argument 13488 bnx2x_release_firmware(struct bnx2x * bp) bnx2x_release_firmware() argument 13514 bnx2x__init_func_obj(struct bnx2x * bp) bnx2x__init_func_obj() argument 13528 bnx2x_set_qm_cid_count(struct bnx2x * bp) bnx2x_set_qm_cid_count() argument 13635 bnx2x_send_update_drift_ramrod(struct bnx2x * bp,int drift_dir,int best_val,int best_period) bnx2x_send_update_drift_ramrod() argument 13662 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_adjfine() local 13731 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_adjtime() local 13748 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_gettime() local 13769 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_settime() local 13792 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); bnx2x_ptp_enable() local 13798 bnx2x_register_phc(struct bnx2x * bp) bnx2x_register_phc() argument 13825 struct bnx2x *bp; bnx2x_init_one() local 14027 __bnx2x_remove(struct pci_dev * pdev,struct net_device * dev,struct bnx2x * bp,bool remove_netdev) __bnx2x_remove() argument 14118 struct bnx2x *bp; bnx2x_remove_one() local 14129 bnx2x_eeh_nic_unload(struct bnx2x * bp) bnx2x_eeh_nic_unload() argument 14170 struct bnx2x *bp = netdev_priv(dev); bnx2x_io_error_detected() local 14205 struct bnx2x *bp = netdev_priv(dev); bnx2x_io_slot_reset() local 14290 struct bnx2x *bp = netdev_priv(dev); bnx2x_io_resume() local 14324 struct bnx2x *bp; bnx2x_shutdown() local 14400 bnx2x_notify_link_changed(struct bnx2x * bp) bnx2x_notify_link_changed() argument 14415 bnx2x_set_iscsi_eth_mac_addr(struct bnx2x * bp) bnx2x_set_iscsi_eth_mac_addr() argument 14426 bnx2x_cnic_sp_post(struct bnx2x * bp,int count) bnx2x_cnic_sp_post() argument 14510 struct bnx2x *bp = netdev_priv(dev); bnx2x_cnic_sp_queue() local 14558 bnx2x_cnic_ctl_send(struct bnx2x * bp,struct cnic_ctl_info * ctl) bnx2x_cnic_ctl_send() argument 14573 bnx2x_cnic_ctl_send_bh(struct bnx2x * bp,struct cnic_ctl_info * ctl) bnx2x_cnic_ctl_send_bh() argument 14590 bnx2x_cnic_notify(struct bnx2x * bp,int cmd) bnx2x_cnic_notify() argument 14599 bnx2x_cnic_cfc_comp(struct bnx2x * bp,int cid,u8 err) bnx2x_cnic_cfc_comp() argument 14617 bnx2x_set_iscsi_eth_rx_mode(struct bnx2x * bp,bool start) bnx2x_set_iscsi_eth_rx_mode() argument 14654 struct bnx2x *bp = netdev_priv(dev); bnx2x_drv_ctl() local 14834 struct bnx2x *bp = netdev_priv(dev); bnx2x_get_fc_npiv() local 14897 bnx2x_setup_cnic_irq_info(struct bnx2x * bp) bnx2x_setup_cnic_irq_info() argument 14925 bnx2x_setup_cnic_info(struct bnx2x * bp) bnx2x_setup_cnic_info() argument 14946 struct bnx2x *bp = netdev_priv(dev); bnx2x_register_cnic() local 15001 struct bnx2x *bp = netdev_priv(dev); bnx2x_unregister_cnic() local 15018 struct bnx2x *bp = netdev_priv(dev); bnx2x_cnic_probe() local 15069 struct bnx2x *bp = fp->bp; bnx2x_rx_ustorm_prods_offset() local 15087 bnx2x_pretend_func(struct bnx2x * bp,u16 pretend_func_val) bnx2x_pretend_func() argument 15103 struct bnx2x *bp = container_of(work, struct bnx2x, ptp_task); bnx2x_ptp_task() local 15154 bnx2x_set_rx_ts(struct bnx2x * bp,struct sk_buff * skb) bnx2x_set_rx_ts() argument 15180 struct bnx2x *bp = container_of(cc, struct bnx2x, cyclecounter); bnx2x_cyclecounter_read() local 15195 bnx2x_init_cyclecounter(struct bnx2x * bp) bnx2x_init_cyclecounter() argument 15204 bnx2x_send_reset_timesync_ramrod(struct bnx2x * bp) bnx2x_send_reset_timesync_ramrod() argument 15224 bnx2x_enable_ptp_packets(struct bnx2x * bp) bnx2x_enable_ptp_packets() argument 15269 bnx2x_configure_ptp_filters(struct bnx2x * bp) bnx2x_configure_ptp_filters() argument 15353 bnx2x_hwtstamp_ioctl(struct bnx2x * bp,struct ifreq * ifr) bnx2x_hwtstamp_ioctl() argument 15381 bnx2x_configure_ptp(struct bnx2x * bp) bnx2x_configure_ptp() argument 15426 bnx2x_init_ptp(struct bnx2x * bp) bnx2x_init_ptp() argument [all...] |