Lines Matching refs:bnxt
1202 struct bnxt *bp;
1209 void (*tx_int)(struct bnxt *, struct bnxt_napi *,
1784 struct bnxt *bp;
1834 struct bnxt *bp;
2097 struct bnxt { struct
2288 struct sk_buff * (*rx_skb_func)(struct bnxt *, argument
2714 static inline u32 bnxt_tx_avail(struct bnxt *bp, in bnxt_tx_avail()
2722 static inline void bnxt_writeq(struct bnxt *bp, u64 val, in bnxt_writeq()
2734 static inline void bnxt_writeq_relaxed(struct bnxt *bp, u64 val, in bnxt_writeq_relaxed()
2747 static inline void bnxt_db_write_relaxed(struct bnxt *bp, in bnxt_db_write_relaxed()
2763 static inline void bnxt_db_write(struct bnxt *bp, struct bnxt_db_info *db, in bnxt_db_write()
2779 static inline bool bnxt_sriov_cfg(struct bnxt *bp) in bnxt_sriov_cfg()
2790 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr,
2793 u32 bnxt_fw_health_readl(struct bnxt *bp, int reg_idx);
2794 void bnxt_set_tpa_flags(struct bnxt *bp);
2795 void bnxt_set_ring_params(struct bnxt *);
2796 int bnxt_set_rx_skb_mode(struct bnxt *bp, bool page_mode);
2797 void bnxt_insert_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr);
2798 void bnxt_del_one_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr);
2799 int bnxt_hwrm_func_drv_rgtr(struct bnxt *bp, unsigned long *bmap,
2801 int bnxt_hwrm_func_drv_unrgtr(struct bnxt *bp);
2802 void bnxt_del_l2_filter(struct bnxt *bp, struct bnxt_l2_filter *fltr);
2803 struct bnxt_l2_filter *bnxt_alloc_new_l2_filter(struct bnxt *bp,
2806 int bnxt_hwrm_l2_filter_free(struct bnxt *bp, struct bnxt_l2_filter *fltr);
2807 int bnxt_hwrm_l2_filter_alloc(struct bnxt *bp, struct bnxt_l2_filter *fltr);
2808 int bnxt_hwrm_cfa_ntuple_filter_free(struct bnxt *bp,
2810 int bnxt_hwrm_cfa_ntuple_filter_alloc(struct bnxt *bp,
2812 int bnxt_hwrm_vnic_set_tpa(struct bnxt *bp, struct bnxt_vnic_info *vnic,
2815 void bnxt_set_dflt_rss_indir_tbl(struct bnxt *bp,
2817 int bnxt_get_nr_rss_ctxs(struct bnxt *bp, int rx_rings);
2818 int bnxt_hwrm_vnic_cfg(struct bnxt *bp, struct bnxt_vnic_info *vnic);
2819 int bnxt_hwrm_vnic_alloc(struct bnxt *bp, struct bnxt_vnic_info *vnic,
2822 int __bnxt_hwrm_get_tx_rings(struct bnxt *bp, u16 fid, int *tx_rings);
2823 int bnxt_nq_rings_in_use(struct bnxt *bp);
2824 int bnxt_hwrm_set_coal(struct bnxt *);
2825 void bnxt_free_ctx_mem(struct bnxt *bp);
2826 int bnxt_num_tx_to_cp(struct bnxt *bp, int tx);
2827 unsigned int bnxt_get_max_func_stat_ctxs(struct bnxt *bp);
2828 unsigned int bnxt_get_avail_stat_ctxs_for_en(struct bnxt *bp);
2829 unsigned int bnxt_get_max_func_cp_rings(struct bnxt *bp);
2830 unsigned int bnxt_get_avail_cp_rings_for_en(struct bnxt *bp);
2831 int bnxt_reserve_rings(struct bnxt *bp, bool irq_re_init);
2832 void bnxt_tx_disable(struct bnxt *bp);
2833 void bnxt_tx_enable(struct bnxt *bp);
2834 void bnxt_sched_reset_txr(struct bnxt *bp, struct bnxt_tx_ring_info *txr,
2836 void bnxt_report_link(struct bnxt *bp);
2837 int bnxt_update_link(struct bnxt *bp, bool chng_link_state);
2838 int bnxt_hwrm_set_pause(struct bnxt *);
2839 int bnxt_hwrm_set_link_setting(struct bnxt *, bool, bool);
2840 int bnxt_cancel_reservations(struct bnxt *bp, bool fw_reset);
2841 int bnxt_hwrm_alloc_wol_fltr(struct bnxt *bp);
2842 int bnxt_hwrm_free_wol_fltr(struct bnxt *bp);
2843 int bnxt_hwrm_func_resc_qcaps(struct bnxt *bp, bool all);
2844 int bnxt_hwrm_func_qcaps(struct bnxt *bp);
2845 int bnxt_hwrm_fw_set_time(struct bnxt *);
2846 int bnxt_hwrm_vnic_update(struct bnxt *bp, struct bnxt_vnic_info *vnic,
2848 int bnxt_hwrm_vnic_rss_cfg_p5(struct bnxt *bp, struct bnxt_vnic_info *vnic);
2849 int __bnxt_setup_vnic_p5(struct bnxt *bp, struct bnxt_vnic_info *vnic);
2850 void bnxt_del_one_rss_ctx(struct bnxt *bp, struct bnxt_rss_ctx *rss_ctx,
2852 int bnxt_open_nic(struct bnxt *, bool, bool);
2853 int bnxt_half_open_nic(struct bnxt *bp);
2854 void bnxt_half_close_nic(struct bnxt *bp);
2855 void bnxt_reenable_sriov(struct bnxt *bp);
2856 void bnxt_close_nic(struct bnxt *, bool, bool);
2857 void bnxt_get_ring_err_stats(struct bnxt *bp,
2859 bool bnxt_rfs_capable(struct bnxt *bp, bool new_rss_ctx);
2860 int bnxt_dbg_hwrm_rd_reg(struct bnxt *bp, u32 reg_off, u16 num_words,
2862 void bnxt_fw_exception(struct bnxt *bp);
2863 void bnxt_fw_reset(struct bnxt *bp);
2864 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs,
2866 int bnxt_fw_init_one(struct bnxt *bp);
2867 bool bnxt_hwrm_reset_permitted(struct bnxt *bp);
2869 struct bnxt_ntuple_filter *bnxt_lookup_ntp_filter_from_idx(struct bnxt *bp,
2871 u32 bnxt_get_ntp_filter_idx(struct bnxt *bp, struct flow_keys *fkeys,
2873 int bnxt_insert_ntp_filter(struct bnxt *bp, struct bnxt_ntuple_filter *fltr,
2875 void bnxt_del_ntp_filter(struct bnxt *bp, struct bnxt_ntuple_filter *fltr);
2876 int bnxt_get_max_rings(struct bnxt *, int *, int *, bool);
2877 int bnxt_restore_pf_fw_resources(struct bnxt *bp);
2881 int bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi);
2882 void bnxt_print_device_info(struct bnxt *bp);