• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/bnx2x/

Lines Matching refs:bnx2x

40 #include "bnx2x.h"
54 #define FW_FILE_NAME_E1 "bnx2x-e1-" FW_FILE_VERSION ".fw"
55 #define FW_FILE_NAME_E1H "bnx2x-e1h-" FW_FILE_VERSION ".fw"
140 void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val)
148 static u32 bnx2x_reg_rd_ind(struct bnx2x *bp, u32 addr)
168 void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx)
183 void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr,
257 void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32)
332 void bnx2x_write_dmae_phys_len(struct bnx2x *bp, dma_addr_t phys_addr,
349 static void bnx2x_wb_wr(struct bnx2x *bp, int reg, u32 val_hi, u32 val_lo)
359 static u64 bnx2x_wb_rd(struct bnx2x *bp, int reg)
369 static int bnx2x_mc_assert(struct bnx2x *bp)
490 static void bnx2x_fw_dump(struct bnx2x *bp)
523 void bnx2x_panic_dump(struct bnx2x *bp)
636 void bnx2x_int_enable(struct bnx2x *bp)
696 static void bnx2x_int_disable(struct bnx2x *bp)
718 void bnx2x_int_disable_sync(struct bnx2x *bp, int disable_hw)
755 static bool bnx2x_trylock_hw_lock(struct bnx2x *bp, u32 resource)
790 static void bnx2x_cnic_cfc_comp(struct bnx2x *bp, int cid);
796 struct bnx2x *bp = fp->bp;
879 struct bnx2x *bp = netdev_priv(dev_instance);
958 int bnx2x_acquire_hw_lock(struct bnx2x *bp, u32 resource)
1003 int bnx2x_release_hw_lock(struct bnx2x *bp, u32 resource)
1040 int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port)
1070 int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port)
1123 int bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port)
1169 static int bnx2x_set_spio(struct bnx2x *bp, int spio_num, u32 mode)
1215 void bnx2x_calc_fc_adv(struct bnx2x *bp)
1241 u8 bnx2x_initial_phy_init(struct bnx2x *bp, int load_mode)
1276 void bnx2x_link_set(struct bnx2x *bp)
1288 static void bnx2x__link_reset(struct bnx2x *bp)
1298 u8 bnx2x_link_test(struct bnx2x *bp)
1312 static void bnx2x_init_port_minmax(struct bnx2x *bp)
1356 static void bnx2x_calc_vn_weight_sum(struct bnx2x *bp)
1393 static void bnx2x_init_vn_minmax(struct bnx2x *bp, int func)
1457 static void bnx2x_link_attn(struct bnx2x *bp)
1530 void bnx2x__link_status_update(struct bnx2x *bp)
1548 static void bnx2x_pmf_update(struct bnx2x *bp)
1573 u32 bnx2x_fw_command(struct bnx2x *bp, u32 command)
1611 static void bnx2x_e1h_disable(struct bnx2x *bp)
1622 static void bnx2x_e1h_enable(struct bnx2x *bp)
1637 static void bnx2x_update_min_max(struct bnx2x *bp)
1671 static void bnx2x_dcc_event(struct bnx2x *bp, u32 dcc_event)
1709 static inline struct eth_spe *bnx2x_sp_get_next(struct bnx2x *bp)
1725 static inline void bnx2x_sp_prod_update(struct bnx2x *bp)
1738 int bnx2x_sp_post(struct bnx2x *bp, int command, int cid,
1786 static int bnx2x_acquire_alr(struct bnx2x *bp)
1810 static void bnx2x_release_alr(struct bnx2x *bp)
1815 static inline u16 bnx2x_update_dsb_idx(struct bnx2x *bp)
1848 static void bnx2x_attn_int_asserted(struct bnx2x *bp, u32 asserted)
1944 static inline void bnx2x_fan_failure(struct bnx2x *bp)
1960 static inline void bnx2x_attn_int_deasserted0(struct bnx2x *bp, u32 attn)
2024 static inline void bnx2x_attn_int_deasserted1(struct bnx2x *bp, u32 attn)
2055 static inline void bnx2x_attn_int_deasserted2(struct bnx2x *bp, u32 attn)
2095 static inline void bnx2x_attn_int_deasserted3(struct bnx2x *bp, u32 attn)
2159 static inline void bnx2x_set_reset_done(struct bnx2x *bp)
2171 static inline void bnx2x_set_reset_in_progress(struct bnx2x *bp)
2183 bool bnx2x_reset_is_done(struct bnx2x *bp)
2193 inline void bnx2x_inc_load_cnt(struct bnx2x *bp)
2208 u32 bnx2x_dec_load_cnt(struct bnx2x *bp)
2225 static inline u32 bnx2x_get_load_cnt(struct bnx2x *bp)
2230 static inline void bnx2x_clear_load_cnt(struct bnx2x *bp)
2397 static inline bool bnx2x_parity_attn(struct bnx2x *bp, u32 sig0, u32 sig1,
2426 bool bnx2x_chk_parity_attn(struct bnx2x *bp)
2448 static void bnx2x_attn_int_deasserted(struct bnx2x *bp, u32 deasserted)
2531 static void bnx2x_attn_int(struct bnx2x *bp)
2561 struct bnx2x *bp = container_of(work, struct bnx2x, sp_task.work);
2607 struct bnx2x *bp = netdev_priv(dev);
2642 struct bnx2x *bp = (struct bnx2x *) data;
2697 static void bnx2x_zero_sb(struct bnx2x *bp, int sb_id)
2710 void bnx2x_init_sb(struct bnx2x *bp, struct host_status_block *sb,
2755 static void bnx2x_zero_def_sb(struct bnx2x *bp)
2773 static void bnx2x_init_def_sb(struct bnx2x *bp,
2889 void bnx2x_update_coalesce(struct bnx2x *bp)
2919 static void bnx2x_init_sp_ring(struct bnx2x *bp)
2941 static void bnx2x_init_context(struct bnx2x *bp)
3017 static void bnx2x_init_ind_table(struct bnx2x *bp)
3033 void bnx2x_set_client_config(struct bnx2x *bp)
3066 void bnx2x_set_storm_rx_mode(struct bnx2x *bp)
3129 static void bnx2x_init_internal_common(struct bnx2x *bp)
3140 static void bnx2x_init_internal_port(struct bnx2x *bp)
3152 static void bnx2x_init_internal_func(struct bnx2x *bp)
3365 static void bnx2x_init_internal(struct bnx2x *bp, u32 load_code)
3386 void bnx2x_nic_init(struct bnx2x *bp, u32 load_code)
3447 static int bnx2x_gunzip_init(struct bnx2x *bp)
3480 static void bnx2x_gunzip_end(struct bnx2x *bp)
3494 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len)
3547 static void bnx2x_lb_pckt(struct bnx2x *bp)
3568 static int bnx2x_int_mem_test(struct bnx2x *bp)
3716 static void enable_blocks_attention(struct bnx2x *bp)
3789 static void enable_blocks_parity(struct bnx2x *bp)
3800 static void bnx2x_reset_common(struct bnx2x *bp)
3808 static void bnx2x_init_pxp(struct bnx2x *bp)
3827 static void bnx2x_setup_fan_failure_detection(struct bnx2x *bp)
3884 static int bnx2x_init_common(struct bnx2x *bp)
4158 static int bnx2x_init_port(struct bnx2x *bp)
4363 static void bnx2x_ilt_wr(struct bnx2x *bp, u32 index, dma_addr_t addr)
4375 static int bnx2x_init_func(struct bnx2x *bp)
4472 int bnx2x_init_hw(struct bnx2x *bp, u32 load_code)
4534 void bnx2x_free_mem(struct bnx2x *bp)
4616 int bnx2x_alloc_mem(struct bnx2x *bp)
4737 static void bnx2x_set_mac_addr_e1_gen(struct bnx2x *bp, int set, u8 *mac,
4808 static void bnx2x_set_mac_addr_e1h_gen(struct bnx2x *bp, int set, u8 *mac,
4847 static int bnx2x_wait_ramrod(struct bnx2x *bp, int state, int idx,
4892 void bnx2x_set_eth_mac_addr_e1h(struct bnx2x *bp, int set)
4904 void bnx2x_set_eth_mac_addr_e1(struct bnx2x *bp, int set)
4928 int bnx2x_set_iscsi_eth_mac_addr(struct bnx2x *bp, int set)
4955 int bnx2x_setup_leading(struct bnx2x *bp)
4971 int bnx2x_setup_multi(struct bnx2x *bp, int index)
4989 void bnx2x_set_num_queues_msix(struct bnx2x *bp)
5015 static int bnx2x_stop_multi(struct bnx2x *bp, int index)
5039 static int bnx2x_stop_leading(struct bnx2x *bp)
5089 static void bnx2x_reset_func(struct bnx2x *bp)
5118 static void bnx2x_reset_port(struct bnx2x *bp)
5144 static void bnx2x_reset_chip(struct bnx2x *bp, u32 reset_code)
5171 void bnx2x_chip_cleanup(struct bnx2x *bp, int unload_mode)
5319 void bnx2x_disable_close_the_gate(struct bnx2x *bp)
5343 static void bnx2x_set_234_gates(struct bnx2x *bp, bool close)
5371 static void bnx2x_clp_reset_prep(struct bnx2x *bp, u32 *magic_val)
5384 static void bnx2x_clp_reset_done(struct bnx2x *bp, u32 magic_val)
5400 static void bnx2x_reset_mcp_prep(struct bnx2x *bp, u32 *magic_val)
5428 static inline void bnx2x_mcp_wait_one(struct bnx2x *bp)
5438 static int bnx2x_reset_mcp_comp(struct bnx2x *bp, u32 magic_val)
5490 static void bnx2x_pxp_prep(struct bnx2x *bp)
5510 static void bnx2x_process_kill_chip_reset(struct bnx2x *bp)
5549 static int bnx2x_process_kill(struct bnx2x *bp)
5631 static int bnx2x_leader_reset(struct bnx2x *bp)
5657 static void bnx2x_parity_recover(struct bnx2x *bp)
5762 struct bnx2x *bp = container_of(work, struct bnx2x, reset_task.work);
5793 static inline u32 bnx2x_get_pretend_reg(struct bnx2x *bp, int func)
5810 static void bnx2x_undi_int_disable_e1h(struct bnx2x *bp, int orig_func)
5843 static inline void bnx2x_undi_int_disable(struct bnx2x *bp, int func)
5851 static void __devinit bnx2x_undi_unload(struct bnx2x *bp)
5950 static void __devinit bnx2x_get_common_hwinfo(struct bnx2x *bp)
6049 static void __devinit bnx2x_link_settings_supported(struct bnx2x *bp,
6286 static void __devinit bnx2x_link_settings_requested(struct bnx2x *bp)
6457 static void __devinit bnx2x_get_port_hwinfo(struct bnx2x *bp)
6549 static int __devinit bnx2x_get_hwinfo(struct bnx2x *bp)
6631 static void __devinit bnx2x_read_fwinfo(struct bnx2x *bp)
6695 static int __devinit bnx2x_init_bp(struct bnx2x *bp)
6786 struct bnx2x *bp = netdev_priv(dev);
6832 struct bnx2x *bp = netdev_priv(dev);
6844 struct bnx2x *bp = netdev_priv(dev);
6967 struct bnx2x *bp = netdev_priv(netdev);
6999 struct bnx2x *bp = netdev_priv(netdev);
7025 struct bnx2x *bp = netdev_priv(dev);
7040 struct bnx2x *bp = netdev_priv(dev);
7069 struct bnx2x *bp;
7236 static void __devinit bnx2x_get_pcie_width_speed(struct bnx2x *bp,
7247 static int __devinit bnx2x_check_firmware(struct bnx2x *bp)
7358 static int __devinit bnx2x_init_firmware(struct bnx2x *bp, struct device *dev)
7435 struct bnx2x *bp;
7505 struct bnx2x *bp;
7538 static int bnx2x_eeh_nic_unload(struct bnx2x *bp)
7577 static void bnx2x_eeh_recover(struct bnx2x *bp)
7619 struct bnx2x *bp = netdev_priv(dev);
7650 struct bnx2x *bp = netdev_priv(dev);
7682 struct bnx2x *bp = netdev_priv(dev);
7723 bnx2x_wq = create_singlethread_workqueue("bnx2x");
7750 static void bnx2x_cnic_sp_post(struct bnx2x *bp, int count)
7788 struct bnx2x *bp = netdev_priv(dev);
7828 static int bnx2x_cnic_ctl_send(struct bnx2x *bp, struct cnic_ctl_info *ctl)
7842 static int bnx2x_cnic_ctl_send_bh(struct bnx2x *bp, struct cnic_ctl_info *ctl)
7859 int bnx2x_cnic_notify(struct bnx2x *bp, int cmd)
7868 static void bnx2x_cnic_cfc_comp(struct bnx2x *bp, int cid)
7882 struct bnx2x *bp = netdev_priv(dev);
7927 void bnx2x_setup_cnic_irq_info(struct bnx2x *bp)
7950 struct bnx2x *bp = netdev_priv(dev);
7987 struct bnx2x *bp = netdev_priv(dev);
8007 struct bnx2x *bp = netdev_priv(dev);