Lines Matching refs:bnxt
941 struct bnxt *bp;
948 void (*tx_int)(struct bnxt *, struct bnxt_napi *,
1289 struct bnxt *bp;
1403 struct bnxt { struct
1563 struct sk_buff * (*rx_skb_func)(struct bnxt *, argument
1847 static inline u32 bnxt_tx_avail(struct bnxt *bp, struct bnxt_tx_ring_info *txr) in bnxt_tx_avail()
1869 static inline void bnxt_db_write_relaxed(struct bnxt *bp, in bnxt_db_write_relaxed()
1884 static inline void bnxt_db_write(struct bnxt *bp, struct bnxt_db_info *db, in bnxt_db_write()
1927 static inline bool bnxt_kong_hwrm_message(struct bnxt *bp, struct input *req) in bnxt_kong_hwrm_message()
1933 static inline bool bnxt_hwrm_kong_chnl(struct bnxt *bp, struct input *req) in bnxt_hwrm_kong_chnl()
1939 static inline void *bnxt_get_hwrm_resp_addr(struct bnxt *bp, void *req) in bnxt_get_hwrm_resp_addr()
1947 static inline u16 bnxt_get_hwrm_seq_id(struct bnxt *bp, u16 dst) in bnxt_get_hwrm_seq_id()
1960 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr,
1963 u32 bnxt_fw_health_readl(struct bnxt *bp, int reg_idx);
1964 void bnxt_set_tpa_flags(struct bnxt *bp);
1965 void bnxt_set_ring_params(struct bnxt *);
1966 int bnxt_set_rx_skb_mode(struct bnxt *bp, bool page_mode);
1967 void bnxt_hwrm_cmd_hdr_init(struct bnxt *, void *, u16, u16, u16);
1968 int _hwrm_send_message(struct bnxt *, void *, u32, int);
1969 int _hwrm_send_message_silent(struct bnxt *bp, void *msg, u32 len, int timeout);
1970 int hwrm_send_message(struct bnxt *, void *, u32, int);
1971 int hwrm_send_message_silent(struct bnxt *, void *, u32, int);
1972 int bnxt_hwrm_func_rgtr_async_events(struct bnxt *bp, unsigned long *bmap,
1974 int bnxt_hwrm_vnic_cfg(struct bnxt *bp, u16 vnic_id);
1975 int __bnxt_hwrm_get_tx_rings(struct bnxt *bp, u16 fid, int *tx_rings);
1976 int bnxt_nq_rings_in_use(struct bnxt *bp);
1977 int bnxt_hwrm_set_coal(struct bnxt *);
1978 unsigned int bnxt_get_max_func_stat_ctxs(struct bnxt *bp);
1979 unsigned int bnxt_get_avail_stat_ctxs_for_en(struct bnxt *bp);
1980 unsigned int bnxt_get_max_func_cp_rings(struct bnxt *bp);
1981 unsigned int bnxt_get_avail_cp_rings_for_en(struct bnxt *bp);
1982 int bnxt_get_avail_msix(struct bnxt *bp, int num);
1983 int bnxt_reserve_rings(struct bnxt *bp, bool irq_re_init);
1984 void bnxt_tx_disable(struct bnxt *bp);
1985 void bnxt_tx_enable(struct bnxt *bp);
1986 int bnxt_hwrm_set_pause(struct bnxt *);
1987 int bnxt_hwrm_set_link_setting(struct bnxt *, bool, bool);
1988 int bnxt_hwrm_alloc_wol_fltr(struct bnxt *bp);
1989 int bnxt_hwrm_free_wol_fltr(struct bnxt *bp);
1990 int bnxt_hwrm_func_resc_qcaps(struct bnxt *bp, bool all);
1991 int bnxt_hwrm_fw_set_time(struct bnxt *);
1992 int bnxt_open_nic(struct bnxt *, bool, bool);
1993 int bnxt_half_open_nic(struct bnxt *bp);
1994 void bnxt_half_close_nic(struct bnxt *bp);
1995 int bnxt_close_nic(struct bnxt *, bool, bool);
1996 void bnxt_fw_exception(struct bnxt *bp);
1997 void bnxt_fw_reset(struct bnxt *bp);
1998 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs,
2001 int bnxt_get_max_rings(struct bnxt *, int *, int *, bool);
2002 int bnxt_restore_pf_fw_resources(struct bnxt *bp);
2006 int bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi);