Home
last modified time | relevance | path

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

/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf_mbox.c36 msg = otx2_mbox_alloc_msg(&cptpf->afpf_mbox, 0, size); in forward_to_af()
49 ret = otx2_cpt_sync_mbox_msg(&cptpf->afpf_mbox); in forward_to_af()
136 otx2_mbox_alloc_msg_rsp(&cptpf->afpf_mbox, 0, in send_inline_ipsec_inbound_msg()
152 return otx2_cpt_send_mbox_msg(&cptpf->afpf_mbox, pdev); in send_inline_ipsec_inbound_msg()
163 otx2_mbox_alloc_msg_rsp(&cptpf->afpf_mbox, 0, in rx_inline_ipsec_lf_cfg()
190 ret = otx2_cpt_send_mbox_msg(&cptpf->afpf_mbox, pdev); in rx_inline_ipsec_lf_cfg()
429 mbox = &cptpf->afpf_mbox; in otx2_cptpf_afpf_mbox_intr()
561 struct otx2_mbox *afpf_mbox; in otx2_cptpf_afpf_mbox_handler() local
568 afpf_mbox = &cptpf->afpf_mbox; in otx2_cptpf_afpf_mbox_handler()
569 mdev = &afpf_mbox->dev[0]; in otx2_cptpf_afpf_mbox_handler()
[all …]
H A Dotx2_cptpf_ucode.c165 return otx2_cpt_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in __write_ucode_base()
178 ret = otx2_cpt_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptx_set_ucode_base()
232 ret = otx2_cpt_read_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptx_detach_and_disable_cores()
241 ret = otx2_cpt_write_af_reg(&cptpf->afpf_mbox, in cptx_detach_and_disable_cores()
258 ret = otx2_cpt_read_af_reg(&cptpf->afpf_mbox, in cptx_detach_and_disable_cores()
275 ret = otx2_cpt_write_af_reg(&cptpf->afpf_mbox, in cptx_detach_and_disable_cores()
318 ret = otx2_cpt_read_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptx_attach_and_enable_cores()
327 ret = otx2_cpt_write_af_reg(&cptpf->afpf_mbox, in cptx_attach_and_enable_cores()
338 ret = otx2_cpt_add_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptx_attach_and_enable_cores()
344 return otx2_cpt_send_af_reg_requests(&cptpf->afpf_mbox, cptpf->pdev); in cptx_attach_and_enable_cores()
[all …]
H A Dotx2_cptpf_main.c144 mbox = &pf->afpf_mbox; in cptpf_flr_wq_handler()
162 if (!otx2_cpt_sync_mbox_msg(&pf->afpf_mbox)) { in cptpf_flr_wq_handler()
444 ret = otx2_cpt_send_ready_msg(&cptpf->afpf_mbox, cptpf->pdev); in cptpf_register_afpf_mbox_intr()
475 err = otx2_mbox_init(&cptpf->afpf_mbox, cptpf->afpf_mbox_base, in cptpf_afpf_mbox_init()
492 otx2_mbox_destroy(&cptpf->afpf_mbox); in cptpf_afpf_mbox_init()
501 otx2_mbox_destroy(&cptpf->afpf_mbox); in cptpf_afpf_mbox_destroy()
601 otx2_cpt_read_af_reg(&cptpf->afpf_mbox, pdev, CPT_AF_CTL, &reg_val, in cptpf_get_rid()
629 ret = otx2_cpt_read_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptpf_device_init()
643 &cptpf->afpf_mbox, BLKADDR_CPT0); in cptpf_device_init()
646 cptpf->reg_base, &cptpf->afpf_mbox, in cptpf_device_init()
H A Dotx2_cptpf.h40 struct otx2_mbox afpf_mbox; member