Lines Matching refs:bnxt

976 	struct bnxt		*bp;
983 void (*tx_int)(struct bnxt *, struct bnxt_napi *,
1369 struct bnxt *bp;
1419 struct bnxt *bp;
1555 struct bnxt {
1738 struct sk_buff * (*rx_skb_func)(struct bnxt *,
2065 static inline u32 bnxt_tx_avail(struct bnxt *bp, struct bnxt_tx_ring_info *txr)
2087 static inline void bnxt_db_write_relaxed(struct bnxt *bp,
2102 static inline void bnxt_db_write(struct bnxt *bp, struct bnxt_db_info *db,
2142 static inline bool bnxt_kong_hwrm_message(struct bnxt *bp, struct input *req)
2148 static inline bool bnxt_hwrm_kong_chnl(struct bnxt *bp, struct input *req)
2154 static inline void *bnxt_get_hwrm_resp_addr(struct bnxt *bp, void *req)
2162 static inline u16 bnxt_get_hwrm_seq_id(struct bnxt *bp, u16 dst)
2175 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr,
2178 u32 bnxt_fw_health_readl(struct bnxt *bp, int reg_idx);
2179 void bnxt_set_tpa_flags(struct bnxt *bp);
2180 void bnxt_set_ring_params(struct bnxt *);
2181 int bnxt_set_rx_skb_mode(struct bnxt *bp, bool page_mode);
2182 void bnxt_hwrm_cmd_hdr_init(struct bnxt *, void *, u16, u16, u16);
2183 int _hwrm_send_message(struct bnxt *, void *, u32, int);
2184 int _hwrm_send_message_silent(struct bnxt *bp, void *msg, u32 len, int timeout);
2185 int hwrm_send_message(struct bnxt *, void *, u32, int);
2186 int hwrm_send_message_silent(struct bnxt *, void *, u32, int);
2187 int bnxt_hwrm_func_drv_rgtr(struct bnxt *bp, unsigned long *bmap,
2189 int bnxt_get_nr_rss_ctxs(struct bnxt *bp, int rx_rings);
2190 int bnxt_hwrm_vnic_cfg(struct bnxt *bp, u16 vnic_id);
2191 int __bnxt_hwrm_get_tx_rings(struct bnxt *bp, u16 fid, int *tx_rings);
2192 int bnxt_nq_rings_in_use(struct bnxt *bp);
2193 int bnxt_hwrm_set_coal(struct bnxt *);
2194 unsigned int bnxt_get_max_func_stat_ctxs(struct bnxt *bp);
2195 unsigned int bnxt_get_avail_stat_ctxs_for_en(struct bnxt *bp);
2196 unsigned int bnxt_get_max_func_cp_rings(struct bnxt *bp);
2197 unsigned int bnxt_get_avail_cp_rings_for_en(struct bnxt *bp);
2198 int bnxt_get_avail_msix(struct bnxt *bp, int num);
2199 int bnxt_reserve_rings(struct bnxt *bp, bool irq_re_init);
2200 void bnxt_tx_disable(struct bnxt *bp);
2201 void bnxt_tx_enable(struct bnxt *bp);
2202 int bnxt_update_link(struct bnxt *bp, bool chng_link_state);
2203 int bnxt_hwrm_set_pause(struct bnxt *);
2204 int bnxt_hwrm_set_link_setting(struct bnxt *, bool, bool);
2205 int bnxt_hwrm_alloc_wol_fltr(struct bnxt *bp);
2206 int bnxt_hwrm_free_wol_fltr(struct bnxt *bp);
2207 int bnxt_hwrm_func_resc_qcaps(struct bnxt *bp, bool all);
2208 int bnxt_hwrm_fw_set_time(struct bnxt *);
2209 int bnxt_open_nic(struct bnxt *, bool, bool);
2210 int bnxt_half_open_nic(struct bnxt *bp);
2211 void bnxt_half_close_nic(struct bnxt *bp);
2212 int bnxt_close_nic(struct bnxt *, bool, bool);
2213 int bnxt_dbg_hwrm_rd_reg(struct bnxt *bp, u32 reg_off, u16 num_words,
2215 void bnxt_fw_exception(struct bnxt *bp);
2216 void bnxt_fw_reset(struct bnxt *bp);
2217 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs,
2220 int bnxt_get_max_rings(struct bnxt *, int *, int *, bool);
2221 int bnxt_restore_pf_fw_resources(struct bnxt *bp);
2225 int bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi);