Lines Matching refs:bnx2x
87 u32 bnx2x_send_unload_req(struct bnx2x *bp, int unload_mode);
95 void bnx2x_send_unload_done(struct bnx2x *bp, bool keep_link);
106 int bnx2x_rss(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj,
118 void bnx2x__init_func_obj(struct bnx2x *bp);
128 int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp,
136 int bnx2x_setup_leading(struct bnx2x *bp);
147 u32 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param);
155 int bnx2x_initial_phy_init(struct bnx2x *bp, int load_mode);
162 void bnx2x_link_set(struct bnx2x *bp);
170 void bnx2x_force_link_reset(struct bnx2x *bp);
180 u8 bnx2x_link_test(struct bnx2x *bp, u8 is_serdes);
190 void bnx2x_drv_pulse(struct bnx2x *bp);
202 void bnx2x_igu_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 segment,
206 void bnx2x_pf_disable(struct bnx2x *bp);
207 int bnx2x_pretend_func(struct bnx2x *bp, u16 pretend_func_val);
214 void bnx2x__link_status_update(struct bnx2x *bp);
221 void bnx2x_link_report(struct bnx2x *bp);
224 void __bnx2x_link_report(struct bnx2x *bp);
233 u16 bnx2x_get_mf_speed(struct bnx2x *bp);
257 int bnx2x_cnic_notify(struct bnx2x *bp, int cmd);
264 void bnx2x_setup_cnic_irq_info(struct bnx2x *bp);
271 void bnx2x_setup_cnic_info(struct bnx2x *bp);
278 void bnx2x_int_enable(struct bnx2x *bp);
289 void bnx2x_int_disable_sync(struct bnx2x *bp, int disable_hw);
302 void bnx2x_nic_init_cnic(struct bnx2x *bp);
314 void bnx2x_pre_irq_nic_init(struct bnx2x *bp);
327 void bnx2x_post_irq_nic_init(struct bnx2x *bp, u32 load_code);
333 int bnx2x_alloc_mem_cnic(struct bnx2x *bp);
339 int bnx2x_alloc_mem(struct bnx2x *bp);
346 void bnx2x_free_mem_cnic(struct bnx2x *bp);
352 void bnx2x_free_mem(struct bnx2x *bp);
359 void bnx2x_set_num_queues(struct bnx2x *bp);
372 void bnx2x_chip_cleanup(struct bnx2x *bp, int unload_mode, bool keep_link);
380 int bnx2x_acquire_hw_lock(struct bnx2x *bp, u32 resource);
388 int bnx2x_release_hw_lock(struct bnx2x *bp, u32 resource);
395 int bnx2x_release_leader_lock(struct bnx2x *bp);
405 int bnx2x_set_eth_mac(struct bnx2x *bp, bool set);
416 void bnx2x_set_rx_mode_inner(struct bnx2x *bp);
419 void bnx2x_set_pf_load(struct bnx2x *bp);
420 bool bnx2x_clear_pf_load(struct bnx2x *bp);
421 bool bnx2x_chk_parity_attn(struct bnx2x *bp, bool *global, bool print);
422 bool bnx2x_reset_is_done(struct bnx2x *bp, int engine);
423 void bnx2x_set_reset_in_progress(struct bnx2x *bp);
424 void bnx2x_set_reset_global(struct bnx2x *bp);
425 void bnx2x_disable_close_the_gate(struct bnx2x *bp);
426 int bnx2x_init_hw_func_cnic(struct bnx2x *bp);
428 void bnx2x_clear_vlan_info(struct bnx2x *bp);
443 void bnx2x_ilt_set_info(struct bnx2x *bp);
451 void bnx2x_ilt_set_info_cnic(struct bnx2x *bp);
458 void bnx2x_dcbx_init(struct bnx2x *bp, bool update_shmem);
468 int bnx2x_set_power_state(struct bnx2x *bp, pci_power_t state);
476 void bnx2x_update_max_mf_config(struct bnx2x *bp, u32 value);
478 void bnx2x_fw_dump_lvl(struct bnx2x *bp, const char *lvl);
481 int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode, bool keep_link);
484 int bnx2x_nic_load(struct bnx2x *bp, int load_mode);
505 static inline void bnx2x_update_rx_prod(struct bnx2x *bp, in bnx2x_update_rx_prod()
542 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata);
547 void bnx2x_free_irq(struct bnx2x *bp);
549 void bnx2x_free_fp_mem(struct bnx2x *bp);
550 void bnx2x_init_rx_rings(struct bnx2x *bp);
551 void bnx2x_init_rx_rings_cnic(struct bnx2x *bp);
552 void bnx2x_free_skbs(struct bnx2x *bp);
553 void bnx2x_netif_stop(struct bnx2x *bp, int disable_hw);
554 void bnx2x_netif_start(struct bnx2x *bp);
555 int bnx2x_load_cnic(struct bnx2x *bp);
565 int bnx2x_enable_msix(struct bnx2x *bp);
572 int bnx2x_enable_msi(struct bnx2x *bp);
579 int bnx2x_alloc_mem_bp(struct bnx2x *bp);
586 void bnx2x_free_mem_bp(struct bnx2x *bp);
626 void bnx2x_get_c2s_mapping(struct bnx2x *bp, u8 *c2s_map, u8 *c2s_default);
636 static inline void bnx2x_igu_ack_sb_gen(struct bnx2x *bp, u8 igu_sb_id, in bnx2x_igu_ack_sb_gen()
656 static inline void bnx2x_hc_ack_sb(struct bnx2x *bp, u8 sb_id, in bnx2x_hc_ack_sb()
676 static inline void bnx2x_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 storm, in bnx2x_ack_sb()
696 static inline u16 bnx2x_hc_ack_int(struct bnx2x *bp) in bnx2x_hc_ack_int()
706 static inline u16 bnx2x_igu_ack_int(struct bnx2x *bp) in bnx2x_igu_ack_int()
718 static inline u16 bnx2x_ack_int(struct bnx2x *bp) in bnx2x_ack_int()
734 static inline u16 bnx2x_tx_avail(struct bnx2x *bp, in bnx2x_tx_avail()
793 static inline void bnx2x_tx_disable(struct bnx2x *bp) in bnx2x_tx_disable()
799 static inline void bnx2x_free_rx_sge(struct bnx2x *bp, in bnx2x_free_rx_sge()
823 static inline void bnx2x_del_all_napi_cnic(struct bnx2x *bp) in bnx2x_del_all_napi_cnic()
833 static inline void bnx2x_del_all_napi(struct bnx2x *bp) in bnx2x_del_all_napi()
843 int bnx2x_set_int_mode(struct bnx2x *bp);
845 static inline void bnx2x_disable_msi(struct bnx2x *bp) in bnx2x_disable_msi()
904 static inline int func_by_vn(struct bnx2x *bp, int vn) in func_by_vn()
909 static inline int bnx2x_config_rss_eth(struct bnx2x *bp, bool config_hash) in bnx2x_config_rss_eth()
921 static inline int bnx2x_func_start(struct bnx2x *bp) in bnx2x_func_start()
1002 static inline void bnx2x_free_rx_mem_pool(struct bnx2x *bp, in bnx2x_free_rx_mem_pool()
1013 static inline void bnx2x_free_rx_sge_range(struct bnx2x *bp, in bnx2x_free_rx_sge_range()
1049 struct bnx2x *bp = fp->bp; in bnx2x_stats_id()
1062 struct bnx2x *bp = fp->bp; in bnx2x_init_vlan_mac_fp_objs()
1090 static inline u8 bnx2x_get_path_func_num(struct bnx2x *bp) in bnx2x_get_path_func_num()
1122 static inline void bnx2x_init_bp_objs(struct bnx2x *bp) in bnx2x_init_bp_objs()
1161 static inline void bnx2x_init_txdata(struct bnx2x *bp, in bnx2x_init_txdata()
1176 static inline u8 bnx2x_cnic_eth_cl_id(struct bnx2x *bp, u8 cl_idx) in bnx2x_cnic_eth_cl_id()
1182 static inline u8 bnx2x_cnic_fw_sb_id(struct bnx2x *bp) in bnx2x_cnic_fw_sb_id()
1188 static inline u8 bnx2x_cnic_igu_sb_id(struct bnx2x *bp) in bnx2x_cnic_igu_sb_id()
1193 static inline int bnx2x_clean_tx_queue(struct bnx2x *bp, in bnx2x_clean_tx_queue()
1217 int bnx2x_get_link_cfg_idx(struct bnx2x *bp);
1219 static inline void __storm_memset_struct(struct bnx2x *bp, in __storm_memset_struct()
1233 static inline bool bnx2x_wait_sp_comp(struct bnx2x *bp, unsigned long mask) in bnx2x_wait_sp_comp()
1270 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt,
1273 void bnx2x_update_coalesce_sb_index(struct bnx2x *bp, u8 fw_sb_id,
1275 void bnx2x_acquire_phy_lock(struct bnx2x *bp);
1276 void bnx2x_release_phy_lock(struct bnx2x *bp);
1285 static inline u16 bnx2x_extract_max_cfg(struct bnx2x *bp, u32 mf_cfg) in bnx2x_extract_max_cfg()
1316 void bnx2x_get_iscsi_info(struct bnx2x *bp);
1324 static inline void bnx2x_link_sync_notify(struct bnx2x *bp) in bnx2x_link_sync_notify()
1348 static inline void bnx2x_update_drv_flags(struct bnx2x *bp, u32 flags, u32 set) in bnx2x_update_drv_flags()
1376 void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len);
1378 int bnx2x_drain_tx_queues(struct bnx2x *bp);
1379 void bnx2x_squeeze_objects(struct bnx2x *bp);
1381 void bnx2x_schedule_sp_rtnl(struct bnx2x*, enum sp_rtnl_flag,
1390 void bnx2x_set_os_driver_state(struct bnx2x *bp, u32 state);
1400 int bnx2x_nvram_read(struct bnx2x *bp, u32 offset, u8 *ret_buf,