Home
last modified time | relevance | path

Searched refs:pfvf_mbox (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_mbox.c21 otx2_mbox = &cptvf->pfvf_mbox; in otx2_cpt_mbox_bbuf_init()
140 struct otx2_mbox *pfvf_mbox; in otx2_cptvf_pfvf_mbox_handler() local
150 pfvf_mbox = &cptvf->pfvf_mbox; in otx2_cptvf_pfvf_mbox_handler()
151 otx2_cpt_sync_mbox_bbuf(pfvf_mbox, 0); in otx2_cptvf_pfvf_mbox_handler()
152 mdev = &pfvf_mbox->dev[0]; in otx2_cptvf_pfvf_mbox_handler()
153 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + pfvf_mbox->rx_start); in otx2_cptvf_pfvf_mbox_handler()
159 msg = (struct mbox_msghdr *)(mdev->mbase + pfvf_mbox->rx_start + in otx2_cptvf_pfvf_mbox_handler()
165 otx2_mbox_reset(pfvf_mbox, 0); in otx2_cptvf_pfvf_mbox_handler()
170 struct otx2_mbox *mbox = &cptvf->pfvf_mbox; in otx2_cptvf_send_eng_grp_num_msg()
191 struct otx2_mbox *mbox = &cptvf->pfvf_mbox; in otx2_cptvf_send_kvf_limits_msg()
H A Dotx2_cptvf_main.c62 ret = otx2_cpt_send_ready_msg(&cptvf->pfvf_mbox, cptvf->pdev); in cptvf_register_interrupts()
103 ret = otx2_mbox_init(&cptvf->pfvf_mbox, cptvf->pfvf_mbox_base, in cptvf_pfvf_mbox_init()
116 otx2_mbox_destroy(&cptvf->pfvf_mbox); in cptvf_pfvf_mbox_init()
125 otx2_mbox_destroy(&cptvf->pfvf_mbox); in cptvf_pfvf_mbox_destroy()
287 &cptvf->pfvf_mbox, cptvf->blkaddr); in cptvf_lf_init()
H A Dotx2_cptvf.h19 struct otx2_mbox pfvf_mbox; member
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_pf.c336 struct otx2_mbox *pfvf_mbox, void *bbuf_base, in otx2_forward_msg_pfvf() argument
345 otx2_mbox_wait_for_zero(pfvf_mbox, devid); in otx2_forward_msg_pfvf()
347 offset = pfvf_mbox->trigger | (devid << pfvf_mbox->tr_shift); in otx2_forward_msg_pfvf()
348 writeq(MBOX_DOWN_MSG, (void __iomem *)pfvf_mbox->reg_base + offset); in otx2_forward_msg_pfvf()