#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/rtnetlink.h>
#include <linux/bitops.h>
#include <linux/irq.h>
#include <asm/byteorder.h>
#include <linux/bitmap.h>
#include <linux/auxiliary_bus.h>
#include "bnxt_hsi.h"
#include "bnxt.h"
#include "bnxt_hwrm.h"
#include "bnxt_ulp.h"
static DEFINE_IDA(bnxt_aux_dev_ids);
static void bnxt_fill_msix_vecs(struct bnxt *bp, struct bnxt_msix_entry *ent)
{ … }
int bnxt_get_ulp_msix_num(struct bnxt *bp)
{ … }
void bnxt_set_ulp_msix_num(struct bnxt *bp, int num)
{ … }
int bnxt_get_ulp_msix_num_in_use(struct bnxt *bp)
{ … }
int bnxt_get_ulp_stat_ctxs(struct bnxt *bp)
{ … }
void bnxt_set_ulp_stat_ctxs(struct bnxt *bp, int num_ulp_ctx)
{ … }
int bnxt_get_ulp_stat_ctxs_in_use(struct bnxt *bp)
{ … }
void bnxt_set_dflt_ulp_stat_ctxs(struct bnxt *bp)
{ … }
int bnxt_register_dev(struct bnxt_en_dev *edev,
struct bnxt_ulp_ops *ulp_ops,
void *handle)
{ … }
EXPORT_SYMBOL(…);
void bnxt_unregister_dev(struct bnxt_en_dev *edev)
{ … }
EXPORT_SYMBOL(…);
static int bnxt_set_dflt_ulp_msix(struct bnxt *bp)
{ … }
int bnxt_send_msg(struct bnxt_en_dev *edev,
struct bnxt_fw_msg *fw_msg)
{ … }
EXPORT_SYMBOL(…);
void bnxt_ulp_stop(struct bnxt *bp)
{ … }
void bnxt_ulp_start(struct bnxt *bp, int err)
{ … }
void bnxt_ulp_irq_stop(struct bnxt *bp)
{ … }
void bnxt_ulp_irq_restart(struct bnxt *bp, int err)
{ … }
int bnxt_register_async_events(struct bnxt_en_dev *edev,
unsigned long *events_bmap,
u16 max_id)
{ … }
EXPORT_SYMBOL(…);
void bnxt_rdma_aux_device_uninit(struct bnxt *bp)
{ … }
static void bnxt_aux_dev_release(struct device *dev)
{ … }
void bnxt_rdma_aux_device_del(struct bnxt *bp)
{ … }
static void bnxt_set_edev_info(struct bnxt_en_dev *edev, struct bnxt *bp)
{ … }
void bnxt_rdma_aux_device_add(struct bnxt *bp)
{ … }
void bnxt_rdma_aux_device_init(struct bnxt *bp)
{ … }