Home
last modified time | relevance | path

Searched refs:bnx2x (Results 1 – 23 of 23) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/ !
Dbnx2x_sp.h22 struct bnx2x;
84 int (*wait_comp)(struct bnx2x *bp,
160 typedef int (*exe_q_validate)(struct bnx2x *bp,
164 typedef int (*exe_q_remove)(struct bnx2x *bp,
172 typedef int (*exe_q_optimize)(struct bnx2x *bp,
175 typedef int (*exe_q_execute)(struct bnx2x *bp,
309 int (*get_n_elements)(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o,
318 int (*check_add)(struct bnx2x *bp,
328 (*check_del)(struct bnx2x *bp,
337 bool (*check_move)(struct bnx2x *bp,
[all …]
Dbnx2x_cmn.h79 u32 bnx2x_send_unload_req(struct bnx2x *bp, int unload_mode);
86 void bnx2x_send_unload_done(struct bnx2x *bp);
95 int bnx2x_config_rss_pf(struct bnx2x *bp, u8 *ind_table, bool config_hash);
106 void bnx2x__init_func_obj(struct bnx2x *bp);
116 int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp,
124 int bnx2x_setup_leading(struct bnx2x *bp);
135 u32 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param);
143 u8 bnx2x_initial_phy_init(struct bnx2x *bp, int load_mode);
150 void bnx2x_link_set(struct bnx2x *bp);
160 u8 bnx2x_link_test(struct bnx2x *bp, u8 is_serdes);
[all …]
Dbnx2x_dcb.c33 static int bnx2x_dcbx_stop_hw_tx(struct bnx2x *bp);
34 static void bnx2x_pfc_set_pfc(struct bnx2x *bp);
35 static void bnx2x_dcbx_update_ets_params(struct bnx2x *bp);
36 static int bnx2x_dcbx_resume_hw_tx(struct bnx2x *bp);
37 static void bnx2x_dcbx_get_ets_pri_pg_tbl(struct bnx2x *bp,
40 static void bnx2x_dcbx_get_num_pg_traf_type(struct bnx2x *bp,
43 static void bnx2x_dcbx_fill_cos_params(struct bnx2x *bp,
47 static void bnx2x_dcbx_separate_pauseable_from_non(struct bnx2x *bp,
51 static void bnx2x_dcbx_fw_struct(struct bnx2x *bp,
55 static void bnx2x_read_data(struct bnx2x *bp, u32 *buff, in bnx2x_read_data()
[all …]
Dbnx2x_init_ops.h43 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len);
44 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val);
45 static void bnx2x_write_dmae_phys_len(struct bnx2x *bp,
49 static void bnx2x_init_str_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_str_wr()
58 static void bnx2x_init_ind_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_ind_wr()
67 static void bnx2x_write_big_buf(struct bnx2x *bp, u32 addr, u32 len, in bnx2x_write_big_buf()
82 static void bnx2x_init_fill(struct bnx2x *bp, u32 addr, int fill, in bnx2x_init_fill()
98 static void bnx2x_write_big_buf_wb(struct bnx2x *bp, u32 addr, u32 len) in bnx2x_write_big_buf_wb()
112 static void bnx2x_init_wr_64(struct bnx2x *bp, u32 addr, in bnx2x_init_wr_64()
151 static const u8 *bnx2x_sel_blob(struct bnx2x *bp, u32 addr, in bnx2x_sel_blob()
[all …]
Dbnx2x_sp.c48 static inline void bnx2x_exe_queue_init(struct bnx2x *bp, in bnx2x_exe_queue_init()
79 static inline void bnx2x_exe_queue_free_elem(struct bnx2x *bp, in bnx2x_exe_queue_free_elem()
111 static inline int bnx2x_exe_queue_add(struct bnx2x *bp, in bnx2x_exe_queue_add()
151 struct bnx2x *bp, in __bnx2x_exe_queue_reset_pending()
165 static inline void bnx2x_exe_queue_reset_pending(struct bnx2x *bp, in bnx2x_exe_queue_reset_pending()
186 static inline int bnx2x_exe_queue_step(struct bnx2x *bp, in bnx2x_exe_queue_step()
274 struct bnx2x *bp) in bnx2x_exe_queue_alloc_elem()
308 static inline int bnx2x_state_wait(struct bnx2x *bp, int state, in bnx2x_state_wait()
344 static int bnx2x_raw_wait(struct bnx2x *bp, struct bnx2x_raw_obj *raw) in bnx2x_raw_wait()
447 static int bnx2x_get_n_elements(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, in bnx2x_get_n_elements()
[all …]
Dbnx2x_main.c223 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()
[all …]
Dbnx2x_cmn.c46 static inline void bnx2x_move_fp(struct bnx2x *bp, int from, int to) in bnx2x_move_fp()
64 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt()
138 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) in bnx2x_tx_int()
220 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod()
272 static u32 bnx2x_get_rxhash(const struct bnx2x *bp, in bnx2x_get_rxhash()
286 struct bnx2x *bp = fp->bp; in bnx2x_tpa_start()
377 static inline u16 bnx2x_set_lro_mss(struct bnx2x *bp, u16 parsing_flags, in bnx2x_set_lro_mss()
404 static int bnx2x_fill_frag_skb(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_fill_frag_skb()
502 static inline void bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_tpa_stop()
601 struct bnx2x *bp = fp->bp; in bnx2x_rx_int()
[all …]
Dbnx2x_ethtool.c186 static int bnx2x_get_port_type(struct bnx2x *bp) in bnx2x_get_port_type()
216 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_settings()
297 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_settings()
598 static inline bool bnx2x_is_reg_online(struct bnx2x *bp, in bnx2x_is_reg_online()
616 static inline const u32 *__bnx2x_get_page_addr_ar(struct bnx2x *bp) in __bnx2x_get_page_addr_ar()
626 static inline u32 __bnx2x_get_page_reg_num(struct bnx2x *bp) in __bnx2x_get_page_reg_num()
636 static inline const u32 *__bnx2x_get_page_write_ar(struct bnx2x *bp) in __bnx2x_get_page_write_ar()
646 static inline u32 __bnx2x_get_page_write_num(struct bnx2x *bp) in __bnx2x_get_page_write_num()
656 static inline const struct reg_addr *__bnx2x_get_page_read_ar(struct bnx2x *bp) in __bnx2x_get_page_read_ar()
666 static inline u32 __bnx2x_get_page_read_num(struct bnx2x *bp) in __bnx2x_get_page_read_num()
[all …]
Dbnx2x_dcb.h186 struct bnx2x;
188 void bnx2x_dcbx_init_params(struct bnx2x *bp);
189 void bnx2x_dcbx_set_state(struct bnx2x *bp, bool dcb_on, u32 dcbx_enabled);
197 void bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state);
198 void bnx2x_dcbx_pmf_update(struct bnx2x *bp);
202 int bnx2x_dcbnl_update_applist(struct bnx2x *bp, bool delall);
Dbnx2x_link.c307 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_en()
316 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis()
328 static void bnx2x_get_epio(struct bnx2x *bp, u32 epio_pin, u32 *en) in bnx2x_get_epio()
345 static void bnx2x_set_epio(struct bnx2x *bp, u32 epio_pin, u32 en) in bnx2x_set_epio()
370 static void bnx2x_set_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 val) in bnx2x_set_cfg_pin()
383 static u32 bnx2x_get_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 *val) in bnx2x_get_cfg_pin()
403 struct bnx2x *bp = params->bp; in bnx2x_ets_e2e3a0_disabled()
500 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_nig()
538 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_nig_disabled()
629 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_pbf()
[all …]
Dbnx2x_link.h270 struct bnx2x *bp;
366 int bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[],
370 void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port);
373 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy);
383 u8 bnx2x_hw_lock_required(struct bnx2x *bp, u32 shmem_base,
393 u8 bnx2x_fan_failure_det_req(struct bnx2x *bp, u32 shmem_base,
489 void bnx2x_init_mod_abs_int(struct bnx2x *bp, struct link_vars *vars,
Dbnx2x_stats.c42 static u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp) in bnx2x_get_port_stats_dma_len()
63 static void bnx2x_storm_stats_post(struct bnx2x *bp) in bnx2x_storm_stats_post()
95 static void bnx2x_hw_stats_post(struct bnx2x *bp) in bnx2x_hw_stats_post()
137 static int bnx2x_stats_comp(struct bnx2x *bp) in bnx2x_stats_comp()
158 static void bnx2x_stats_pmf_update(struct bnx2x *bp) in bnx2x_stats_pmf_update()
205 static void bnx2x_port_stats_init(struct bnx2x *bp) in bnx2x_port_stats_init()
427 static void bnx2x_func_stats_init(struct bnx2x *bp) in bnx2x_func_stats_init()
455 static void bnx2x_stats_start(struct bnx2x *bp) in bnx2x_stats_start()
467 static void bnx2x_stats_pmf_start(struct bnx2x *bp) in bnx2x_stats_pmf_start()
474 static void bnx2x_stats_restart(struct bnx2x *bp) in bnx2x_stats_restart()
[all …]
DMakefile5 obj-$(CONFIG_BNX2X) += bnx2x.o
7 bnx2x-objs := bnx2x_main.o bnx2x_link.o bnx2x_cmn.o bnx2x_ethtool.o bnx2x_stats.o bnx2x_dcb.o bnx2x…
Dbnx2x_init.h205 static inline void bnx2x_map_q_cos(struct bnx2x *bp, u32 q_num, u32 new_cos) in bnx2x_map_q_cos()
259 static inline void bnx2x_dcb_config_qm(struct bnx2x *bp, enum cos_mode mode, in bnx2x_dcb_config_qm()
453 static inline void bnx2x_set_mcp_parity(struct bnx2x *bp, u8 enable) in bnx2x_set_mcp_parity()
470 static inline u32 bnx2x_parity_reg_mask(struct bnx2x *bp, int idx) in bnx2x_parity_reg_mask()
482 static inline void bnx2x_disable_blocks_parity(struct bnx2x *bp) in bnx2x_disable_blocks_parity()
505 static inline void bnx2x_clear_blocks_parity(struct bnx2x *bp) in bnx2x_clear_blocks_parity()
549 static inline void bnx2x_enable_blocks_parity(struct bnx2x *bp) in bnx2x_enable_blocks_parity()
Dbnx2x.h120 void bnx2x_int_disable(struct bnx2x *bp);
489 struct bnx2x *bp; /* parent */
1168 struct bnx2x { struct
1690 int bnx2x_set_mac_one(struct bnx2x *bp, u8 *mac,
1716 int bnx2x_del_all_macs(struct bnx2x *bp,
1721 void bnx2x_func_init(struct bnx2x *bp, struct bnx2x_func_init_params *p);
1722 int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port);
1723 int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port);
1724 int bnx2x_set_mult_gpio(struct bnx2x *bp, u8 pins, u32 mode);
1725 int bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port);
[all …]
Dbnx2x_stats.h521 struct bnx2x;
523 void bnx2x_stats_init(struct bnx2x *bp);
525 void bnx2x_stats_handle(struct bnx2x *bp, enum bnx2x_stats_event event);
532 void bnx2x_save_statistics(struct bnx2x *bp);
/linux-3.4.99/firmware/ !
DMakefile35 fw-shipped-$(CONFIG_BNX2X) += bnx2x/bnx2x-e1-6.2.9.0.fw \
36 bnx2x/bnx2x-e1h-6.2.9.0.fw \
37 bnx2x/bnx2x-e2-6.2.9.0.fw
DWHENCE680 Driver: bnx2x: Broadcom Everest
682 File: bnx2x/bnx2x-e1-6.2.9.0.fw
683 File: bnx2x/bnx2x-e1h-6.2.9.0.fw
684 File: bnx2x/bnx2x-e2-6.2.9.0.fw
/linux-3.4.99/drivers/net/ethernet/broadcom/ !
DMakefile9 obj-$(CONFIG_BNX2X) += bnx2x/
DKconfig120 will be called bnx2x. This is recommended.
/linux-3.4.99/Documentation/scsi/ !
Dbnx2fc.txt48 Driver: bnx2x 1.70.00-0
/linux-3.4.99/Documentation/networking/ !
Dscaling.txt52 configure. In the bnx2x driver, for instance, this parameter is called
/linux-3.4.99/ !
DMAINTAINERS1567 F: drivers/net/ethernet/broadcom/bnx2x/