/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.h | 234 void bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, 237 void bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, 387 int bnx2x_iov_init_ilt(struct bnx2x *bp, u16 line); 388 int bnx2x_iov_init_one(struct bnx2x *bp, int int_mode_param, int num_vfs_param); 389 void bnx2x_iov_remove_one(struct bnx2x *bp); 390 void bnx2x_iov_free_mem(struct bnx2x *bp); 391 int bnx2x_iov_alloc_mem(struct bnx2x *bp); 392 int bnx2x_iov_nic_init(struct bnx2x *bp); 393 int bnx2x_iov_chip_cleanup(struct bnx2x *bp); 394 void bnx2x_iov_init_dq(struct bnx2x *bp); [all …]
|
D | bnx2x_cmn.h | 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); [all …]
|
D | bnx2x_sp.h | 22 struct bnx2x; 91 int (*wait_comp)(struct bnx2x *bp, 168 typedef int (*exe_q_validate)(struct bnx2x *bp, 172 typedef int (*exe_q_remove)(struct bnx2x *bp, 179 typedef int (*exe_q_optimize)(struct bnx2x *bp, 182 typedef int (*exe_q_execute)(struct bnx2x *bp, 324 int (*get_n_elements)(struct bnx2x *bp, 334 int (*check_add)(struct bnx2x *bp, 344 (*check_del)(struct bnx2x *bp, 353 bool (*check_move)(struct bnx2x *bp, [all …]
|
D | bnx2x_init_ops.h | 43 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 …]
|
D | bnx2x_dcb.c | 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_get_ets_pri_pg_tbl(struct bnx2x *bp, 38 static void bnx2x_dcbx_get_num_pg_traf_type(struct bnx2x *bp, 41 static void bnx2x_dcbx_fill_cos_params(struct bnx2x *bp, 45 static void bnx2x_dcbx_separate_pauseable_from_non(struct bnx2x *bp, 49 static void bnx2x_dcbx_fw_struct(struct bnx2x *bp, 53 static void bnx2x_read_data(struct bnx2x *bp, u32 *buff, in bnx2x_read_data() 61 static void bnx2x_write_data(struct bnx2x *bp, u32 *buff, in bnx2x_write_data() 69 static void bnx2x_pfc_set(struct bnx2x *bp) in bnx2x_pfc_set() [all …]
|
D | bnx2x_sriov.c | 27 static int bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, 33 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() 46 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en() 59 int bnx2x_vf_idx_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_idx_by_abs_fid() 70 struct bnx2x_virtf *bnx2x_vf_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_by_abs_fid() 76 static void bnx2x_vf_igu_ack_sb(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_igu_ack_sb() 111 static bool bnx2x_validate_vf_sp_objs(struct bnx2x *bp, in bnx2x_validate_vf_sp_objs() 126 void bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_tx() 142 void bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_rx() 166 void bnx2x_vfop_qctor_prep(struct bnx2x *bp, in bnx2x_vfop_qctor_prep() [all …]
|
D | bnx2x_dcb.h | 183 struct bnx2x; 185 void bnx2x_dcbx_init_params(struct bnx2x *bp); 186 void bnx2x_dcbx_set_state(struct bnx2x *bp, bool dcb_on, u32 dcbx_enabled); 194 void bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state); 195 void bnx2x_dcbx_pmf_update(struct bnx2x *bp); 199 int bnx2x_dcbnl_update_applist(struct bnx2x *bp, bool delall); 202 int bnx2x_dcbx_stop_hw_tx(struct bnx2x *bp); 203 int bnx2x_dcbx_resume_hw_tx(struct bnx2x *bp);
|
D | bnx2x_sp.c | 46 static inline void bnx2x_exe_queue_init(struct bnx2x *bp, in bnx2x_exe_queue_init() 77 static inline void bnx2x_exe_queue_free_elem(struct bnx2x *bp, in bnx2x_exe_queue_free_elem() 109 static inline int bnx2x_exe_queue_add(struct bnx2x *bp, in bnx2x_exe_queue_add() 148 struct bnx2x *bp, in __bnx2x_exe_queue_reset_pending() 171 static inline int bnx2x_exe_queue_step(struct bnx2x *bp, in bnx2x_exe_queue_step() 247 struct bnx2x *bp) in bnx2x_exe_queue_alloc_elem() 281 static inline int bnx2x_state_wait(struct bnx2x *bp, int state, in bnx2x_state_wait() 316 static int bnx2x_raw_wait(struct bnx2x *bp, struct bnx2x_raw_obj *raw) in bnx2x_raw_wait() 395 static int __bnx2x_vlan_mac_h_write_trylock(struct bnx2x *bp, in __bnx2x_vlan_mac_h_write_trylock() 416 static void __bnx2x_vlan_mac_h_exec_pending(struct bnx2x *bp, in __bnx2x_vlan_mac_h_exec_pending() [all …]
|
D | bnx2x_ethtool.c | 190 static int bnx2x_get_port_type(struct bnx2x *bp) in bnx2x_get_port_type() 222 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_settings() 258 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_settings() 342 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_settings() 645 static int __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) in __bnx2x_get_preset_regs_len() 661 static int __bnx2x_get_regs_len(struct bnx2x *bp) in __bnx2x_get_regs_len() 675 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs_len() 698 static const u32 *__bnx2x_get_page_addr_ar(struct bnx2x *bp) in __bnx2x_get_page_addr_ar() 708 static u32 __bnx2x_get_page_reg_num(struct bnx2x *bp) in __bnx2x_get_page_reg_num() 718 static const u32 *__bnx2x_get_page_write_ar(struct bnx2x *bp) in __bnx2x_get_page_write_ar() [all …]
|
D | bnx2x_cmn.c | 34 static void bnx2x_free_fp_mem_cnic(struct bnx2x *bp); 35 static int bnx2x_alloc_fp_mem_cnic(struct bnx2x *bp); 36 static int bnx2x_alloc_fp_mem(struct bnx2x *bp); 39 static void bnx2x_add_all_napi_cnic(struct bnx2x *bp) in bnx2x_add_all_napi_cnic() 51 static void bnx2x_add_all_napi(struct bnx2x *bp) in bnx2x_add_all_napi() 63 static int bnx2x_calc_num_queues(struct bnx2x *bp) in bnx2x_calc_num_queues() 88 static inline void bnx2x_move_fp(struct bnx2x *bp, int from, int to) in bnx2x_move_fp() 145 void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len) in bnx2x_fill_fw_str() 171 static void bnx2x_shrink_eth_fp(struct bnx2x *bp, int delta) in bnx2x_shrink_eth_fp() 195 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt() [all …]
|
D | bnx2x_main.c | 288 static int bnx2x_set_storm_rx_mode(struct bnx2x *bp); 294 static int bnx2x_hwtstamp_ioctl(struct bnx2x *bp, struct ifreq *ifr); 296 static void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping() 303 static void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr() 312 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() 325 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en() 338 static void storm_memset_eq_data(struct bnx2x *bp, in storm_memset_eq_data() 349 static void storm_memset_eq_prod(struct bnx2x *bp, u16 eq_prod, in storm_memset_eq_prod() 359 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val) in bnx2x_reg_wr_ind() 367 static u32 bnx2x_reg_rd_ind(struct bnx2x *bp, u32 addr) in bnx2x_reg_rd_ind() [all …]
|
D | Makefile | 5 obj-$(CONFIG_BNX2X) += bnx2x.o 7 bnx2x-y := bnx2x_main.o bnx2x_link.o bnx2x_cmn.o bnx2x_ethtool.o bnx2x_stats.o bnx2x_dcb.o bnx2x_sp… 8 bnx2x-$(CONFIG_BNX2X_SRIOV) += bnx2x_vfpf.o bnx2x_sriov.o
|
D | bnx2x_vfpf.c | 24 static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx); 27 static void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list, in bnx2x_add_tlv() 38 static void bnx2x_vfpf_prep(struct bnx2x *bp, struct vfpf_first_tlv *first_tlv, in bnx2x_vfpf_prep() 57 static void bnx2x_vfpf_finalize(struct bnx2x *bp, in bnx2x_vfpf_finalize() 67 static void *bnx2x_search_tlv_list(struct bnx2x *bp, void *tlvs_list, in bnx2x_search_tlv_list() 91 static void bnx2x_dp_tlv_list(struct bnx2x *bp, void *tlvs_list) in bnx2x_dp_tlv_list() 139 static int bnx2x_send_msg2pf(struct bnx2x *bp, u8 *done, dma_addr_t msg_mapping) in bnx2x_send_msg2pf() 192 static int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) in bnx2x_get_vf_id() 221 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count) in bnx2x_vfpf_acquire() 389 int bnx2x_vfpf_release(struct bnx2x *bp) in bnx2x_vfpf_release() [all …]
|
D | bnx2x_link.c | 224 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_en() 233 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis() 255 struct bnx2x *bp = params->bp; in bnx2x_check_lfa() 372 static void bnx2x_get_epio(struct bnx2x *bp, u32 epio_pin, u32 *en) in bnx2x_get_epio() 389 static void bnx2x_set_epio(struct bnx2x *bp, u32 epio_pin, u32 en) in bnx2x_set_epio() 414 static void bnx2x_set_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 val) in bnx2x_set_cfg_pin() 427 static u32 bnx2x_get_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 *val) in bnx2x_get_cfg_pin() 447 struct bnx2x *bp = params->bp; in bnx2x_ets_e2e3a0_disabled() 538 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_nig() 576 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_nig_disabled() [all …]
|
D | bnx2x.h | 137 void bnx2x_panic_dump(struct bnx2x *bp, bool disable_int); 530 struct bnx2x *bp; /* parent */ 1418 struct bnx2x { struct 2068 int bnx2x_set_mac_one(struct bnx2x *bp, u8 *mac, 2085 int bnx2x_del_all_macs(struct bnx2x *bp, 2090 void bnx2x_func_init(struct bnx2x *bp, struct bnx2x_func_init_params *p); 2091 void bnx2x_init_sb(struct bnx2x *bp, dma_addr_t mapping, int vfid, 2093 int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port); 2094 int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); 2095 int bnx2x_set_mult_gpio(struct bnx2x *bp, u8 pins, u32 mode); [all …]
|
D | bnx2x_stats.c | 42 static inline u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp) in bnx2x_get_port_stats_dma_len() 82 static void bnx2x_dp_stats(struct bnx2x *bp) in bnx2x_dp_stats() 124 static void bnx2x_storm_stats_post(struct bnx2x *bp) in bnx2x_storm_stats_post() 150 static void bnx2x_hw_stats_post(struct bnx2x *bp) in bnx2x_hw_stats_post() 195 static void bnx2x_stats_comp(struct bnx2x *bp) in bnx2x_stats_comp() 216 static void bnx2x_stats_pmf_update(struct bnx2x *bp) in bnx2x_stats_pmf_update() 263 static void bnx2x_port_stats_init(struct bnx2x *bp) in bnx2x_port_stats_init() 485 static void bnx2x_func_stats_init(struct bnx2x *bp) in bnx2x_func_stats_init() 514 static void bnx2x_stats_start(struct bnx2x *bp) in bnx2x_stats_start() 528 static void bnx2x_stats_pmf_start(struct bnx2x *bp) in bnx2x_stats_pmf_start() [all …]
|
D | bnx2x_link.h | 319 struct bnx2x *bp; 425 int bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[], 429 void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port); 432 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy); 448 u8 bnx2x_fan_failure_det_req(struct bnx2x *bp, u32 shmem_base, 538 void bnx2x_init_mod_abs_int(struct bnx2x *bp, struct link_vars *vars,
|
D | bnx2x_init.h | 205 static inline void bnx2x_map_q_cos(struct bnx2x *bp, u32 q_num, u32 new_cos) in bnx2x_map_q_cos() 260 static inline void bnx2x_dcb_config_qm(struct bnx2x *bp, enum cos_mode mode, in bnx2x_dcb_config_qm() 674 static inline void bnx2x_set_mcp_parity(struct bnx2x *bp, u8 enable) in bnx2x_set_mcp_parity() 691 static inline u32 bnx2x_parity_reg_mask(struct bnx2x *bp, int idx) in bnx2x_parity_reg_mask() 703 static inline void bnx2x_disable_blocks_parity(struct bnx2x *bp) in bnx2x_disable_blocks_parity() 724 static inline void bnx2x_clear_blocks_parity(struct bnx2x *bp) in bnx2x_clear_blocks_parity() 768 static inline void bnx2x_enable_blocks_parity(struct bnx2x *bp) in bnx2x_enable_blocks_parity()
|
D | bnx2x_stats.h | 537 struct bnx2x; 539 void bnx2x_memset_stats(struct bnx2x *bp); 540 void bnx2x_stats_init(struct bnx2x *bp); 541 void bnx2x_stats_handle(struct bnx2x *bp, enum bnx2x_stats_event event); 542 int bnx2x_stats_safe_exec(struct bnx2x *bp, 551 void bnx2x_save_statistics(struct bnx2x *bp); 553 void bnx2x_afex_collect_stats(struct bnx2x *bp, void *void_afex_stats,
|
/linux-4.1.27/firmware/ |
D | Makefile | 34 fw-shipped-$(CONFIG_BNX2X) += bnx2x/bnx2x-e1-6.2.9.0.fw \ 35 bnx2x/bnx2x-e1h-6.2.9.0.fw \ 36 bnx2x/bnx2x-e2-6.2.9.0.fw
|
D | WHENCE | 632 Driver: bnx2x: Broadcom Everest 634 File: bnx2x/bnx2x-e1-6.2.9.0.fw 635 File: bnx2x/bnx2x-e1h-6.2.9.0.fw 636 File: bnx2x/bnx2x-e2-6.2.9.0.fw
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | Makefile | 10 obj-$(CONFIG_BNX2X) += bnx2x/
|
D | cnic.c | 1182 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_alloc_bnx2x_context() 1230 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_alloc_bnx2x_resc() 1382 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_submit_kwqe_16() 1431 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_set_tcp_options() 1452 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_iscsi_init1() 1538 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_iscsi_init2() 1678 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_setup_bnx2x_ctx() 1867 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_iscsi_ofld1() 1957 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_destroy_ramrod() 2074 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_init_bnx2x_mac() [all …]
|
D | Kconfig | 132 will be called bnx2x. This is recommended.
|
/linux-4.1.27/Documentation/scsi/ |
D | bnx2fc.txt | 48 Driver: bnx2x 1.70.00-0
|
/linux-4.1.27/Documentation/networking/ |
D | scaling.txt | 52 configure. In the bnx2x driver, for instance, this parameter is called
|
/linux-4.1.27/ |
D | MAINTAINERS | 2131 F: drivers/net/ethernet/broadcom/bnx2x/
|