Lines Matching refs:lfs

126 int otx2_cpt_attach_rscrs_msg(struct otx2_cptlfs_info *lfs)  in otx2_cpt_attach_rscrs_msg()  argument
128 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_attach_rscrs_msg()
136 dev_err(&lfs->pdev->dev, "RVU MBOX failed to get message.\n"); in otx2_cpt_attach_rscrs_msg()
143 req->cptlfs = lfs->lfs_num; in otx2_cpt_attach_rscrs_msg()
144 req->cpt_blkaddr = lfs->blkaddr; in otx2_cpt_attach_rscrs_msg()
146 ret = otx2_cpt_send_mbox_msg(mbox, lfs->pdev); in otx2_cpt_attach_rscrs_msg()
150 if (!lfs->are_lfs_attached) in otx2_cpt_attach_rscrs_msg()
156 int otx2_cpt_detach_rsrcs_msg(struct otx2_cptlfs_info *lfs) in otx2_cpt_detach_rsrcs_msg() argument
158 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_detach_rsrcs_msg()
166 dev_err(&lfs->pdev->dev, "RVU MBOX failed to get message.\n"); in otx2_cpt_detach_rsrcs_msg()
174 ret = otx2_cpt_send_mbox_msg(mbox, lfs->pdev); in otx2_cpt_detach_rsrcs_msg()
178 if (lfs->are_lfs_attached) in otx2_cpt_detach_rsrcs_msg()
185 int otx2_cpt_msix_offset_msg(struct otx2_cptlfs_info *lfs) in otx2_cpt_msix_offset_msg() argument
187 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_msix_offset_msg()
188 struct pci_dev *pdev = lfs->pdev; in otx2_cpt_msix_offset_msg()
206 for (i = 0; i < lfs->lfs_num; i++) { in otx2_cpt_msix_offset_msg()
207 if (lfs->lf[i].msix_offset == MSIX_VECTOR_INVALID) { in otx2_cpt_msix_offset_msg()
210 lfs->lf[i].msix_offset, i); in otx2_cpt_msix_offset_msg()
233 int otx2_cpt_lf_reset_msg(struct otx2_cptlfs_info *lfs, int slot) in otx2_cpt_lf_reset_msg() argument
235 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_lf_reset_msg()
236 struct pci_dev *pdev = lfs->pdev; in otx2_cpt_lf_reset_msg()