Lines Matching refs:bnx2x
85 u32 bnx2x_send_unload_req(struct bnx2x *bp, int unload_mode);
93 void bnx2x_send_unload_done(struct bnx2x *bp, bool keep_link);
104 int bnx2x_rss(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj,
116 void bnx2x__init_func_obj(struct bnx2x *bp);
126 int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp,
134 int bnx2x_setup_leading(struct bnx2x *bp);
145 u32 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param);
153 int bnx2x_initial_phy_init(struct bnx2x *bp, int load_mode);
160 void bnx2x_link_set(struct bnx2x *bp);
168 void bnx2x_force_link_reset(struct bnx2x *bp);
178 u8 bnx2x_link_test(struct bnx2x *bp, u8 is_serdes);
188 void bnx2x_drv_pulse(struct bnx2x *bp);
200 void bnx2x_igu_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 segment,
204 void bnx2x_pf_disable(struct bnx2x *bp);
205 int bnx2x_pretend_func(struct bnx2x *bp, u16 pretend_func_val);
212 void bnx2x__link_status_update(struct bnx2x *bp);
219 void bnx2x_link_report(struct bnx2x *bp);
222 void __bnx2x_link_report(struct bnx2x *bp);
231 u16 bnx2x_get_mf_speed(struct bnx2x *bp);
255 int bnx2x_cnic_notify(struct bnx2x *bp, int cmd);
262 void bnx2x_setup_cnic_irq_info(struct bnx2x *bp);
269 void bnx2x_setup_cnic_info(struct bnx2x *bp);
276 void bnx2x_int_enable(struct bnx2x *bp);
287 void bnx2x_int_disable_sync(struct bnx2x *bp, int disable_hw);
300 void bnx2x_nic_init_cnic(struct bnx2x *bp);
312 void bnx2x_pre_irq_nic_init(struct bnx2x *bp);
325 void bnx2x_post_irq_nic_init(struct bnx2x *bp, u32 load_code);
331 int bnx2x_alloc_mem_cnic(struct bnx2x *bp);
337 int bnx2x_alloc_mem(struct bnx2x *bp);
344 void bnx2x_free_mem_cnic(struct bnx2x *bp);
350 void bnx2x_free_mem(struct bnx2x *bp);
357 void bnx2x_set_num_queues(struct bnx2x *bp);
370 void bnx2x_chip_cleanup(struct bnx2x *bp, int unload_mode, bool keep_link);
378 int bnx2x_acquire_hw_lock(struct bnx2x *bp, u32 resource);
386 int bnx2x_release_hw_lock(struct bnx2x *bp, u32 resource);
393 int bnx2x_release_leader_lock(struct bnx2x *bp);
403 int bnx2x_set_eth_mac(struct bnx2x *bp, bool set);
414 void bnx2x_set_rx_mode_inner(struct bnx2x *bp);
417 void bnx2x_set_pf_load(struct bnx2x *bp);
418 bool bnx2x_clear_pf_load(struct bnx2x *bp);
419 bool bnx2x_chk_parity_attn(struct bnx2x *bp, bool *global, bool print);
420 bool bnx2x_reset_is_done(struct bnx2x *bp, int engine);
421 void bnx2x_set_reset_in_progress(struct bnx2x *bp);
422 void bnx2x_set_reset_global(struct bnx2x *bp);
423 void bnx2x_disable_close_the_gate(struct bnx2x *bp);
424 int bnx2x_init_hw_func_cnic(struct bnx2x *bp);
439 void bnx2x_ilt_set_info(struct bnx2x *bp);
447 void bnx2x_ilt_set_info_cnic(struct bnx2x *bp);
454 void bnx2x_dcbx_init(struct bnx2x *bp, bool update_shmem);
464 int bnx2x_set_power_state(struct bnx2x *bp, pci_power_t state);
472 void bnx2x_update_max_mf_config(struct bnx2x *bp, u32 value);
474 void bnx2x_fw_dump_lvl(struct bnx2x *bp, const char *lvl);
477 int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode, bool keep_link);
480 int bnx2x_nic_load(struct bnx2x *bp, int load_mode);
497 static inline void bnx2x_update_rx_prod(struct bnx2x *bp, in bnx2x_update_rx_prod()
536 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata);
543 void bnx2x_free_irq(struct bnx2x *bp);
545 void bnx2x_free_fp_mem(struct bnx2x *bp);
546 void bnx2x_init_rx_rings(struct bnx2x *bp);
547 void bnx2x_init_rx_rings_cnic(struct bnx2x *bp);
548 void bnx2x_free_skbs(struct bnx2x *bp);
549 void bnx2x_netif_stop(struct bnx2x *bp, int disable_hw);
550 void bnx2x_netif_start(struct bnx2x *bp);
551 int bnx2x_load_cnic(struct bnx2x *bp);
561 int bnx2x_enable_msix(struct bnx2x *bp);
568 int bnx2x_enable_msi(struct bnx2x *bp);
582 int bnx2x_alloc_mem_bp(struct bnx2x *bp);
589 void bnx2x_free_mem_bp(struct bnx2x *bp);
631 static inline void bnx2x_igu_ack_sb_gen(struct bnx2x *bp, u8 igu_sb_id, in bnx2x_igu_ack_sb_gen()
652 static inline void bnx2x_hc_ack_sb(struct bnx2x *bp, u8 sb_id, in bnx2x_hc_ack_sb()
673 static inline void bnx2x_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 storm, in bnx2x_ack_sb()
693 static inline u16 bnx2x_hc_ack_int(struct bnx2x *bp) in bnx2x_hc_ack_int()
703 static inline u16 bnx2x_igu_ack_int(struct bnx2x *bp) in bnx2x_igu_ack_int()
715 static inline u16 bnx2x_ack_int(struct bnx2x *bp) in bnx2x_ack_int()
731 static inline u16 bnx2x_tx_avail(struct bnx2x *bp, in bnx2x_tx_avail()
790 static inline void bnx2x_tx_disable(struct bnx2x *bp) in bnx2x_tx_disable()
796 static inline void bnx2x_free_rx_sge(struct bnx2x *bp, in bnx2x_free_rx_sge()
816 static inline void bnx2x_del_all_napi_cnic(struct bnx2x *bp) in bnx2x_del_all_napi_cnic()
826 static inline void bnx2x_del_all_napi(struct bnx2x *bp) in bnx2x_del_all_napi()
836 int bnx2x_set_int_mode(struct bnx2x *bp);
838 static inline void bnx2x_disable_msi(struct bnx2x *bp) in bnx2x_disable_msi()
897 static inline int func_by_vn(struct bnx2x *bp, int vn) in func_by_vn()
902 static inline int bnx2x_config_rss_eth(struct bnx2x *bp, bool config_hash) in bnx2x_config_rss_eth()
914 static inline int bnx2x_func_start(struct bnx2x *bp) in bnx2x_func_start()
967 static inline void bnx2x_free_rx_sge_range(struct bnx2x *bp, in bnx2x_free_rx_sge_range()
1001 struct bnx2x *bp = fp->bp; in bnx2x_stats_id()
1014 struct bnx2x *bp = fp->bp; in bnx2x_init_vlan_mac_fp_objs()
1033 static inline u8 bnx2x_get_path_func_num(struct bnx2x *bp) in bnx2x_get_path_func_num()
1065 static inline void bnx2x_init_bp_objs(struct bnx2x *bp) in bnx2x_init_bp_objs()
1102 static inline void bnx2x_init_txdata(struct bnx2x *bp, in bnx2x_init_txdata()
1117 static inline u8 bnx2x_cnic_eth_cl_id(struct bnx2x *bp, u8 cl_idx) in bnx2x_cnic_eth_cl_id()
1123 static inline u8 bnx2x_cnic_fw_sb_id(struct bnx2x *bp) in bnx2x_cnic_fw_sb_id()
1129 static inline u8 bnx2x_cnic_igu_sb_id(struct bnx2x *bp) in bnx2x_cnic_igu_sb_id()
1134 static inline int bnx2x_clean_tx_queue(struct bnx2x *bp, in bnx2x_clean_tx_queue()
1158 int bnx2x_get_link_cfg_idx(struct bnx2x *bp);
1160 static inline void __storm_memset_struct(struct bnx2x *bp, in __storm_memset_struct()
1174 static inline bool bnx2x_wait_sp_comp(struct bnx2x *bp, unsigned long mask) in bnx2x_wait_sp_comp()
1211 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt,
1214 void bnx2x_update_coalesce_sb_index(struct bnx2x *bp, u8 fw_sb_id,
1216 void bnx2x_acquire_phy_lock(struct bnx2x *bp);
1217 void bnx2x_release_phy_lock(struct bnx2x *bp);
1226 static inline u16 bnx2x_extract_max_cfg(struct bnx2x *bp, u32 mf_cfg) in bnx2x_extract_max_cfg()
1257 void bnx2x_get_iscsi_info(struct bnx2x *bp);
1265 static inline void bnx2x_link_sync_notify(struct bnx2x *bp) in bnx2x_link_sync_notify()
1289 static inline void bnx2x_update_drv_flags(struct bnx2x *bp, u32 flags, u32 set) in bnx2x_update_drv_flags()
1317 void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len);
1319 int bnx2x_drain_tx_queues(struct bnx2x *bp);
1320 void bnx2x_squeeze_objects(struct bnx2x *bp);
1322 void bnx2x_schedule_sp_rtnl(struct bnx2x*, enum sp_rtnl_flag,