otx2_mbox
int otx2_cpt_send_ready_msg(struct otx2_mbox *mbox, struct pci_dev *pdev);
int otx2_cpt_send_mbox_msg(struct otx2_mbox *mbox, struct pci_dev *pdev);
int otx2_cpt_send_af_reg_requests(struct otx2_mbox *mbox,
int otx2_cpt_add_write_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev,
int otx2_cpt_read_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev,
int otx2_cpt_write_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev,
int otx2_cpt_sync_mbox_msg(struct otx2_mbox *mbox);
int otx2_cpt_read_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev,
int otx2_cpt_write_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev,
struct otx2_mbox *mbox = lfs->mbox;
struct otx2_mbox *mbox = lfs->mbox;
struct otx2_mbox *mbox = lfs->mbox;
int otx2_cpt_sync_mbox_msg(struct otx2_mbox *mbox)
struct otx2_mbox *mbox = lfs->mbox;
int otx2_cpt_send_ready_msg(struct otx2_mbox *mbox, struct pci_dev *pdev)
struct otx2_mbox *mbox = lfs->mbox;
int otx2_cpt_send_af_reg_requests(struct otx2_mbox *mbox, struct pci_dev *pdev)
static int otx2_cpt_add_read_af_reg(struct otx2_mbox *mbox,
int otx2_cpt_send_mbox_msg(struct otx2_mbox *mbox, struct pci_dev *pdev)
int otx2_cpt_add_write_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev,
struct otx2_mbox *mbox;
struct otx2_mbox *mbox,
struct otx2_mbox afpf_mbox;
struct otx2_mbox afpf_mbox_up;
struct otx2_mbox vfpf_mbox;
struct otx2_mbox *mbox;
struct otx2_mbox *mbox;
struct otx2_mbox *mbox;
struct otx2_mbox *vfpf_mbox;
struct otx2_mbox *afpf_mbox;
struct otx2_mbox *mbox;
struct otx2_mbox pfvf_mbox;
struct otx2_mbox *otx2_mbox;
struct otx2_mbox *pfvf_mbox;
struct otx2_mbox *mbox = &cptvf->pfvf_mbox;
struct otx2_mbox *mbox = &cptvf->pfvf_mbox;
otx2_mbox = &cptvf->pfvf_mbox;
mdev = &otx2_mbox->dev[0];
struct otx2_mbox *mbox = &cptvf->pfvf_mbox;
static void otx2_cpt_sync_mbox_bbuf(struct otx2_mbox *mbox, int devid)
int cn20k_mbox_setup(struct otx2_mbox *mbox, struct pci_dev *pdev,
static int otx2_mbox_setup(struct otx2_mbox *mbox, struct pci_dev *pdev,
void __otx2_mbox_reset(struct otx2_mbox *mbox, int devid)
int otx2_mbox_init(struct otx2_mbox *mbox, void *hwbase, struct pci_dev *pdev,
int otx2_mbox_regions_init(struct otx2_mbox *mbox, void **hwbase,
int otx2_mbox_wait_for_rsp(struct otx2_mbox *mbox, int devid)
int otx2_mbox_busy_poll_for_rsp(struct otx2_mbox *mbox, int devid)
static void otx2_mbox_msg_send_data(struct otx2_mbox *mbox, int devid, u64 data)
void otx2_mbox_msg_send(struct otx2_mbox *mbox, int devid)
void otx2_mbox_msg_send_up(struct otx2_mbox *mbox, int devid)
bool otx2_mbox_wait_for_zero(struct otx2_mbox *mbox, int devid)
struct mbox_msghdr *otx2_mbox_alloc_msg_rsp(struct otx2_mbox *mbox, int devid,
void otx2_mbox_reset(struct otx2_mbox *mbox, int devid)
struct mbox_msghdr *otx2_mbox_get_rsp(struct otx2_mbox *mbox, int devid,
int otx2_mbox_check_rsp_msgs(struct otx2_mbox *mbox, int devid)
void otx2_mbox_destroy(struct otx2_mbox *mbox)
otx2_reply_invalid_msg(struct otx2_mbox *mbox, int devid, u16 pcifunc, u16 id)
bool otx2_mbox_nonempty(struct otx2_mbox *mbox, int devid)
int cn20k_mbox_setup(struct otx2_mbox *mbox, struct pci_dev *pdev,
void otx2_mbox_reset(struct otx2_mbox *mbox, int devid);
void __otx2_mbox_reset(struct otx2_mbox *mbox, int devid);
void otx2_mbox_destroy(struct otx2_mbox *mbox);
int otx2_mbox_init(struct otx2_mbox *mbox, void __force *hwbase,
int otx2_mbox_regions_init(struct otx2_mbox *mbox, void __force **hwbase,
void otx2_mbox_msg_send(struct otx2_mbox *mbox, int devid);
void otx2_mbox_msg_send_up(struct otx2_mbox *mbox, int devid);
int otx2_mbox_wait_for_rsp(struct otx2_mbox *mbox, int devid);
int otx2_mbox_busy_poll_for_rsp(struct otx2_mbox *mbox, int devid);
struct mbox_msghdr *otx2_mbox_alloc_msg_rsp(struct otx2_mbox *mbox, int devid,
struct mbox_msghdr *otx2_mbox_get_rsp(struct otx2_mbox *mbox, int devid,
int otx2_mbox_check_rsp_msgs(struct otx2_mbox *mbox, int devid);
int otx2_reply_invalid_msg(struct otx2_mbox *mbox, int devid,
bool otx2_mbox_nonempty(struct otx2_mbox *mbox, int devid);
static inline struct mbox_msghdr *otx2_mbox_alloc_msg(struct otx2_mbox *mbox,
bool otx2_mbox_wait_for_zero(struct otx2_mbox *mbox, int devid);
static int rvu_process_mbox_msg(struct otx2_mbox *mbox, int devid,
struct otx2_mbox *mbox;
struct otx2_mbox *mbox;
struct otx2_mbox *mbox = &mw->mbox;
struct otx2_mbox *mbox;
struct otx2_mbox mbox;
struct otx2_mbox mbox_up;
struct otx2_mbox *mbox;
struct otx2_mbox *mbox;
struct otx2_mbox mbox;
struct otx2_mbox mbox_up;
struct otx2_mbox *otx2_mbox;
otx2_mbox = &mbox->mbox;
mdev = &otx2_mbox->dev[0];
otx2_mbox = &mbox->mbox_up;
mdev = &otx2_mbox->dev[0];
static inline void otx2_sync_mbox_bbuf(struct otx2_mbox *mbox, int devid)
struct otx2_mbox *mbox = &af_mbox->mbox_up;
struct otx2_mbox *mbox;
struct otx2_mbox *mbox;
struct otx2_mbox *pfvf_mbox, void *bbuf_base,
struct otx2_mbox *src_mbox,
struct otx2_mbox *mbox;
struct otx2_mbox *mbox;
struct otx2_mbox *mbox;
struct otx2_mbox *mbox;
struct otx2_mbox *mbox;
struct otx2_mbox *mbox;