Lines Matching refs:bnxt

999 	struct bnxt		*bp;
1006 void (*tx_int)(struct bnxt *, struct bnxt_napi *,
1400 struct bnxt *bp;
1450 struct bnxt *bp;
1682 struct bnxt { struct
1866 struct sk_buff * (*rx_skb_func)(struct bnxt *, argument
2219 static inline u32 bnxt_tx_avail(struct bnxt *bp, struct bnxt_tx_ring_info *txr) in bnxt_tx_avail()
2228 static inline void bnxt_writeq(struct bnxt *bp, u64 val, in bnxt_writeq()
2240 static inline void bnxt_writeq_relaxed(struct bnxt *bp, u64 val, in bnxt_writeq_relaxed()
2253 static inline void bnxt_db_write_relaxed(struct bnxt *bp, in bnxt_db_write_relaxed()
2268 static inline void bnxt_db_write(struct bnxt *bp, struct bnxt_db_info *db, in bnxt_db_write()
2283 static inline bool bnxt_sriov_cfg(struct bnxt *bp) in bnxt_sriov_cfg()
2294 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr,
2297 u32 bnxt_fw_health_readl(struct bnxt *bp, int reg_idx);
2298 void bnxt_set_tpa_flags(struct bnxt *bp);
2299 void bnxt_set_ring_params(struct bnxt *);
2300 int bnxt_set_rx_skb_mode(struct bnxt *bp, bool page_mode);
2301 int bnxt_hwrm_func_drv_rgtr(struct bnxt *bp, unsigned long *bmap,
2303 int bnxt_hwrm_func_drv_unrgtr(struct bnxt *bp);
2304 int bnxt_get_nr_rss_ctxs(struct bnxt *bp, int rx_rings);
2305 int bnxt_hwrm_vnic_cfg(struct bnxt *bp, u16 vnic_id);
2306 int __bnxt_hwrm_get_tx_rings(struct bnxt *bp, u16 fid, int *tx_rings);
2307 int bnxt_nq_rings_in_use(struct bnxt *bp);
2308 int bnxt_hwrm_set_coal(struct bnxt *);
2309 void bnxt_free_ctx_mem(struct bnxt *bp);
2310 unsigned int bnxt_get_max_func_stat_ctxs(struct bnxt *bp);
2311 unsigned int bnxt_get_avail_stat_ctxs_for_en(struct bnxt *bp);
2312 unsigned int bnxt_get_max_func_cp_rings(struct bnxt *bp);
2313 unsigned int bnxt_get_avail_cp_rings_for_en(struct bnxt *bp);
2314 int bnxt_get_avail_msix(struct bnxt *bp, int num);
2315 int bnxt_reserve_rings(struct bnxt *bp, bool irq_re_init);
2316 void bnxt_tx_disable(struct bnxt *bp);
2317 void bnxt_tx_enable(struct bnxt *bp);
2318 void bnxt_report_link(struct bnxt *bp);
2319 int bnxt_update_link(struct bnxt *bp, bool chng_link_state);
2320 int bnxt_hwrm_set_pause(struct bnxt *);
2321 int bnxt_hwrm_set_link_setting(struct bnxt *, bool, bool);
2322 int bnxt_cancel_reservations(struct bnxt *bp, bool fw_reset);
2323 int bnxt_hwrm_alloc_wol_fltr(struct bnxt *bp);
2324 int bnxt_hwrm_free_wol_fltr(struct bnxt *bp);
2325 int bnxt_hwrm_func_resc_qcaps(struct bnxt *bp, bool all);
2326 int bnxt_hwrm_func_qcaps(struct bnxt *bp);
2327 int bnxt_hwrm_fw_set_time(struct bnxt *);
2328 int bnxt_open_nic(struct bnxt *, bool, bool);
2329 int bnxt_half_open_nic(struct bnxt *bp);
2330 void bnxt_half_close_nic(struct bnxt *bp);
2331 void bnxt_reenable_sriov(struct bnxt *bp);
2332 int bnxt_close_nic(struct bnxt *, bool, bool);
2333 int bnxt_dbg_hwrm_rd_reg(struct bnxt *bp, u32 reg_off, u16 num_words,
2335 void bnxt_fw_exception(struct bnxt *bp);
2336 void bnxt_fw_reset(struct bnxt *bp);
2337 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs,
2339 int bnxt_fw_init_one(struct bnxt *bp);
2340 bool bnxt_hwrm_reset_permitted(struct bnxt *bp);
2342 int bnxt_get_max_rings(struct bnxt *, int *, int *, bool);
2343 int bnxt_restore_pf_fw_resources(struct bnxt *bp);
2347 int bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi);
2348 void bnxt_print_device_info(struct bnxt *bp);