Lines Matching refs:bnxt
1216 struct bnxt *bp;
1223 void (*tx_int)(struct bnxt *, struct bnxt_napi *,
1245 struct bnxt *bp;
1803 struct bnxt *bp;
1853 struct bnxt *bp;
2155 struct bnxt { struct
2352 struct sk_buff * (*rx_skb_func)(struct bnxt *, argument
2801 static inline u32 bnxt_tx_avail(struct bnxt *bp, in bnxt_tx_avail()
2809 static inline void bnxt_writeq(struct bnxt *bp, u64 val, in bnxt_writeq()
2821 static inline void bnxt_writeq_relaxed(struct bnxt *bp, u64 val, in bnxt_writeq_relaxed()
2834 static inline void bnxt_db_write_relaxed(struct bnxt *bp, in bnxt_db_write_relaxed()
2850 static inline void bnxt_db_write(struct bnxt *bp, struct bnxt_db_info *db, in bnxt_db_write()
2866 static inline bool bnxt_sriov_cfg(struct bnxt *bp) in bnxt_sriov_cfg()
2878 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr,
2881 u32 bnxt_fw_health_readl(struct bnxt *bp, int reg_idx);
2882 bool bnxt_bs_trace_avail(struct bnxt *bp, u16 type);
2883 void bnxt_set_tpa_flags(struct bnxt *bp);
2884 void bnxt_set_ring_params(struct bnxt *);
2885 void bnxt_set_rx_skb_mode(struct bnxt *bp, bool page_mode);
2886 void bnxt_insert_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr);
2887 void bnxt_del_one_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr);
2888 int bnxt_hwrm_func_drv_rgtr(struct bnxt *bp, unsigned long *bmap,
2890 int bnxt_hwrm_func_drv_unrgtr(struct bnxt *bp);
2891 void bnxt_del_l2_filter(struct bnxt *bp, struct bnxt_l2_filter *fltr);
2892 struct bnxt_l2_filter *bnxt_alloc_new_l2_filter(struct bnxt *bp,
2895 int bnxt_hwrm_l2_filter_free(struct bnxt *bp, struct bnxt_l2_filter *fltr);
2896 int bnxt_hwrm_l2_filter_alloc(struct bnxt *bp, struct bnxt_l2_filter *fltr);
2897 int bnxt_hwrm_cfa_ntuple_filter_free(struct bnxt *bp,
2899 int bnxt_hwrm_cfa_ntuple_filter_alloc(struct bnxt *bp,
2901 int bnxt_hwrm_vnic_set_tpa(struct bnxt *bp, struct bnxt_vnic_info *vnic,
2904 void bnxt_set_dflt_rss_indir_tbl(struct bnxt *bp,
2906 int bnxt_get_nr_rss_ctxs(struct bnxt *bp, int rx_rings);
2907 int bnxt_hwrm_vnic_cfg(struct bnxt *bp, struct bnxt_vnic_info *vnic);
2908 int bnxt_hwrm_vnic_alloc(struct bnxt *bp, struct bnxt_vnic_info *vnic,
2911 int __bnxt_hwrm_get_tx_rings(struct bnxt *bp, u16 fid, int *tx_rings);
2912 int bnxt_nq_rings_in_use(struct bnxt *bp);
2913 int bnxt_hwrm_set_coal(struct bnxt *);
2914 size_t bnxt_copy_ctx_mem(struct bnxt *bp, struct bnxt_ctx_mem_type *ctxm,
2916 void bnxt_free_ctx_mem(struct bnxt *bp, bool force);
2917 int bnxt_num_tx_to_cp(struct bnxt *bp, int tx);
2918 unsigned int bnxt_get_max_func_stat_ctxs(struct bnxt *bp);
2919 unsigned int bnxt_get_avail_stat_ctxs_for_en(struct bnxt *bp);
2920 unsigned int bnxt_get_max_func_cp_rings(struct bnxt *bp);
2921 unsigned int bnxt_get_avail_cp_rings_for_en(struct bnxt *bp);
2922 int bnxt_reserve_rings(struct bnxt *bp, bool irq_re_init);
2923 void bnxt_tx_disable(struct bnxt *bp);
2924 void bnxt_tx_enable(struct bnxt *bp);
2925 void bnxt_sched_reset_txr(struct bnxt *bp, struct bnxt_tx_ring_info *txr,
2927 void bnxt_report_link(struct bnxt *bp);
2928 int bnxt_update_link(struct bnxt *bp, bool chng_link_state);
2929 int bnxt_hwrm_set_pause(struct bnxt *);
2930 int bnxt_hwrm_set_link_setting(struct bnxt *, bool, bool);
2931 int bnxt_cancel_reservations(struct bnxt *bp, bool fw_reset);
2932 int bnxt_hwrm_alloc_wol_fltr(struct bnxt *bp);
2933 int bnxt_hwrm_free_wol_fltr(struct bnxt *bp);
2934 int bnxt_hwrm_func_resc_qcaps(struct bnxt *bp, bool all);
2935 int bnxt_hwrm_func_qcaps(struct bnxt *bp);
2936 int bnxt_hwrm_fw_set_time(struct bnxt *);
2937 int bnxt_hwrm_vnic_update(struct bnxt *bp, struct bnxt_vnic_info *vnic,
2939 int bnxt_hwrm_vnic_rss_cfg_p5(struct bnxt *bp, struct bnxt_vnic_info *vnic);
2940 int __bnxt_setup_vnic_p5(struct bnxt *bp, struct bnxt_vnic_info *vnic);
2941 void bnxt_del_one_rss_ctx(struct bnxt *bp, struct bnxt_rss_ctx *rss_ctx,
2943 int bnxt_open_nic(struct bnxt *, bool, bool);
2944 int bnxt_half_open_nic(struct bnxt *bp);
2945 void bnxt_half_close_nic(struct bnxt *bp);
2946 void bnxt_reenable_sriov(struct bnxt *bp);
2947 void bnxt_close_nic(struct bnxt *, bool, bool);
2948 void bnxt_get_ring_err_stats(struct bnxt *bp,
2950 bool bnxt_rfs_capable(struct bnxt *bp, bool new_rss_ctx);
2951 int bnxt_dbg_hwrm_rd_reg(struct bnxt *bp, u32 reg_off, u16 num_words,
2953 void bnxt_fw_exception(struct bnxt *bp);
2954 void bnxt_fw_reset(struct bnxt *bp);
2955 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs,
2957 int bnxt_fw_init_one(struct bnxt *bp);
2958 bool bnxt_hwrm_reset_permitted(struct bnxt *bp);
2960 struct bnxt_ntuple_filter *bnxt_lookup_ntp_filter_from_idx(struct bnxt *bp,
2962 u32 bnxt_get_ntp_filter_idx(struct bnxt *bp, struct flow_keys *fkeys,
2964 int bnxt_insert_ntp_filter(struct bnxt *bp, struct bnxt_ntuple_filter *fltr,
2966 void bnxt_del_ntp_filter(struct bnxt *bp, struct bnxt_ntuple_filter *fltr);
2967 int bnxt_get_max_rings(struct bnxt *, int *, int *, bool);
2968 int bnxt_restore_pf_fw_resources(struct bnxt *bp);
2972 int bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi);
2973 void bnxt_print_device_info(struct bnxt *bp);