| /drivers/net/ethernet/broadcom/bnx2x/ |
| A D | bnx2x_sriov.h | 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); 411 void bnx2x_iov_init_dq(struct bnx2x *bp); 412 void bnx2x_iov_init_dmae(struct bnx2x *bp); 419 void bnx2x_vf_mbx(struct bnx2x *bp); 506 int bnx2x_vfpf_release(struct bnx2x *bp); 507 int bnx2x_vfpf_init(struct bnx2x *bp); 533 void bnx2x_timer_sriov(struct bnx2x *bp); 536 int bnx2x_vf_pci_alloc(struct bnx2x *bp); [all …]
|
| A D | bnx2x_cmn.h | 162 void bnx2x_link_set(struct bnx2x *bp); 190 void bnx2x_drv_pulse(struct bnx2x *bp); 206 void bnx2x_pf_disable(struct bnx2x *bp); 278 void bnx2x_int_enable(struct bnx2x *bp); 339 int bnx2x_alloc_mem(struct bnx2x *bp); 352 void bnx2x_free_mem(struct bnx2x *bp); 547 void bnx2x_free_irq(struct bnx2x *bp); 552 void bnx2x_free_skbs(struct bnx2x *bp); 555 int bnx2x_load_cnic(struct bnx2x *bp); 1049 struct bnx2x *bp = fp->bp; in bnx2x_stats_id() [all …]
|
| A D | bnx2x_sp.h | 24 struct bnx2x; 93 int (*wait_comp)(struct bnx2x *bp, 338 int (*check_add)(struct bnx2x *bp, 348 (*check_del)(struct bnx2x *bp, 416 int (*restore)(struct bnx2x *bp, 502 int (*wait_comp)(struct bnx2x *bp, 640 int (*validate)(struct bnx2x *bp, 647 void (*revert)(struct bnx2x *bp, 1086 int (*send_cmd)(struct bnx2x *bp, 1325 int (*init_fw)(struct bnx2x *bp); [all …]
|
| A D | bnx2x_init_ops.h | 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() 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() 183 static void bnx2x_init_wr_wb(struct bnx2x *bp, u32 addr, in bnx2x_init_wr_wb() 618 static int bnx2x_ilt_line_mem_op(struct bnx2x *bp, in bnx2x_ilt_line_mem_op() 667 static int bnx2x_ilt_mem_op(struct bnx2x *bp, u8 memop) in bnx2x_ilt_mem_op() 691 static void bnx2x_ilt_line_init_op(struct bnx2x *bp, in bnx2x_ilt_line_init_op() 711 static void bnx2x_ilt_boundry_init_op(struct bnx2x *bp, in bnx2x_ilt_boundry_init_op() [all …]
|
| A D | bnx2x_sriov.c | 166 void bnx2x_vfop_qctor_prep(struct bnx2x *bp, in bnx2x_vfop_qctor_prep() 994 void bnx2x_iov_init_dq(struct bnx2x *bp) in bnx2x_iov_init_dq() 1329 void bnx2x_iov_free_mem(struct bnx2x *bp) in bnx2x_iov_free_mem() 1515 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_vf_link_state() 1541 int bnx2x_iov_nic_init(struct bnx2x *bp) in bnx2x_iov_nic_init() 2446 int bnx2x_enable_sriov(struct bnx2x *bp) in bnx2x_enable_sriov() 2608 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_config() 2685 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_vf_mac() 2810 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_vf_vlan() 2952 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_vf_spoofchk() [all …]
|
| A D | bnx2x_dcb.c | 71 static void bnx2x_pfc_set(struct bnx2x *bp) in bnx2x_pfc_set() 1367 struct bnx2x *bp, in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params() 1443 struct bnx2x *bp, in bnx2x_dcbx_join_pgs() 1494 struct bnx2x *bp, in bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params() 1942 struct bnx2x *bp = netdev_priv(netdev); in bnx2x_dcbnl_get_state() 1949 struct bnx2x *bp = netdev_priv(netdev); in bnx2x_dcbnl_set_state() 1966 struct bnx2x *bp = netdev_priv(netdev); in bnx2x_dcbnl_get_perm_hw_addr() 1982 struct bnx2x *bp = netdev_priv(netdev); in bnx2x_dcbnl_set_pg_tccfg_tx() 2008 struct bnx2x *bp = netdev_priv(netdev); in bnx2x_dcbnl_set_pg_bwgcfg_tx() 2022 struct bnx2x *bp = netdev_priv(netdev); in bnx2x_dcbnl_set_pg_tccfg_rx() [all …]
|
| A D | bnx2x_sp.c | 152 struct bnx2x *bp, in __bnx2x_exe_queue_reset_pending() 251 struct bnx2x *bp) in bnx2x_exe_queue_alloc_elem() 698 bnx2x_check_mac_del(struct bnx2x *bp, in bnx2x_check_mac_del() 715 bnx2x_check_vlan_del(struct bnx2x *bp, in bnx2x_check_vlan_del() 731 bnx2x_check_vlan_mac_del(struct bnx2x *bp, in bnx2x_check_vlan_mac_del() 778 struct bnx2x *bp, in bnx2x_check_move_always_err() 1727 struct bnx2x *bp, in bnx2x_vlan_mac_get_registry_elem() 1903 struct bnx2x *bp, in bnx2x_vlan_mac_push_new_cmd() 2137 void bnx2x_init_mac_obj(struct bnx2x *bp, in bnx2x_init_mac_obj() 3978 int bnx2x_config_mcast(struct bnx2x *bp, in bnx2x_config_mcast() [all …]
|
| A D | bnx2x_ethtool.c | 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() 722 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs_len() 967 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs() 1021 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_preset_regs_len() 1033 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_dump() 1046 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_dump_flag() 1062 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_dump_data() 1110 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_drvinfo() [all …]
|
| A D | bnx2x_main.c | 5684 struct bnx2x *bp = container_of(work, struct bnx2x, sp_task.work); in bnx2x_sp_task() 13662 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); in bnx2x_ptp_adjfine() 13731 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); in bnx2x_ptp_adjtime() 13748 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); in bnx2x_ptp_gettime() 13769 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); in bnx2x_ptp_settime() 13792 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); in bnx2x_ptp_enable() 13825 struct bnx2x *bp; in bnx2x_init_one() 14118 struct bnx2x *bp; in bnx2x_remove_one() 14324 struct bnx2x *bp; in bnx2x_shutdown() 15103 struct bnx2x *bp = container_of(work, struct bnx2x, ptp_task); in bnx2x_ptp_task() [all …]
|
| A D | bnx2x_cmn.c | 358 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod() 434 struct bnx2x *bp = fp->bp; in bnx2x_tpa_start() 896 struct bnx2x *bp = fp->bp; in bnx2x_rx_int() 1143 struct bnx2x *bp = fp->bp; in bnx2x_msix_fp_int() 1507 struct bnx2x *bp = fp->bp; in bnx2x_free_tx_skbs_queue() 1548 struct bnx2x *bp = fp->bp; in bnx2x_free_rx_bds() 1659 void bnx2x_free_irq(struct bnx2x *bp) in bnx2x_free_irq() 3241 struct bnx2x *bp = fp->bp; in bnx2x_poll() 4464 struct bnx2x *bp = fp->bp; in bnx2x_alloc_rx_bds() 5012 struct bnx2x *bp; in bnx2x_suspend() [all …]
|
| A 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);
|
| A D | bnx2x_link.c | 251 struct bnx2x *bp = params->bp; in bnx2x_check_lfa() 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() 656 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_pbf() 688 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_pbf_disabled() 747 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_disabled() 770 struct bnx2x *bp = params->bp; in bnx2x_ets_disabled() 3081 struct bnx2x *bp, in bnx2x_bsc_read() 6206 struct bnx2x *bp; in bnx2x_get_ext_phy_fw_version() [all …]
|
| A D | bnx2x_vfpf.c | 29 static void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list, in bnx2x_add_tlv() 59 static void bnx2x_vfpf_finalize(struct bnx2x *bp, in bnx2x_vfpf_finalize() 395 int bnx2x_vfpf_release(struct bnx2x *bp) in bnx2x_vfpf_release() 442 int bnx2x_vfpf_init(struct bnx2x *bp) in bnx2x_vfpf_init() 488 void bnx2x_vfpf_close_vf(struct bnx2x *bp) in bnx2x_vfpf_close_vf() 800 int bnx2x_vfpf_config_rss(struct bnx2x *bp, in bnx2x_vfpf_config_rss() 870 struct bnx2x *bp = netdev_priv(dev); in bnx2x_vfpf_set_mcast() 992 int bnx2x_vfpf_storm_rx_mode(struct bnx2x *bp) in bnx2x_vfpf_storm_rx_mode() 1205 static void bnx2x_vf_mbx_resp(struct bnx2x *bp, in bnx2x_vf_mbx_resp() 2192 void bnx2x_vf_mbx_schedule(struct bnx2x *bp, in bnx2x_vf_mbx_schedule() [all …]
|
| A D | bnx2x.h | 551 struct bnx2x *bp; /* parent */ 1345 struct bnx2x { struct 1986 int bnx2x_idle_chk(struct bnx2x *bp); 2028 int bnx2x_del_all_macs(struct bnx2x *bp, 2040 void bnx2x_read_mf_cfg(struct bnx2x *bp); 2067 void bnx2x_calc_fc_adv(struct bnx2x *bp); 2070 void bnx2x_update_coalesce(struct bnx2x *bp); 2071 int bnx2x_get_cur_phy_idx(struct bnx2x *bp); 2514 void bnx2x_set_local_cmng(struct bnx2x *bp); 2525 void bnx2x_init_ptp(struct bnx2x *bp); [all …]
|
| A 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
|
| A D | bnx2x_stats.c | 84 static void bnx2x_dp_stats(struct bnx2x *bp) in bnx2x_dp_stats() 126 static void bnx2x_storm_stats_post(struct bnx2x *bp) in bnx2x_storm_stats_post() 152 static void bnx2x_hw_stats_post(struct bnx2x *bp) in bnx2x_hw_stats_post() 197 static void bnx2x_stats_comp(struct bnx2x *bp) in bnx2x_stats_comp() 516 static void bnx2x_stats_start(struct bnx2x *bp) in bnx2x_stats_start() 1322 static void bnx2x_stats_stop(struct bnx2x *bp) in bnx2x_stats_stop() 1349 void (*action)(struct bnx2x *bp); 1556 void bnx2x_memset_stats(struct bnx2x *bp) in bnx2x_memset_stats() 1597 void bnx2x_stats_init(struct bnx2x *bp) in bnx2x_stats_init() 1658 void bnx2x_save_statistics(struct bnx2x *bp) in bnx2x_save_statistics() [all …]
|
| A 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,
|
| A 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()
|
| A D | bnx2x_stats.h | 548 struct bnx2x; 550 void bnx2x_memset_stats(struct bnx2x *bp); 551 void bnx2x_stats_init(struct bnx2x *bp); 552 void bnx2x_stats_handle(struct bnx2x *bp, enum bnx2x_stats_event event); 553 int bnx2x_stats_safe_exec(struct bnx2x *bp, 562 void bnx2x_save_statistics(struct bnx2x *bp); 564 void bnx2x_afex_collect_stats(struct bnx2x *bp, void *void_afex_stats,
|
| A 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/ |
| A D | Makefile | 12 obj-$(CONFIG_BNX2X) += bnx2x/
|
| A D | cnic.c | 1199 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_alloc_bnx2x_context() 1247 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_alloc_bnx2x_resc() 1400 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_submit_kwqe_16() 1449 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_set_tcp_options() 1470 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_iscsi_init1() 1556 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_iscsi_init2() 1696 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_setup_bnx2x_ctx() 1885 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_iscsi_ofld1() 1974 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_destroy_ramrod() 2091 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_init_bnx2x_mac() [all …]
|
| A D | Kconfig | 151 will be called bnx2x. This is recommended.
|