/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.h | 247 void bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, 250 void bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, 404 int bnx2x_iov_init_ilt(struct bnx2x *bp, u16 line); 405 int bnx2x_iov_init_one(struct bnx2x *bp, int int_mode_param, int num_vfs_param); 406 void bnx2x_iov_remove_one(struct bnx2x *bp); 407 void bnx2x_iov_free_mem(struct bnx2x *bp); 408 int bnx2x_iov_alloc_mem(struct bnx2x *bp); 409 int bnx2x_iov_nic_init(struct bnx2x *bp); 410 int bnx2x_iov_chip_cleanup(struct bnx2x *bp); 411 void bnx2x_iov_init_dq(struct bnx2x *bp); [all …]
|
D | bnx2x_cmn.h | 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); [all …]
|
D | bnx2x_sp.h | 24 struct bnx2x; 93 int (*wait_comp)(struct bnx2x *bp, 170 typedef int (*exe_q_validate)(struct bnx2x *bp, 174 typedef int (*exe_q_remove)(struct bnx2x *bp, 181 typedef int (*exe_q_optimize)(struct bnx2x *bp, 184 typedef int (*exe_q_execute)(struct bnx2x *bp, 328 int (*get_n_elements)(struct bnx2x *bp, 338 int (*check_add)(struct bnx2x *bp, 348 (*check_del)(struct bnx2x *bp, 357 bool (*check_move)(struct bnx2x *bp, [all …]
|
D | bnx2x_init_ops.h | 45 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len); 46 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val); 47 static void bnx2x_write_dmae_phys_len(struct bnx2x *bp, 51 static void bnx2x_init_str_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_str_wr() 60 static void bnx2x_init_ind_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_ind_wr() 69 static void bnx2x_write_big_buf(struct bnx2x *bp, u32 addr, u32 len, in bnx2x_write_big_buf() 84 static void bnx2x_init_fill(struct bnx2x *bp, u32 addr, int fill, in bnx2x_init_fill() 100 static void bnx2x_write_big_buf_wb(struct bnx2x *bp, u32 addr, u32 len) in bnx2x_write_big_buf_wb() 114 static void bnx2x_init_wr_64(struct bnx2x *bp, u32 addr, in bnx2x_init_wr_64() 153 static const u8 *bnx2x_sel_blob(struct bnx2x *bp, u32 addr, in bnx2x_sel_blob() [all …]
|
D | bnx2x_sriov.c | 29 static int bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, 35 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() 48 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en() 61 int bnx2x_vf_idx_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_idx_by_abs_fid() 72 struct bnx2x_virtf *bnx2x_vf_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_by_abs_fid() 78 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.c | 35 static void bnx2x_pfc_set_pfc(struct bnx2x *bp); 36 static void bnx2x_dcbx_update_ets_params(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() 63 static void bnx2x_write_data(struct bnx2x *bp, u32 *buff, in bnx2x_write_data() 71 static void bnx2x_pfc_set(struct bnx2x *bp) in bnx2x_pfc_set() [all …]
|
D | bnx2x_sp.c | 50 static inline void bnx2x_exe_queue_init(struct bnx2x *bp, in bnx2x_exe_queue_init() 81 static inline void bnx2x_exe_queue_free_elem(struct bnx2x *bp, in bnx2x_exe_queue_free_elem() 113 static inline int bnx2x_exe_queue_add(struct bnx2x *bp, in bnx2x_exe_queue_add() 152 struct bnx2x *bp, in __bnx2x_exe_queue_reset_pending() 175 static inline int bnx2x_exe_queue_step(struct bnx2x *bp, in bnx2x_exe_queue_step() 251 struct bnx2x *bp) in bnx2x_exe_queue_alloc_elem() 285 static inline int bnx2x_state_wait(struct bnx2x *bp, int state, in bnx2x_state_wait() 320 static int bnx2x_raw_wait(struct bnx2x *bp, struct bnx2x_raw_obj *raw) in bnx2x_raw_wait() 432 static int __bnx2x_vlan_mac_h_write_trylock(struct bnx2x *bp, in __bnx2x_vlan_mac_h_write_trylock() 453 static void __bnx2x_vlan_mac_h_exec_pending(struct bnx2x *bp, in __bnx2x_vlan_mac_h_exec_pending() [all …]
|
D | bnx2x_ethtool.c | 192 static int bnx2x_get_port_type(struct bnx2x *bp) in bnx2x_get_port_type() 224 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_link_ksettings() 264 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link_ksettings() 371 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_link_ksettings() 692 static int __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) in __bnx2x_get_preset_regs_len() 708 static int __bnx2x_get_regs_len(struct bnx2x *bp) in __bnx2x_get_regs_len() 722 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs_len() 745 static const u32 *__bnx2x_get_page_addr_ar(struct bnx2x *bp) in __bnx2x_get_page_addr_ar() 755 static u32 __bnx2x_get_page_reg_num(struct bnx2x *bp) in __bnx2x_get_page_reg_num() 765 static const u32 *__bnx2x_get_page_write_ar(struct bnx2x *bp) in __bnx2x_get_page_write_ar() [all …]
|
D | bnx2x_main.c | 307 static int bnx2x_set_storm_rx_mode(struct bnx2x *bp); 313 static int bnx2x_hwtstamp_ioctl(struct bnx2x *bp, struct ifreq *ifr); 315 static void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping() 322 static void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr() 331 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() 344 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en() 357 static void storm_memset_eq_data(struct bnx2x *bp, in storm_memset_eq_data() 368 static void storm_memset_eq_prod(struct bnx2x *bp, u16 eq_prod, in storm_memset_eq_prod() 378 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val) in bnx2x_reg_wr_ind() 386 static u32 bnx2x_reg_rd_ind(struct bnx2x *bp, u32 addr) in bnx2x_reg_rd_ind() [all …]
|
D | bnx2x_dcb.h | 185 struct bnx2x; 187 void bnx2x_dcbx_init_params(struct bnx2x *bp); 188 void bnx2x_dcbx_set_state(struct bnx2x *bp, bool dcb_on, u32 dcbx_enabled); 196 void bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state); 197 void bnx2x_dcbx_pmf_update(struct bnx2x *bp); 201 int bnx2x_dcbnl_update_applist(struct bnx2x *bp, bool delall); 204 int bnx2x_dcbx_stop_hw_tx(struct bnx2x *bp); 205 int bnx2x_dcbx_resume_hw_tx(struct bnx2x *bp);
|
D | bnx2x_cmn.c | 35 static void bnx2x_free_fp_mem_cnic(struct bnx2x *bp); 36 static int bnx2x_alloc_fp_mem_cnic(struct bnx2x *bp); 37 static int bnx2x_alloc_fp_mem(struct bnx2x *bp); 40 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() 62 static int bnx2x_calc_num_queues(struct bnx2x *bp) in bnx2x_calc_num_queues() 87 static inline void bnx2x_move_fp(struct bnx2x *bp, int from, int to) in bnx2x_move_fp() 144 void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len) in bnx2x_fill_fw_str() 170 static void bnx2x_shrink_eth_fp(struct bnx2x *bp, int delta) in bnx2x_shrink_eth_fp() 194 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt() [all …]
|
D | bnx2x_link.c | 220 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_en() 229 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis() 251 struct bnx2x *bp = params->bp; in bnx2x_check_lfa() 368 static void bnx2x_get_epio(struct bnx2x *bp, u32 epio_pin, u32 *en) in bnx2x_get_epio() 385 static void bnx2x_set_epio(struct bnx2x *bp, u32 epio_pin, u32 en) in bnx2x_set_epio() 410 static void bnx2x_set_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 val) in bnx2x_set_cfg_pin() 423 static u32 bnx2x_get_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 *val) in bnx2x_get_cfg_pin() 443 struct bnx2x *bp = params->bp; in bnx2x_ets_e2e3a0_disabled() 534 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_nig() 572 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_nig_disabled() [all …]
|
D | bnx2x_vfpf.c | 26 static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx); 29 static void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list, in bnx2x_add_tlv() 40 static void bnx2x_vfpf_prep(struct bnx2x *bp, struct vfpf_first_tlv *first_tlv, in bnx2x_vfpf_prep() 59 static void bnx2x_vfpf_finalize(struct bnx2x *bp, in bnx2x_vfpf_finalize() 69 static void *bnx2x_search_tlv_list(struct bnx2x *bp, void *tlvs_list, in bnx2x_search_tlv_list() 93 static void bnx2x_dp_tlv_list(struct bnx2x *bp, void *tlvs_list) in bnx2x_dp_tlv_list() 141 static int bnx2x_send_msg2pf(struct bnx2x *bp, u8 *done, dma_addr_t msg_mapping) in bnx2x_send_msg2pf() 194 static int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) in bnx2x_get_vf_id() 223 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count) in bnx2x_vfpf_acquire() 396 int bnx2x_vfpf_release(struct bnx2x *bp) in bnx2x_vfpf_release() [all …]
|
D | bnx2x.h | 145 void bnx2x_panic_dump(struct bnx2x *bp, bool disable_int); 551 struct bnx2x *bp; /* parent */ 1345 struct bnx2x { struct 1985 int bnx2x_idle_chk(struct bnx2x *bp); 2005 int bnx2x_set_mac_one(struct bnx2x *bp, u8 *mac, 2009 int bnx2x_set_vlan_one(struct bnx2x *bp, u16 vlan, 2027 int bnx2x_del_all_macs(struct bnx2x *bp, 2032 void bnx2x_func_init(struct bnx2x *bp, struct bnx2x_func_init_params *p); 2033 void bnx2x_init_sb(struct bnx2x *bp, dma_addr_t mapping, int vfid, 2035 int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port); [all …]
|
D | Makefile | 6 obj-$(CONFIG_BNX2X) += bnx2x.o 8 bnx2x-y := bnx2x_main.o bnx2x_link.o bnx2x_cmn.o bnx2x_ethtool.o bnx2x_stats.o bnx2x_dcb.o bnx2x_sp… 9 bnx2x-$(CONFIG_BNX2X_SRIOV) += bnx2x_vfpf.o bnx2x_sriov.o
|
D | bnx2x_stats.c | 46 static inline u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp) in bnx2x_get_port_stats_dma_len() 86 static void bnx2x_dp_stats(struct bnx2x *bp) in bnx2x_dp_stats() 128 static void bnx2x_storm_stats_post(struct bnx2x *bp) in bnx2x_storm_stats_post() 154 static void bnx2x_hw_stats_post(struct bnx2x *bp) in bnx2x_hw_stats_post() 199 static void bnx2x_stats_comp(struct bnx2x *bp) in bnx2x_stats_comp() 220 static void bnx2x_stats_pmf_update(struct bnx2x *bp) in bnx2x_stats_pmf_update() 267 static void bnx2x_port_stats_init(struct bnx2x *bp) in bnx2x_port_stats_init() 489 static void bnx2x_func_stats_init(struct bnx2x *bp) in bnx2x_func_stats_init() 518 static void bnx2x_stats_start(struct bnx2x *bp) in bnx2x_stats_start() 532 static void bnx2x_stats_pmf_start(struct bnx2x *bp) in bnx2x_stats_pmf_start() [all …]
|
D | bnx2x_link.h | 322 struct bnx2x *bp; 428 int bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[], 432 void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port); 435 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy); 451 u8 bnx2x_fan_failure_det_req(struct bnx2x *bp, u32 shmem_base, 541 void bnx2x_init_mod_abs_int(struct bnx2x *bp, struct link_vars *vars,
|
D | bnx2x_init.h | 207 static inline void bnx2x_map_q_cos(struct bnx2x *bp, u32 q_num, u32 new_cos) in bnx2x_map_q_cos() 262 static inline void bnx2x_dcb_config_qm(struct bnx2x *bp, enum cos_mode mode, in bnx2x_dcb_config_qm() 675 static inline void bnx2x_set_mcp_parity(struct bnx2x *bp, u8 enable) in bnx2x_set_mcp_parity() 692 static inline u32 bnx2x_parity_reg_mask(struct bnx2x *bp, int idx) in bnx2x_parity_reg_mask() 704 static inline void bnx2x_disable_blocks_parity(struct bnx2x *bp) in bnx2x_disable_blocks_parity() 725 static inline void bnx2x_clear_blocks_parity(struct bnx2x *bp) in bnx2x_clear_blocks_parity() 769 static inline void bnx2x_enable_blocks_parity(struct bnx2x *bp) in bnx2x_enable_blocks_parity()
|
D | bnx2x_stats.h | 542 struct bnx2x; 544 void bnx2x_memset_stats(struct bnx2x *bp); 545 void bnx2x_stats_init(struct bnx2x *bp); 546 void bnx2x_stats_handle(struct bnx2x *bp, enum bnx2x_stats_event event); 547 int bnx2x_stats_safe_exec(struct bnx2x *bp, 556 void bnx2x_save_statistics(struct bnx2x *bp); 558 void bnx2x_afex_collect_stats(struct bnx2x *bp, void *void_afex_stats,
|
D | bnx2x_self_test.c | 2928 static void bnx2x_self_test_log(struct bnx2x *bp, u8 severity, char *message) in bnx2x_self_test_log() 2946 static void bnx2x_idle_chk6(struct bnx2x *bp, in bnx2x_idle_chk6() 2987 static void bnx2x_idle_chk7(struct bnx2x *bp, in bnx2x_idle_chk7() 3038 int bnx2x_idle_chk(struct bnx2x *bp) in bnx2x_idle_chk()
|
/drivers/net/ethernet/broadcom/ |
D | Makefile | 11 obj-$(CONFIG_BNX2X) += bnx2x/
|
D | cnic.c | 1193 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_alloc_bnx2x_context() 1241 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_alloc_bnx2x_resc() 1393 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_submit_kwqe_16() 1442 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_set_tcp_options() 1463 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_iscsi_init1() 1549 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_iscsi_init2() 1689 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_setup_bnx2x_ctx() 1878 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_iscsi_ofld1() 1967 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_destroy_ramrod() 2084 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_init_bnx2x_mac() [all …]
|
D | Kconfig | 143 will be called bnx2x. This is recommended.
|