Lines Matching refs:bnxt
980 struct bnxt *bp;
987 void (*tx_int)(struct bnxt *, struct bnxt_napi *,
1378 struct bnxt *bp;
1428 struct bnxt *bp;
1593 struct bnxt { struct
1776 struct sk_buff * (*rx_skb_func)(struct bnxt *, argument
2116 static inline u32 bnxt_tx_avail(struct bnxt *bp, struct bnxt_tx_ring_info *txr) in bnxt_tx_avail()
2125 static inline void bnxt_writeq(struct bnxt *bp, u64 val, in bnxt_writeq()
2137 static inline void bnxt_writeq_relaxed(struct bnxt *bp, u64 val, in bnxt_writeq_relaxed()
2150 static inline void bnxt_db_write_relaxed(struct bnxt *bp, in bnxt_db_write_relaxed()
2165 static inline void bnxt_db_write(struct bnxt *bp, struct bnxt_db_info *db, in bnxt_db_write()
2181 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr,
2184 u32 bnxt_fw_health_readl(struct bnxt *bp, int reg_idx);
2185 void bnxt_set_tpa_flags(struct bnxt *bp);
2186 void bnxt_set_ring_params(struct bnxt *);
2187 int bnxt_set_rx_skb_mode(struct bnxt *bp, bool page_mode);
2188 int bnxt_hwrm_func_drv_rgtr(struct bnxt *bp, unsigned long *bmap,
2190 int bnxt_get_nr_rss_ctxs(struct bnxt *bp, int rx_rings);
2191 int bnxt_hwrm_vnic_cfg(struct bnxt *bp, u16 vnic_id);
2192 int __bnxt_hwrm_get_tx_rings(struct bnxt *bp, u16 fid, int *tx_rings);
2193 int bnxt_nq_rings_in_use(struct bnxt *bp);
2194 int bnxt_hwrm_set_coal(struct bnxt *);
2195 unsigned int bnxt_get_max_func_stat_ctxs(struct bnxt *bp);
2196 unsigned int bnxt_get_avail_stat_ctxs_for_en(struct bnxt *bp);
2197 unsigned int bnxt_get_max_func_cp_rings(struct bnxt *bp);
2198 unsigned int bnxt_get_avail_cp_rings_for_en(struct bnxt *bp);
2199 int bnxt_get_avail_msix(struct bnxt *bp, int num);
2200 int bnxt_reserve_rings(struct bnxt *bp, bool irq_re_init);
2201 void bnxt_tx_disable(struct bnxt *bp);
2202 void bnxt_tx_enable(struct bnxt *bp);
2203 int bnxt_update_link(struct bnxt *bp, bool chng_link_state);
2204 int bnxt_hwrm_set_pause(struct bnxt *);
2205 int bnxt_hwrm_set_link_setting(struct bnxt *, bool, bool);
2206 int bnxt_hwrm_alloc_wol_fltr(struct bnxt *bp);
2207 int bnxt_hwrm_free_wol_fltr(struct bnxt *bp);
2208 int bnxt_hwrm_func_resc_qcaps(struct bnxt *bp, bool all);
2209 bool bnxt_is_fw_healthy(struct bnxt *bp);
2210 int bnxt_hwrm_fw_set_time(struct bnxt *);
2211 int bnxt_open_nic(struct bnxt *, bool, bool);
2212 int bnxt_half_open_nic(struct bnxt *bp);
2213 void bnxt_half_close_nic(struct bnxt *bp);
2214 int bnxt_close_nic(struct bnxt *, bool, bool);
2215 int bnxt_dbg_hwrm_rd_reg(struct bnxt *bp, u32 reg_off, u16 num_words,
2217 void bnxt_fw_exception(struct bnxt *bp);
2218 void bnxt_fw_reset(struct bnxt *bp);
2219 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs,
2222 int bnxt_get_max_rings(struct bnxt *, int *, int *, bool);
2223 int bnxt_restore_pf_fw_resources(struct bnxt *bp);
2227 int bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi);