#ifndef _IONIC_H_
#define _IONIC_H_
struct ionic_lif;
#include "ionic_if.h"
#include "ionic_dev.h"
#include "ionic_devlink.h"
#define IONIC_DRV_NAME …
#define IONIC_DRV_DESCRIPTION …
#define PCI_VENDOR_ID_PENSANDO …
#define PCI_DEVICE_ID_PENSANDO_IONIC_ETH_PF …
#define PCI_DEVICE_ID_PENSANDO_IONIC_ETH_VF …
#define IONIC_ASIC_TYPE_ELBA …
#define DEVCMD_TIMEOUT …
#define IONIC_ADMINQ_TIME_SLICE …
#define IONIC_PHC_UPDATE_NS …
#define NORMAL_PPB …
#define SCALED_PPM …
struct ionic_vf { … };
struct ionic { … };
struct ionic_admin_ctx { … };
int ionic_adminq_post(struct ionic_lif *lif, struct ionic_admin_ctx *ctx);
int ionic_adminq_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx,
const int err, const bool do_msg);
int ionic_adminq_post_wait(struct ionic_lif *lif, struct ionic_admin_ctx *ctx);
int ionic_adminq_post_wait_nomsg(struct ionic_lif *lif, struct ionic_admin_ctx *ctx);
void ionic_adminq_netdev_err_print(struct ionic_lif *lif, u8 opcode,
u8 status, int err);
bool ionic_notifyq_service(struct ionic_cq *cq);
bool ionic_adminq_service(struct ionic_cq *cq);
int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_wait);
int ionic_dev_cmd_wait_nomsg(struct ionic *ionic, unsigned long max_wait);
void ionic_dev_cmd_dev_err_print(struct ionic *ionic, u8 opcode, u8 status,
int err);
int ionic_setup(struct ionic *ionic);
int ionic_identify(struct ionic *ionic);
int ionic_init(struct ionic *ionic);
int ionic_reset(struct ionic *ionic);
int ionic_port_identify(struct ionic *ionic);
int ionic_port_init(struct ionic *ionic);
int ionic_port_reset(struct ionic *ionic);
bool ionic_doorbell_wa(struct ionic *ionic);
#endif