Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_cmn.h40 u8 bnx2x_initial_phy_init(struct bnx2x *bp, int load_mode);
47 void bnx2x_link_set(struct bnx2x *bp);
57 u8 bnx2x_link_test(struct bnx2x *bp, u8 is_serdes);
64 void bnx2x__link_status_update(struct bnx2x *bp);
73 void bnx2x_link_report(struct bnx2x *bp);
83 u16 bnx2x_get_mf_speed(struct bnx2x *bp);
112 int bnx2x_cnic_notify(struct bnx2x *bp, int cmd);
119 void bnx2x_setup_cnic_irq_info(struct bnx2x *bp);
127 void bnx2x_int_enable(struct bnx2x *bp);
136 void bnx2x_int_disable_sync(struct bnx2x *bp, int disable_hw);
[all …]
Dbnx2x_dcb.c32 static void bnx2x_dcbx_stop_hw_tx(struct bnx2x *bp);
33 static void bnx2x_pfc_set_pfc(struct bnx2x *bp);
34 static void bnx2x_dcbx_update_ets_params(struct bnx2x *bp);
35 static void bnx2x_dcbx_resume_hw_tx(struct bnx2x *bp);
36 static void bnx2x_dcbx_get_ets_pri_pg_tbl(struct bnx2x *bp,
39 static void bnx2x_dcbx_get_num_pg_traf_type(struct bnx2x *bp,
42 static void bnx2x_dcbx_fill_cos_params(struct bnx2x *bp,
46 static void bnx2x_dcbx_separate_pauseable_from_non(struct bnx2x *bp,
50 static void bnx2x_pfc_fw_struct_e2(struct bnx2x *bp);
53 static void bnx2x_pfc_set(struct bnx2x *bp) in bnx2x_pfc_set()
[all …]
Dbnx2x_init_ops.h18 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len);
19 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val);
20 static void bnx2x_write_dmae_phys_len(struct bnx2x *bp, dma_addr_t phys_addr,
23 static void bnx2x_init_str_wr(struct bnx2x *bp, u32 addr, const u32 *data, in bnx2x_init_str_wr()
32 static void bnx2x_init_ind_wr(struct bnx2x *bp, u32 addr, const u32 *data, in bnx2x_init_ind_wr()
41 static void bnx2x_write_big_buf(struct bnx2x *bp, u32 addr, u32 len) in bnx2x_write_big_buf()
49 static void bnx2x_init_fill(struct bnx2x *bp, u32 addr, int fill, u32 len) in bnx2x_init_fill()
64 static void bnx2x_init_wr_64(struct bnx2x *bp, u32 addr, const u32 *data, in bnx2x_init_wr_64()
103 static const u8 *bnx2x_sel_blob(struct bnx2x *bp, u32 addr, const u8 *data) in bnx2x_sel_blob()
132 static void bnx2x_write_big_buf_wb(struct bnx2x *bp, u32 addr, u32 len) in bnx2x_write_big_buf_wb()
[all …]
Dbnx2x_main.c163 static inline void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping()
170 static inline void __storm_memset_fill(struct bnx2x *bp, in __storm_memset_fill()
178 static inline void storm_memset_ustats_zero(struct bnx2x *bp, in storm_memset_ustats_zero()
189 static inline void storm_memset_tstats_zero(struct bnx2x *bp, in storm_memset_tstats_zero()
200 static inline void storm_memset_xstats_zero(struct bnx2x *bp, in storm_memset_xstats_zero()
212 static inline void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr()
221 static inline void storm_memset_ov(struct bnx2x *bp, u16 ov, u16 abs_fid) in storm_memset_ov()
226 static inline void storm_memset_func_cfg(struct bnx2x *bp, in storm_memset_func_cfg()
238 static inline void storm_memset_xstats_flags(struct bnx2x *bp, in storm_memset_xstats_flags()
249 static inline void storm_memset_tstats_flags(struct bnx2x *bp, in storm_memset_tstats_flags()
[all …]
Dbnx2x_cmn.c28 static int bnx2x_setup_irqs(struct bnx2x *bp);
33 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_free_tx_pkt()
99 struct bnx2x *bp = fp->bp; in bnx2x_tx_int()
171 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod()
226 struct bnx2x *bp = fp->bp; in bnx2x_tpa_start()
276 static inline u16 bnx2x_set_lro_mss(struct bnx2x *bp, u16 parsing_flags, in bnx2x_set_lro_mss()
296 static int bnx2x_fill_frag_skb(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_fill_frag_skb()
363 static void bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_tpa_stop()
442 static inline void bnx2x_set_skb_rxhash(struct bnx2x *bp, union eth_rx_cqe *cqe, in bnx2x_set_skb_rxhash()
455 struct bnx2x *bp = fp->bp; in bnx2x_rx_int()
[all …]
Dbnx2x_dcb.h178 struct bnx2x;
179 void bnx2x_dcb_init_intmem_pfc(struct bnx2x *bp);
181 void bnx2x_dcbx_init_params(struct bnx2x *bp);
182 void bnx2x_dcbx_set_state(struct bnx2x *bp, bool dcb_on, u32 dcbx_enabled);
189 void bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state);
194 int bnx2x_dcbnl_update_applist(struct bnx2x *bp, bool delall);
Dbnx2x_ethtool.c168 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_settings()
221 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_settings()
473 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs_len()
521 static inline void bnx2x_read_pages_regs_e2(struct bnx2x *bp, u32 *p) in bnx2x_read_pages_regs_e2()
542 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs()
609 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_drvinfo()
640 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_wol()
657 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_wol()
675 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_msglevel()
682 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_msglevel()
[all …]
Dbnx2x_link.c186 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_en()
195 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis()
210 struct bnx2x *bp = params->bp; in bnx2x_ets_disabled()
269 struct bnx2x *bp = params->bp; in bnx2x_ets_bw_limit_common()
317 struct bnx2x *bp = params->bp; in bnx2x_ets_bw_limit()
348 struct bnx2x *bp = params->bp; in bnx2x_ets_strict()
396 struct bnx2x *bp = params->bp; in bnx2x_bmac2_get_pfc_stat()
414 struct bnx2x *bp = params->bp; in bnx2x_emac_get_pfc_stat()
445 struct bnx2x *bp = params->bp; in bnx2x_pfc_statistic()
471 struct bnx2x *bp = params->bp; in bnx2x_emac_init()
[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
Dbnx2x_link.h252 struct bnx2x *bp;
331 u8 bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[],
335 void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port);
338 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy);
348 u8 bnx2x_hw_lock_required(struct bnx2x *bp, u32 shmem_base,
357 u8 bnx2x_fan_failure_det_req(struct bnx2x *bp, u32 shmem_base,
Dbnx2x_stats.c153 static void bnx2x_storm_stats_post(struct bnx2x *bp) in bnx2x_storm_stats_post()
181 static void bnx2x_hw_stats_post(struct bnx2x *bp) in bnx2x_hw_stats_post()
221 static int bnx2x_stats_comp(struct bnx2x *bp) in bnx2x_stats_comp()
242 static void bnx2x_stats_pmf_update(struct bnx2x *bp) in bnx2x_stats_pmf_update()
288 static void bnx2x_port_stats_init(struct bnx2x *bp) in bnx2x_port_stats_init()
495 static void bnx2x_func_stats_init(struct bnx2x *bp) in bnx2x_func_stats_init()
523 static void bnx2x_stats_start(struct bnx2x *bp) in bnx2x_stats_start()
535 static void bnx2x_stats_pmf_start(struct bnx2x *bp) in bnx2x_stats_pmf_start()
542 static void bnx2x_stats_restart(struct bnx2x *bp) in bnx2x_stats_restart()
548 static void bnx2x_bmac_stats_update(struct bnx2x *bp) in bnx2x_bmac_stats_update()
[all …]
Dbnx2x.h114 void bnx2x_panic_dump(struct bnx2x *bp);
430 struct bnx2x *bp; /* parent */
896 struct bnx2x { struct
1446 void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32);
1447 void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr,
1449 void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx);
1452 u32 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type,
1455 int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port);
1456 int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port);
1457 int bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port);
[all …]
Dbnx2x_init.h304 static inline void bnx2x_set_mcp_parity(struct bnx2x *bp, u8 enable) in bnx2x_set_mcp_parity()
321 static inline u32 bnx2x_parity_reg_mask(struct bnx2x *bp, int idx) in bnx2x_parity_reg_mask()
331 static inline void bnx2x_disable_blocks_parity(struct bnx2x *bp) in bnx2x_disable_blocks_parity()
354 static inline void bnx2x_clear_blocks_parity(struct bnx2x *bp) in bnx2x_clear_blocks_parity()
398 static inline void bnx2x_enable_blocks_parity(struct bnx2x *bp) in bnx2x_enable_blocks_parity()
Dbnx2x_stats.h231 struct bnx2x;
233 void bnx2x_stats_init(struct bnx2x *bp);
/linux-2.6.39/firmware/
DMakefile35 fw-shipped-$(CONFIG_BNX2X) += bnx2x/bnx2x-e1-6.2.5.0.fw \
36 bnx2x/bnx2x-e1h-6.2.5.0.fw \
37 bnx2x/bnx2x-e2-6.2.5.0.fw
DWHENCE680 Driver: bnx2x: Broadcom Everest
682 File: bnx2x/bnx2x-e1-5.2.13.0.fw
683 File: bnx2x/bnx2x-e1h-5.2.13.0.fw
/linux-2.6.39/drivers/net/
DMakefile90 obj-$(CONFIG_BNX2X) += bnx2x/
DKconfig2886 will be called bnx2x. This is recommended.
/linux-2.6.39/
DMAINTAINERS1525 F: drivers/net/bnx2x/