Lines Matching refs:bnx2x

223 static inline void __storm_memset_dma_mapping(struct bnx2x *bp,  in __storm_memset_dma_mapping()
230 static inline void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr()
239 static inline void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf()
252 static inline void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en()
265 static inline void storm_memset_eq_data(struct bnx2x *bp, in storm_memset_eq_data()
276 static inline void storm_memset_eq_prod(struct bnx2x *bp, u16 eq_prod, in storm_memset_eq_prod()
286 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val) in bnx2x_reg_wr_ind()
294 static u32 bnx2x_reg_rd_ind(struct bnx2x *bp, u32 addr) in bnx2x_reg_rd_ind()
312 static void bnx2x_dp_dmae(struct bnx2x *bp, struct dmae_command *dmae, in bnx2x_dp_dmae()
375 void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx) in bnx2x_post_dmae()
398 u32 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type, in bnx2x_dmae_opcode()
423 static void bnx2x_prep_dmae_with_comp(struct bnx2x *bp, in bnx2x_prep_dmae_with_comp()
440 static int bnx2x_issue_dmae_with_comp(struct bnx2x *bp, in bnx2x_issue_dmae_with_comp()
484 void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr, in bnx2x_write_dmae()
515 void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32) in bnx2x_read_dmae()
549 static void bnx2x_write_dmae_phys_len(struct bnx2x *bp, dma_addr_t phys_addr, in bnx2x_write_dmae_phys_len()
566 static void bnx2x_wb_wr(struct bnx2x *bp, int reg, u32 val_hi, u32 val_lo) in bnx2x_wb_wr()
576 static u64 bnx2x_wb_rd(struct bnx2x *bp, int reg) in bnx2x_wb_rd()
586 static int bnx2x_mc_assert(struct bnx2x *bp) in bnx2x_mc_assert()
703 void bnx2x_fw_dump_lvl(struct bnx2x *bp, const char *lvl) in bnx2x_fw_dump_lvl()
759 static inline void bnx2x_fw_dump(struct bnx2x *bp) in bnx2x_fw_dump()
764 void bnx2x_panic_dump(struct bnx2x *bp) in bnx2x_panic_dump()
1012 static void bnx2x_pbf_pN_buf_flushed(struct bnx2x *bp, in bnx2x_pbf_pN_buf_flushed()
1047 static void bnx2x_pbf_pN_cmd_flushed(struct bnx2x *bp, in bnx2x_pbf_pN_cmd_flushed()
1079 static inline u32 bnx2x_flr_clnup_reg_poll(struct bnx2x *bp, u32 reg, in bnx2x_flr_clnup_reg_poll()
1091 static inline int bnx2x_flr_clnup_poll_hw_counter(struct bnx2x *bp, u32 reg, in bnx2x_flr_clnup_poll_hw_counter()
1102 static u32 bnx2x_flr_clnup_poll_count(struct bnx2x *bp) in bnx2x_flr_clnup_poll_count()
1114 static void bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count) in bnx2x_tx_hw_flushed()
1189 static inline int bnx2x_send_final_clnup(struct bnx2x *bp, u8 clnup_func, in bnx2x_send_final_clnup()
1238 static int bnx2x_poll_hw_usage_counters(struct bnx2x *bp, u32 poll_cnt) in bnx2x_poll_hw_usage_counters()
1285 static void bnx2x_hw_enable_status(struct bnx2x *bp) in bnx2x_hw_enable_status()
1315 static int bnx2x_pf_flr_clnup(struct bnx2x *bp) in bnx2x_pf_flr_clnup()
1359 static void bnx2x_hc_int_enable(struct bnx2x *bp) in bnx2x_hc_int_enable()
1425 static void bnx2x_igu_int_enable(struct bnx2x *bp) in bnx2x_igu_int_enable()
1476 void bnx2x_int_enable(struct bnx2x *bp) in bnx2x_int_enable()
1484 static void bnx2x_hc_int_disable(struct bnx2x *bp) in bnx2x_hc_int_disable()
1523 static void bnx2x_igu_int_disable(struct bnx2x *bp) in bnx2x_igu_int_disable()
1541 void bnx2x_int_disable(struct bnx2x *bp) in bnx2x_int_disable()
1549 void bnx2x_int_disable_sync(struct bnx2x *bp, int disable_hw) in bnx2x_int_disable_sync()
1583 static bool bnx2x_trylock_hw_lock(struct bnx2x *bp, u32 resource) in bnx2x_trylock_hw_lock()
1626 static inline int bnx2x_get_leader_lock_resource(struct bnx2x *bp) in bnx2x_get_leader_lock_resource()
1641 static inline bool bnx2x_trylock_leader_lock(struct bnx2x *bp) in bnx2x_trylock_leader_lock()
1647 static void bnx2x_cnic_cfc_comp(struct bnx2x *bp, int cid, u8 err);
1652 struct bnx2x *bp = fp->bp; in bnx2x_sp_event()
1725 void bnx2x_update_rx_prod(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_update_rx_prod()
1736 struct bnx2x *bp = netdev_priv(dev_instance); in bnx2x_interrupt()
1807 int bnx2x_acquire_hw_lock(struct bnx2x *bp, u32 resource) in bnx2x_acquire_hw_lock()
1851 int bnx2x_release_leader_lock(struct bnx2x *bp) in bnx2x_release_leader_lock()
1856 int bnx2x_release_hw_lock(struct bnx2x *bp, u32 resource) in bnx2x_release_hw_lock()
1890 int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port) in bnx2x_get_gpio()
1920 int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port) in bnx2x_set_gpio()
1976 int bnx2x_set_mult_gpio(struct bnx2x *bp, u8 pins, u32 mode) in bnx2x_set_mult_gpio()
2023 int bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port) in bnx2x_set_gpio_int()
2071 static int bnx2x_set_spio(struct bnx2x *bp, int spio_num, u32 mode) in bnx2x_set_spio()
2117 void bnx2x_calc_fc_adv(struct bnx2x *bp) in bnx2x_calc_fc_adv()
2143 u8 bnx2x_initial_phy_init(struct bnx2x *bp, int load_mode) in bnx2x_initial_phy_init()
2194 void bnx2x_link_set(struct bnx2x *bp) in bnx2x_link_set()
2207 static void bnx2x__link_reset(struct bnx2x *bp) in bnx2x__link_reset()
2217 u8 bnx2x_link_test(struct bnx2x *bp, u8 is_serdes) in bnx2x_link_test()
2232 static void bnx2x_init_port_minmax(struct bnx2x *bp) in bnx2x_init_port_minmax()
2276 static void bnx2x_calc_vn_weight_sum(struct bnx2x *bp) in bnx2x_calc_vn_weight_sum()
2315 static void bnx2x_init_vn_minmax(struct bnx2x *bp, int vn) in bnx2x_init_vn_minmax()
2389 static int bnx2x_get_cmng_fns_mode(struct bnx2x *bp) in bnx2x_get_cmng_fns_mode()
2399 void bnx2x_read_mf_cfg(struct bnx2x *bp) in bnx2x_read_mf_cfg()
2428 static void bnx2x_cmng_fns_init(struct bnx2x *bp, u8 read_cfg, u8 cmng_type) in bnx2x_cmng_fns_init()
2467 static void bnx2x_link_attn(struct bnx2x *bp) in bnx2x_link_attn()
2519 void bnx2x__link_status_update(struct bnx2x *bp) in bnx2x__link_status_update()
2538 static void bnx2x_pmf_update(struct bnx2x *bp) in bnx2x_pmf_update()
2579 u32 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param) in bnx2x_fw_command()
2622 void bnx2x_func_init(struct bnx2x *bp, struct bnx2x_func_init_params *p) in bnx2x_func_init()
2651 static inline unsigned long bnx2x_get_common_flags(struct bnx2x *bp, in bnx2x_get_common_flags()
2673 static inline unsigned long bnx2x_get_q_flags(struct bnx2x *bp, in bnx2x_get_q_flags()
2705 static void bnx2x_pf_q_prep_general(struct bnx2x *bp, in bnx2x_pf_q_prep_general()
2721 static void bnx2x_pf_rx_q_prep(struct bnx2x *bp, in bnx2x_pf_rx_q_prep()
2805 static void bnx2x_pf_tx_q_prep(struct bnx2x *bp, in bnx2x_pf_tx_q_prep()
2826 static void bnx2x_pf_init(struct bnx2x *bp) in bnx2x_pf_init()
2888 static void bnx2x_e1h_disable(struct bnx2x *bp) in bnx2x_e1h_disable()
2897 static void bnx2x_e1h_enable(struct bnx2x *bp) in bnx2x_e1h_enable()
2914 static void bnx2x_drv_info_ether_stat(struct bnx2x *bp) in bnx2x_drv_info_ether_stat()
2941 static void bnx2x_drv_info_fcoe_stat(struct bnx2x *bp) in bnx2x_drv_info_fcoe_stat()
3032 static void bnx2x_drv_info_iscsi_stat(struct bnx2x *bp) in bnx2x_drv_info_iscsi_stat()
3054 static inline void bnx2x_config_mf_bw(struct bnx2x *bp) in bnx2x_config_mf_bw()
3063 static inline void bnx2x_set_mf_bw(struct bnx2x *bp) in bnx2x_set_mf_bw()
3069 static void bnx2x_handle_drv_info_req(struct bnx2x *bp) in bnx2x_handle_drv_info_req()
3113 static void bnx2x_dcc_event(struct bnx2x *bp, u32 dcc_event) in bnx2x_dcc_event()
3150 static inline struct eth_spe *bnx2x_sp_get_next(struct bnx2x *bp) in bnx2x_sp_get_next()
3166 static inline void bnx2x_sp_prod_update(struct bnx2x *bp) in bnx2x_sp_prod_update()
3218 int bnx2x_sp_post(struct bnx2x *bp, int command, int cid, in bnx2x_sp_post()
3290 static int bnx2x_acquire_alr(struct bnx2x *bp) in bnx2x_acquire_alr()
3314 static void bnx2x_release_alr(struct bnx2x *bp) in bnx2x_release_alr()
3322 static inline u16 bnx2x_update_dsb_idx(struct bnx2x *bp) in bnx2x_update_dsb_idx()
3347 static void bnx2x_attn_int_asserted(struct bnx2x *bp, u32 asserted) in bnx2x_attn_int_asserted()
3454 static inline void bnx2x_fan_failure(struct bnx2x *bp) in bnx2x_fan_failure()
3484 static inline void bnx2x_attn_int_deasserted0(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted0()
3524 static inline void bnx2x_attn_int_deasserted1(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted1()
3555 static inline void bnx2x_attn_int_deasserted2(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted2()
3599 static inline void bnx2x_attn_int_deasserted3(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted3()
3711 void bnx2x_set_reset_global(struct bnx2x *bp) in bnx2x_set_reset_global()
3725 static inline void bnx2x_clear_reset_global(struct bnx2x *bp) in bnx2x_clear_reset_global()
3739 static inline bool bnx2x_reset_is_global(struct bnx2x *bp) in bnx2x_reset_is_global()
3752 static inline void bnx2x_set_reset_done(struct bnx2x *bp) in bnx2x_set_reset_done()
3772 void bnx2x_set_reset_in_progress(struct bnx2x *bp) in bnx2x_set_reset_in_progress()
3790 bool bnx2x_reset_is_done(struct bnx2x *bp, int engine) in bnx2x_reset_is_done()
3805 void bnx2x_set_pf_load(struct bnx2x *bp) in bnx2x_set_pf_load()
3843 bool bnx2x_clear_pf_load(struct bnx2x *bp) in bnx2x_clear_pf_load()
3877 static inline bool bnx2x_get_load_status(struct bnx2x *bp, int engine) in bnx2x_get_load_status()
3898 static inline void bnx2x_clear_load_status(struct bnx2x *bp) in bnx2x_clear_load_status()
4169 static inline bool bnx2x_parity_attn(struct bnx2x *bp, bool *global, bool print, in bnx2x_parity_attn()
4214 bool bnx2x_chk_parity_attn(struct bnx2x *bp, bool *global, bool print) in bnx2x_chk_parity_attn()
4241 static inline void bnx2x_attn_int_deasserted4(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted4()
4295 static void bnx2x_attn_int_deasserted(struct bnx2x *bp, u32 deasserted) in bnx2x_attn_int_deasserted()
4396 static void bnx2x_attn_int(struct bnx2x *bp) in bnx2x_attn_int()
4424 void bnx2x_igu_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 segment, in bnx2x_igu_ack_sb()
4433 static inline void bnx2x_update_eq_prod(struct bnx2x *bp, u16 prod) in bnx2x_update_eq_prod()
4441 static int bnx2x_cnic_handle_cfc_del(struct bnx2x *bp, u32 cid, in bnx2x_cnic_handle_cfc_del()
4464 static inline void bnx2x_handle_mcast_eqe(struct bnx2x *bp) in bnx2x_handle_mcast_eqe()
4489 static inline void bnx2x_handle_classification_eqe(struct bnx2x *bp, in bnx2x_handle_classification_eqe()
4534 static void bnx2x_set_iscsi_eth_rx_mode(struct bnx2x *bp, bool start);
4537 static inline void bnx2x_handle_rx_mode_eqe(struct bnx2x *bp) in bnx2x_handle_rx_mode_eqe()
4559 struct bnx2x *bp, u32 cid) in bnx2x_cid_to_q_obj()
4570 static void bnx2x_eq_int(struct bnx2x *bp) in bnx2x_eq_int()
4741 struct bnx2x *bp = container_of(work, struct bnx2x, sp_task.work); in bnx2x_sp_task()
4792 struct bnx2x *bp = netdev_priv(dev); in bnx2x_msix_sp_int()
4821 void bnx2x_drv_pulse(struct bnx2x *bp) in bnx2x_drv_pulse()
4830 struct bnx2x *bp = (struct bnx2x *) data; in bnx2x_timer()
4873 static inline void bnx2x_fill(struct bnx2x *bp, u32 addr, int fill, u32 len) in bnx2x_fill()
4886 static inline void bnx2x_wr_fp_sb_data(struct bnx2x *bp, in bnx2x_wr_fp_sb_data()
4899 static inline void bnx2x_zero_fp_sb(struct bnx2x *bp, int fw_sb_id) in bnx2x_zero_fp_sb()
4932 static inline void bnx2x_wr_sp_sb_data(struct bnx2x *bp, in bnx2x_wr_sp_sb_data()
4944 static inline void bnx2x_zero_sp_sb(struct bnx2x *bp) in bnx2x_zero_sp_sb()
5006 static void bnx2x_init_sb(struct bnx2x *bp, dma_addr_t mapping, int vfid, in bnx2x_init_sb()
5066 static void bnx2x_update_coalesce_sb(struct bnx2x *bp, u8 fw_sb_id, in bnx2x_update_coalesce_sb()
5082 static void bnx2x_init_def_sb(struct bnx2x *bp) in bnx2x_init_def_sb()
5164 void bnx2x_update_coalesce(struct bnx2x *bp) in bnx2x_update_coalesce()
5173 static void bnx2x_init_sp_ring(struct bnx2x *bp) in bnx2x_init_sp_ring()
5184 static void bnx2x_init_eq_ring(struct bnx2x *bp) in bnx2x_init_eq_ring()
5208 void bnx2x_set_q_rx_mode(struct bnx2x *bp, u8 cl_id, in bnx2x_set_q_rx_mode()
5247 void bnx2x_set_storm_rx_mode(struct bnx2x *bp) in bnx2x_set_storm_rx_mode()
5325 static void bnx2x_init_internal_common(struct bnx2x *bp) in bnx2x_init_internal_common()
5353 static void bnx2x_init_internal(struct bnx2x *bp, u32 load_code) in bnx2x_init_internal()
5394 static void bnx2x_init_eth_fp(struct bnx2x *bp, int fp_idx) in bnx2x_init_eth_fp()
5447 void bnx2x_nic_init(struct bnx2x *bp, u32 load_code) in bnx2x_nic_init()
5498 static int bnx2x_gunzip_init(struct bnx2x *bp) in bnx2x_gunzip_init()
5529 static void bnx2x_gunzip_end(struct bnx2x *bp) in bnx2x_gunzip_end()
5544 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len) in bnx2x_gunzip()
5597 static void bnx2x_lb_pckt(struct bnx2x *bp) in bnx2x_lb_pckt()
5618 static int bnx2x_int_mem_test(struct bnx2x *bp) in bnx2x_int_mem_test()
5764 static void bnx2x_enable_blocks_attention(struct bnx2x *bp) in bnx2x_enable_blocks_attention()
5825 static void bnx2x_reset_common(struct bnx2x *bp) in bnx2x_reset_common()
5841 static void bnx2x_setup_dmae(struct bnx2x *bp) in bnx2x_setup_dmae()
5847 static void bnx2x_init_pxp(struct bnx2x *bp) in bnx2x_init_pxp()
5866 static void bnx2x_setup_fan_failure_detection(struct bnx2x *bp) in bnx2x_setup_fan_failure_detection()
5918 static void bnx2x_pretend_func(struct bnx2x *bp, u8 pretend_func_num) in bnx2x_pretend_func()
5961 void bnx2x_pf_disable(struct bnx2x *bp) in bnx2x_pf_disable()
5971 static inline void bnx2x__common_init_phy(struct bnx2x *bp) in bnx2x__common_init_phy()
5993 static int bnx2x_init_hw_common(struct bnx2x *bp) in bnx2x_init_hw_common()
6429 static int bnx2x_init_hw_common_chip(struct bnx2x *bp) in bnx2x_init_hw_common_chip()
6443 static int bnx2x_init_hw_port(struct bnx2x *bp) in bnx2x_init_hw_port()
6640 static void bnx2x_ilt_wr(struct bnx2x *bp, u32 index, dma_addr_t addr) in bnx2x_ilt_wr()
6652 static inline void bnx2x_igu_clear_sb(struct bnx2x *bp, u8 idu_sb_id) in bnx2x_igu_clear_sb()
6657 static inline void bnx2x_clear_func_ilt(struct bnx2x *bp, u32 func) in bnx2x_clear_func_ilt()
6664 static int bnx2x_init_hw_func(struct bnx2x *bp) in bnx2x_init_hw_func()
6969 void bnx2x_free_mem(struct bnx2x *bp) in bnx2x_free_mem()
7008 static inline int bnx2x_alloc_fw_stats_mem(struct bnx2x *bp) in bnx2x_alloc_fw_stats_mem()
7070 int bnx2x_alloc_mem(struct bnx2x *bp) in bnx2x_alloc_mem()
7137 int bnx2x_set_mac_one(struct bnx2x *bp, u8 *mac, in bnx2x_set_mac_one()
7169 int bnx2x_del_all_macs(struct bnx2x *bp, in bnx2x_del_all_macs()
7190 int bnx2x_set_eth_mac(struct bnx2x *bp, bool set) in bnx2x_set_eth_mac()
7210 int bnx2x_setup_leading(struct bnx2x *bp) in bnx2x_setup_leading()
7222 static void __devinit bnx2x_set_int_mode(struct bnx2x *bp) in bnx2x_set_int_mode()
7258 static inline u16 bnx2x_cid_ilt_lines(struct bnx2x *bp) in bnx2x_cid_ilt_lines()
7263 void bnx2x_ilt_set_info(struct bnx2x *bp) in bnx2x_ilt_set_info()
7371 static inline void bnx2x_pf_q_prep_init(struct bnx2x *bp, in bnx2x_pf_q_prep_init()
7417 int bnx2x_setup_tx_only(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_setup_tx_only()
7461 int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_setup_queue()
7543 static int bnx2x_stop_queue(struct bnx2x *bp, int index) in bnx2x_stop_queue()
7611 static void bnx2x_reset_func(struct bnx2x *bp) in bnx2x_reset_func()
7692 static void bnx2x_reset_port(struct bnx2x *bp) in bnx2x_reset_port()
7721 static inline int bnx2x_reset_hw(struct bnx2x *bp, u32 load_code) in bnx2x_reset_hw()
7736 static inline int bnx2x_func_stop(struct bnx2x *bp) in bnx2x_func_stop()
7774 u32 bnx2x_send_unload_req(struct bnx2x *bp, int unload_mode) in bnx2x_send_unload_req()
7844 void bnx2x_send_unload_done(struct bnx2x *bp) in bnx2x_send_unload_done()
7851 static inline int bnx2x_func_wait_started(struct bnx2x *bp) in bnx2x_func_wait_started()
7917 void bnx2x_chip_cleanup(struct bnx2x *bp, int unload_mode) in bnx2x_chip_cleanup()
8039 void bnx2x_disable_close_the_gate(struct bnx2x *bp) in bnx2x_disable_close_the_gate()
8062 static void bnx2x_set_234_gates(struct bnx2x *bp, bool close) in bnx2x_set_234_gates()
8103 static void bnx2x_clp_reset_prep(struct bnx2x *bp, u32 *magic_val) in bnx2x_clp_reset_prep()
8117 static void bnx2x_clp_reset_done(struct bnx2x *bp, u32 magic_val) in bnx2x_clp_reset_done()
8133 static void bnx2x_reset_mcp_prep(struct bnx2x *bp, u32 *magic_val) in bnx2x_reset_mcp_prep()
8161 static inline void bnx2x_mcp_wait_one(struct bnx2x *bp) in bnx2x_mcp_wait_one()
8174 static int bnx2x_init_shmem(struct bnx2x *bp) in bnx2x_init_shmem()
8196 static int bnx2x_reset_mcp_comp(struct bnx2x *bp, u32 magic_val) in bnx2x_reset_mcp_comp()
8207 static void bnx2x_pxp_prep(struct bnx2x *bp) in bnx2x_pxp_prep()
8226 static void bnx2x_process_kill_chip_reset(struct bnx2x *bp, bool global) in bnx2x_process_kill_chip_reset()
8329 static int bnx2x_er_poll_igu_vq(struct bnx2x *bp) in bnx2x_er_poll_igu_vq()
8352 static int bnx2x_process_kill(struct bnx2x *bp, bool global) in bnx2x_process_kill()
8438 int bnx2x_leader_reset(struct bnx2x *bp) in bnx2x_leader_reset()
8497 static inline void bnx2x_recovery_failed(struct bnx2x *bp) in bnx2x_recovery_failed()
8523 static void bnx2x_parity_recover(struct bnx2x *bp) in bnx2x_parity_recover()
8685 struct bnx2x *bp = container_of(work, struct bnx2x, sp_rtnl_task.work); in bnx2x_sp_rtnl_task()
8750 struct bnx2x *bp = container_of(work, struct bnx2x, period_task.work); in bnx2x_period_task()
8783 static u32 bnx2x_get_pretend_reg(struct bnx2x *bp) in bnx2x_get_pretend_reg()
8790 static void bnx2x_undi_int_disable_e1h(struct bnx2x *bp) in bnx2x_undi_int_disable_e1h()
8812 static inline void bnx2x_undi_int_disable(struct bnx2x *bp) in bnx2x_undi_int_disable()
8820 static void __devinit bnx2x_prev_unload_close_mac(struct bnx2x *bp) in bnx2x_prev_unload_close_mac()
8887 static void __devinit bnx2x_prev_unload_undi_inc(struct bnx2x *bp, u8 port, in bnx2x_prev_unload_undi_inc()
8903 static int __devinit bnx2x_prev_mcp_done(struct bnx2x *bp) in bnx2x_prev_mcp_done()
8914 static bool __devinit bnx2x_prev_is_path_marked(struct bnx2x *bp) in bnx2x_prev_is_path_marked()
8938 static int __devinit bnx2x_prev_mark_path(struct bnx2x *bp) in bnx2x_prev_mark_path()
8968 static bool __devinit bnx2x_can_flr(struct bnx2x *bp) in bnx2x_can_flr()
8985 static int __devinit bnx2x_do_flr(struct bnx2x *bp) in bnx2x_do_flr()
9024 static int __devinit bnx2x_prev_unload_uncommon(struct bnx2x *bp) in bnx2x_prev_unload_uncommon()
9049 static int __devinit bnx2x_prev_unload_common(struct bnx2x *bp) in bnx2x_prev_unload_common()
9132 static void __devinit bnx2x_prev_interrupted_dmae(struct bnx2x *bp) in bnx2x_prev_interrupted_dmae()
9144 static int __devinit bnx2x_prev_unload(struct bnx2x *bp) in bnx2x_prev_unload()
9211 static void __devinit bnx2x_get_common_hwinfo(struct bnx2x *bp) in bnx2x_get_common_hwinfo()
9363 static void __devinit bnx2x_get_igu_cam_info(struct bnx2x *bp) in bnx2x_get_igu_cam_info()
9417 static void __devinit bnx2x_link_settings_supported(struct bnx2x *bp, in bnx2x_link_settings_supported()
9516 static void __devinit bnx2x_link_settings_requested(struct bnx2x *bp) in bnx2x_link_settings_requested()
9708 static void __devinit bnx2x_get_port_hwinfo(struct bnx2x *bp) in bnx2x_get_port_hwinfo()
9781 void bnx2x_get_iscsi_info(struct bnx2x *bp) in bnx2x_get_iscsi_info()
9810 static void __devinit bnx2x_get_ext_wwn_info(struct bnx2x *bp, int func) in bnx2x_get_ext_wwn_info()
9825 static void __devinit bnx2x_get_fcoe_info(struct bnx2x *bp) in bnx2x_get_fcoe_info()
9886 static void __devinit bnx2x_get_cnic_info(struct bnx2x *bp) in bnx2x_get_cnic_info()
9897 static void __devinit bnx2x_get_mac_hwinfo(struct bnx2x *bp) in bnx2x_get_mac_hwinfo()
10025 static int __devinit bnx2x_get_hwinfo(struct bnx2x *bp) in bnx2x_get_hwinfo()
10232 static void __devinit bnx2x_read_fwinfo(struct bnx2x *bp) in bnx2x_read_fwinfo()
10317 static void __devinit bnx2x_set_modes_bitmap(struct bnx2x *bp) in bnx2x_set_modes_bitmap()
10364 static int __devinit bnx2x_init_bp(struct bnx2x *bp) in bnx2x_init_bp()
10483 struct bnx2x *bp = netdev_priv(dev); in bnx2x_open()
10546 struct bnx2x *bp = netdev_priv(dev); in bnx2x_close()
10557 static inline int bnx2x_init_mcast_macs_list(struct bnx2x *bp, in bnx2x_init_mcast_macs_list()
10599 static inline int bnx2x_set_uc_list(struct bnx2x *bp) in bnx2x_set_uc_list()
10630 static inline int bnx2x_set_mc_list(struct bnx2x *bp) in bnx2x_set_mc_list()
10671 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_rx_mode()
10716 struct bnx2x *bp = netdev_priv(netdev); in bnx2x_mdio_read()
10740 struct bnx2x *bp = netdev_priv(netdev); in bnx2x_mdio_write()
10759 struct bnx2x *bp = netdev_priv(dev); in bnx2x_ioctl()
10774 struct bnx2x *bp = netdev_priv(dev); in poll_bnx2x()
10784 struct bnx2x *bp = netdev_priv(dev); in bnx2x_validate_addr()
10816 static inline int bnx2x_set_coherency_mask(struct bnx2x *bp) in bnx2x_set_coherency_mask()
10838 struct bnx2x *bp; in bnx2x_init_dev()
11011 static void __devinit bnx2x_get_pcie_width_speed(struct bnx2x *bp, in bnx2x_get_pcie_width_speed()
11022 static int bnx2x_check_firmware(struct bnx2x *bp) in bnx2x_check_firmware()
11154 static int bnx2x_init_firmware(struct bnx2x *bp) in bnx2x_init_firmware()
11236 static void bnx2x_release_firmware(struct bnx2x *bp) in bnx2x_release_firmware()
11263 void bnx2x__init_func_obj(struct bnx2x *bp) in bnx2x__init_func_obj()
11275 static inline int bnx2x_set_qm_cid_count(struct bnx2x *bp) in bnx2x_set_qm_cid_count()
11319 struct bnx2x *bp; in bnx2x_init_one()
11492 struct bnx2x *bp; in bnx2x_remove_one()
11550 static int bnx2x_eeh_nic_unload(struct bnx2x *bp) in bnx2x_eeh_nic_unload()
11588 static void bnx2x_eeh_recover(struct bnx2x *bp) in bnx2x_eeh_recover()
11613 struct bnx2x *bp = netdev_priv(dev); in bnx2x_io_error_detected()
11644 struct bnx2x *bp = netdev_priv(dev); in bnx2x_io_slot_reset()
11676 struct bnx2x *bp = netdev_priv(dev); in bnx2x_io_resume()
11747 void bnx2x_notify_link_changed(struct bnx2x *bp) in bnx2x_notify_link_changed()
11765 static inline int bnx2x_set_iscsi_eth_mac_addr(struct bnx2x *bp) in bnx2x_set_iscsi_eth_mac_addr()
11776 static void bnx2x_cnic_sp_post(struct bnx2x *bp, int count) in bnx2x_cnic_sp_post()
11854 struct bnx2x *bp = netdev_priv(dev); in bnx2x_cnic_sp_queue()
11902 static int bnx2x_cnic_ctl_send(struct bnx2x *bp, struct cnic_ctl_info *ctl) in bnx2x_cnic_ctl_send()
11917 static int bnx2x_cnic_ctl_send_bh(struct bnx2x *bp, struct cnic_ctl_info *ctl) in bnx2x_cnic_ctl_send_bh()
11934 int bnx2x_cnic_notify(struct bnx2x *bp, int cmd) in bnx2x_cnic_notify()
11943 static void bnx2x_cnic_cfc_comp(struct bnx2x *bp, int cid, u8 err) in bnx2x_cnic_cfc_comp()
11962 static void bnx2x_set_iscsi_eth_rx_mode(struct bnx2x *bp, bool start) in bnx2x_set_iscsi_eth_rx_mode()
12000 struct bnx2x *bp = netdev_priv(dev); in bnx2x_drv_ctl()
12131 void bnx2x_setup_cnic_irq_info(struct bnx2x *bp) in bnx2x_setup_cnic_irq_info()
12160 struct bnx2x *bp = netdev_priv(dev); in bnx2x_register_cnic()
12194 struct bnx2x *bp = netdev_priv(dev); in bnx2x_unregister_cnic()
12210 struct bnx2x *bp = netdev_priv(dev); in bnx2x_cnic_probe()