Lines Matching refs:bnxt

1020 	struct bnxt		*bp;
1027 void (*tx_int)(struct bnxt *, struct bnxt_napi *,
1423 struct bnxt *bp;
1473 struct bnxt *bp;
1711 struct bnxt {
1896 struct sk_buff * (*rx_skb_func)(struct bnxt *,
2257 static inline u32 bnxt_tx_avail(struct bnxt *bp,
2265 static inline void bnxt_writeq(struct bnxt *bp, u64 val,
2277 static inline void bnxt_writeq_relaxed(struct bnxt *bp, u64 val,
2290 static inline void bnxt_db_write_relaxed(struct bnxt *bp,
2305 static inline void bnxt_db_write(struct bnxt *bp, struct bnxt_db_info *db,
2320 static inline bool bnxt_sriov_cfg(struct bnxt *bp)
2331 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr,
2334 u32 bnxt_fw_health_readl(struct bnxt *bp, int reg_idx);
2335 void bnxt_set_tpa_flags(struct bnxt *bp);
2336 void bnxt_set_ring_params(struct bnxt *);
2337 int bnxt_set_rx_skb_mode(struct bnxt *bp, bool page_mode);
2338 int bnxt_hwrm_func_drv_rgtr(struct bnxt *bp, unsigned long *bmap,
2340 int bnxt_hwrm_func_drv_unrgtr(struct bnxt *bp);
2341 int bnxt_get_nr_rss_ctxs(struct bnxt *bp, int rx_rings);
2342 int bnxt_hwrm_vnic_cfg(struct bnxt *bp, u16 vnic_id);
2343 int __bnxt_hwrm_get_tx_rings(struct bnxt *bp, u16 fid, int *tx_rings);
2344 int bnxt_nq_rings_in_use(struct bnxt *bp);
2345 int bnxt_hwrm_set_coal(struct bnxt *);
2346 void bnxt_free_ctx_mem(struct bnxt *bp);
2347 unsigned int bnxt_get_max_func_stat_ctxs(struct bnxt *bp);
2348 unsigned int bnxt_get_avail_stat_ctxs_for_en(struct bnxt *bp);
2349 unsigned int bnxt_get_max_func_cp_rings(struct bnxt *bp);
2350 unsigned int bnxt_get_avail_cp_rings_for_en(struct bnxt *bp);
2351 int bnxt_get_avail_msix(struct bnxt *bp, int num);
2352 int bnxt_reserve_rings(struct bnxt *bp, bool irq_re_init);
2353 void bnxt_tx_disable(struct bnxt *bp);
2354 void bnxt_tx_enable(struct bnxt *bp);
2355 void bnxt_sched_reset_txr(struct bnxt *bp, struct bnxt_tx_ring_info *txr,
2357 void bnxt_report_link(struct bnxt *bp);
2358 int bnxt_update_link(struct bnxt *bp, bool chng_link_state);
2359 int bnxt_hwrm_set_pause(struct bnxt *);
2360 int bnxt_hwrm_set_link_setting(struct bnxt *, bool, bool);
2361 int bnxt_cancel_reservations(struct bnxt *bp, bool fw_reset);
2362 int bnxt_hwrm_alloc_wol_fltr(struct bnxt *bp);
2363 int bnxt_hwrm_free_wol_fltr(struct bnxt *bp);
2364 int bnxt_hwrm_func_resc_qcaps(struct bnxt *bp, bool all);
2365 int bnxt_hwrm_func_qcaps(struct bnxt *bp);
2366 int bnxt_hwrm_fw_set_time(struct bnxt *);
2367 int bnxt_open_nic(struct bnxt *, bool, bool);
2368 int bnxt_half_open_nic(struct bnxt *bp);
2369 void bnxt_half_close_nic(struct bnxt *bp);
2370 void bnxt_reenable_sriov(struct bnxt *bp);
2371 void bnxt_close_nic(struct bnxt *, bool, bool);
2372 void bnxt_get_ring_err_stats(struct bnxt *bp,
2374 int bnxt_dbg_hwrm_rd_reg(struct bnxt *bp, u32 reg_off, u16 num_words,
2376 void bnxt_fw_exception(struct bnxt *bp);
2377 void bnxt_fw_reset(struct bnxt *bp);
2378 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs,
2380 int bnxt_fw_init_one(struct bnxt *bp);
2381 bool bnxt_hwrm_reset_permitted(struct bnxt *bp);
2383 int bnxt_get_max_rings(struct bnxt *, int *, int *, bool);
2384 int bnxt_restore_pf_fw_resources(struct bnxt *bp);
2388 int bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi);
2389 void bnxt_print_device_info(struct bnxt *bp);