Lines Matching refs:lfs

204 			struct otx2_cptlfs_info *lfs, u8 egrp, int num_lfs)  in otx2_inline_cptlf_setup()  argument
208 ret = otx2_cptlf_init(lfs, 1 << egrp, OTX2_CPT_QUEUE_HI_PRIO, 1); in otx2_inline_cptlf_setup()
216 ret = otx2_cpt_msix_offset_msg(lfs); in otx2_inline_cptlf_setup()
221 ret = otx2_cptlf_register_misc_interrupts(lfs); in otx2_inline_cptlf_setup()
227 otx2_cptlf_unregister_misc_interrupts(lfs); in otx2_inline_cptlf_setup()
229 otx2_cptlf_shutdown(lfs); in otx2_inline_cptlf_setup()
234 otx2_inline_cptlf_cleanup(struct otx2_cptlfs_info *lfs) in otx2_inline_cptlf_cleanup() argument
237 otx2_cptlf_unregister_misc_interrupts(lfs); in otx2_inline_cptlf_cleanup()
240 otx2_cptlf_shutdown(lfs); in otx2_inline_cptlf_cleanup()
251 if (cptpf->lfs.lfs_num) { in handle_msg_rx_inline_ipsec_lf_cfg()
267 otx2_cptlf_set_dev_info(&cptpf->lfs, cptpf->pdev, cptpf->reg_base, in handle_msg_rx_inline_ipsec_lf_cfg()
269 cptpf->lfs.global_slot = 0; in handle_msg_rx_inline_ipsec_lf_cfg()
270 cptpf->lfs.ctx_ilen_ovrd = cfg_req->ctx_ilen_valid; in handle_msg_rx_inline_ipsec_lf_cfg()
271 cptpf->lfs.ctx_ilen = cfg_req->ctx_ilen; in handle_msg_rx_inline_ipsec_lf_cfg()
273 ret = otx2_inline_cptlf_setup(cptpf, &cptpf->lfs, egrp, num_lfs); in handle_msg_rx_inline_ipsec_lf_cfg()
305 otx2_inline_cptlf_cleanup(&cptpf->lfs); in handle_msg_rx_inline_ipsec_lf_cfg()
457 struct otx2_cptlfs_info *lfs = &cptpf->lfs; in process_afpf_mbox_msg() local
473 lfs = &cptpf->cpt1_lfs; in process_afpf_mbox_msg()
483 lfs->lf[i].msix_offset = rsp_msix->cptlf_msixoff[i]; in process_afpf_mbox_msg()
486 lfs->lf[i].msix_offset = rsp_msix->cpt1_lf_msixoff[i]; in process_afpf_mbox_msg()
501 lfs->are_lfs_attached = 1; in process_afpf_mbox_msg()
505 lfs->are_lfs_attached = 0; in process_afpf_mbox_msg()
604 struct otx2_cptlfs_info *lfs = &cptpf->lfs; in handle_msg_cpt_inst_lmtst() local
607 if (cptpf->lfs.lfs_num) in handle_msg_cpt_inst_lmtst()
608 lfs->ops->send_cmd((union otx2_cpt_inst_s *)req->inst, 1, in handle_msg_cpt_inst_lmtst()
609 &lfs->lf[0]); in handle_msg_cpt_inst_lmtst()