Home
last modified time | relevance | path

Searched refs:lfs (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v5.15/drivers/crypto/marvell/octeontx2/
Dotx2_cptlf.c16 done_wait.u = otx2_cpt_read64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_do_set_done_time_wait()
19 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_do_set_done_time_wait()
27 done_wait.u = otx2_cpt_read64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_do_set_done_num_wait()
30 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_do_set_done_num_wait()
34 static void cptlf_set_done_time_wait(struct otx2_cptlfs_info *lfs, in cptlf_set_done_time_wait() argument
39 for (slot = 0; slot < lfs->lfs_num; slot++) in cptlf_set_done_time_wait()
40 cptlf_do_set_done_time_wait(&lfs->lf[slot], time_wait); in cptlf_set_done_time_wait()
43 static void cptlf_set_done_num_wait(struct otx2_cptlfs_info *lfs, int num_wait) in cptlf_set_done_num_wait() argument
47 for (slot = 0; slot < lfs->lfs_num; slot++) in cptlf_set_done_num_wait()
48 cptlf_do_set_done_num_wait(&lfs->lf[slot], num_wait); in cptlf_set_done_num_wait()
[all …]
Dotx2_cptvf_main.c133 static void cleanup_tasklet_work(struct otx2_cptlfs_info *lfs) in cleanup_tasklet_work() argument
137 for (i = 0; i < lfs->lfs_num; i++) { in cleanup_tasklet_work()
138 if (!lfs->lf[i].wqe) in cleanup_tasklet_work()
141 tasklet_kill(&lfs->lf[i].wqe->work); in cleanup_tasklet_work()
142 kfree(lfs->lf[i].wqe); in cleanup_tasklet_work()
143 lfs->lf[i].wqe = NULL; in cleanup_tasklet_work()
147 static int init_tasklet_work(struct otx2_cptlfs_info *lfs) in init_tasklet_work() argument
152 for (i = 0; i < lfs->lfs_num; i++) { in init_tasklet_work()
160 wqe->lfs = lfs; in init_tasklet_work()
162 lfs->lf[i].wqe = wqe; in init_tasklet_work()
[all …]
Dotx2_cptlf.h68 struct otx2_cptlfs_info *lfs; member
73 struct otx2_cptlfs_info *lfs; /* Ptr to cptlfs_info struct */ member
112 struct otx2_cptlfs_info *lfs) in otx2_cpt_free_instruction_queues() argument
117 for (i = 0; i < lfs->lfs_num; i++) { in otx2_cpt_free_instruction_queues()
118 iq = &lfs->lf[i].iqueue; in otx2_cpt_free_instruction_queues()
120 dma_free_coherent(&lfs->pdev->dev, in otx2_cpt_free_instruction_queues()
130 struct otx2_cptlfs_info *lfs) in otx2_cpt_alloc_instruction_queues() argument
135 if (!lfs->lfs_num) in otx2_cpt_alloc_instruction_queues()
138 for (i = 0; i < lfs->lfs_num; i++) { in otx2_cpt_alloc_instruction_queues()
139 iq = &lfs->lf[i].iqueue; in otx2_cpt_alloc_instruction_queues()
[all …]
Dotx2_cpt_mbox_common.c119 int otx2_cpt_attach_rscrs_msg(struct otx2_cptlfs_info *lfs) in otx2_cpt_attach_rscrs_msg() argument
121 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_attach_rscrs_msg()
129 dev_err(&lfs->pdev->dev, "RVU MBOX failed to get message.\n"); in otx2_cpt_attach_rscrs_msg()
136 req->cptlfs = lfs->lfs_num; in otx2_cpt_attach_rscrs_msg()
137 ret = otx2_cpt_send_mbox_msg(mbox, lfs->pdev); in otx2_cpt_attach_rscrs_msg()
141 if (!lfs->are_lfs_attached) in otx2_cpt_attach_rscrs_msg()
147 int otx2_cpt_detach_rsrcs_msg(struct otx2_cptlfs_info *lfs) in otx2_cpt_detach_rsrcs_msg() argument
149 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_detach_rsrcs_msg()
157 dev_err(&lfs->pdev->dev, "RVU MBOX failed to get message.\n"); in otx2_cpt_detach_rsrcs_msg()
164 ret = otx2_cpt_send_mbox_msg(mbox, lfs->pdev); in otx2_cpt_detach_rsrcs_msg()
[all …]
Dcn10k_cpt.c50 cptpf->lfs.ops = &otx2_hw_ops; in cn10k_cptpf_lmtst_init()
54 cptpf->lfs.ops = &cn10k_hw_ops; in cn10k_cptpf_lmtst_init()
62 cptpf->lfs.lmt_base = devm_ioremap_wc(&pdev->dev, lmt_base, size); in cn10k_cptpf_lmtst_init()
63 if (!cptpf->lfs.lmt_base) { in cn10k_cptpf_lmtst_init()
78 cptvf->lfs.ops = &otx2_hw_ops; in cn10k_cptvf_lmtst_init()
82 cptvf->lfs.ops = &cn10k_hw_ops; in cn10k_cptvf_lmtst_init()
86 cptvf->lfs.lmt_base = devm_ioremap_wc(&pdev->dev, offset, size); in cn10k_cptvf_lmtst_init()
87 if (!cptvf->lfs.lmt_base) { in cn10k_cptvf_lmtst_init()
Dotx2_cptvf_reqmgr.c247 if (unlikely(!otx2_cptlf_started(lf->lfs))) in process_request()
323 lf->lfs->ops->send_cmd(&cptinst, 1, lf); in process_request()
346 struct otx2_cptlfs_info *lfs = &cptvf->lfs; in otx2_cpt_do_request() local
348 return process_request(lfs->pdev, req, &lfs->lf[cpu_num].pqueue, in otx2_cpt_do_request()
349 &lfs->lf[cpu_num]); in otx2_cpt_do_request()
352 static int cpt_process_ccode(struct otx2_cptlfs_info *lfs, in cpt_process_ccode() argument
357 u8 uc_ccode = lfs->ops->cpt_get_uc_compcode(cpt_status); in cpt_process_ccode()
358 u8 ccode = lfs->ops->cpt_get_compcode(cpt_status); in cpt_process_ccode()
359 struct pci_dev *pdev = lfs->pdev; in cpt_process_ccode()
431 static inline void process_pending_queue(struct otx2_cptlfs_info *lfs, in process_pending_queue() argument
[all …]
Dotx2_cptvf_mbox.c72 struct otx2_cptlfs_info *lfs = &cptvf->lfs; in process_pfvf_mbox_mbox_msg() local
98 lfs->are_lfs_attached = 1; in process_pfvf_mbox_mbox_msg()
103 lfs->are_lfs_attached = 0; in process_pfvf_mbox_mbox_msg()
108 lfs->lf[i].msix_offset = rsp_msix->cptlf_msixoff[i]; in process_pfvf_mbox_mbox_msg()
124 cptvf->lfs.kcrypto_eng_grp_num = rsp_grp->eng_grp_num; in process_pfvf_mbox_mbox_msg()
128 cptvf->lfs.kvf_limits = rsp_limits->kvf_limits; in process_pfvf_mbox_mbox_msg()
Dotx2_cpt_common.h156 int otx2_cpt_attach_rscrs_msg(struct otx2_cptlfs_info *lfs);
157 int otx2_cpt_detach_rsrcs_msg(struct otx2_cptlfs_info *lfs);
158 int otx2_cpt_msix_offset_msg(struct otx2_cptlfs_info *lfs);
Dotx2_cptpf_ucode.c1413 struct otx2_cptlfs_info *lfs = &cptpf->lfs; in otx2_cpt_discover_eng_capabilities() local
1440 lfs->pdev = pdev; in otx2_cpt_discover_eng_capabilities()
1441 lfs->reg_base = cptpf->reg_base; in otx2_cpt_discover_eng_capabilities()
1442 lfs->mbox = &cptpf->afpf_mbox; in otx2_cpt_discover_eng_capabilities()
1443 lfs->blkaddr = BLKADDR_CPT0; in otx2_cpt_discover_eng_capabilities()
1444 ret = otx2_cptlf_init(&cptpf->lfs, OTX2_CPT_ALL_ENG_GRPS_MASK, in otx2_cpt_discover_eng_capabilities()
1484 lfs->ops->send_cmd(&inst, 1, &cptpf->lfs.lf[0]); in otx2_cpt_discover_eng_capabilities()
1486 while (lfs->ops->cpt_get_compcode(result) == in otx2_cpt_discover_eng_capabilities()
1498 otx2_cptlf_shutdown(&cptpf->lfs); in otx2_cpt_discover_eng_capabilities()
Dotx2_cptvf.h15 struct otx2_cptlfs_info lfs; /* CPT LFs attached to this VF */ member
Dotx2_cptpf.h33 struct otx2_cptlfs_info lfs; /* CPT LFs attached to this PF */ member
Dotx2_cptpf_mbox.c265 cptpf->lfs.are_lfs_attached = 1; in process_afpf_mbox_msg()
269 cptpf->lfs.are_lfs_attached = 0; in process_afpf_mbox_msg()
/Linux-v5.15/tools/testing/selftests/powerpc/lib/
Dreg.S58 lfs 0, 0*4(3)
59 lfs 1, 1*4(3)
60 lfs 2, 2*4(3)
61 lfs 3, 3*4(3)
62 lfs 4, 4*4(3)
63 lfs 5, 5*4(3)
64 lfs 6, 6*4(3)
65 lfs 7, 7*4(3)
66 lfs 8, 8*4(3)
67 lfs 9, 9*4(3)
[all …]
/Linux-v5.15/arch/powerpc/kvm/
Dfpu.S31 lfs 0,0(r5); \
52 lfs 0,0(r5); \
53 lfs 1,0(r6); \
75 lfs 0,0(r5); \
76 lfs 1,0(r6); \
77 lfs 2,0(r7); \
271 lfs 0,0(r3)
/Linux-v5.15/arch/powerpc/math-emu/
Dmath.c63 FLOATFUNC(lfs);
241 case LFS: func = lfs; type = D; break; in do_mathemu()
242 case LFSU: func = lfs; type = DU; break; in do_mathemu()
252 case LFSX: func = lfs; type = XE; break; in do_mathemu()
253 case LFSUX: func = lfs; type = XEU; break; in do_mathemu()
Dlfs.c12 lfs(void *frD, void *ea) in lfs() function
DMakefile10 frsp.o fsel.o lfs.o frsqrte.o fsub.o \
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_debugfs.c230 char *lfs) in get_lf_str_list() argument
248 len += sprintf(lfs + len, "-%d,%d", prev_lf, lf); in get_lf_str_list()
250 len += (len ? sprintf(lfs + len, ",%d", lf) : in get_lf_str_list()
251 sprintf(lfs + len, "%d", lf)); in get_lf_str_list()
258 len += sprintf(lfs + len, "-%d", prev_lf); in get_lf_str_list()
260 lfs[len] = '\0'; in get_lf_str_list()
308 char *lfs; in rvu_dbg_rsrc_attach_status() local
322 lfs = kzalloc(lf_str_size, GFP_KERNEL); in rvu_dbg_rsrc_attach_status()
323 if (!lfs) { in rvu_dbg_rsrc_attach_status()
352 sprintf(lfs, "PF%d:VF%d", pf, vf - 1); in rvu_dbg_rsrc_attach_status()
[all …]
/Linux-v5.15/tools/testing/selftests/powerpc/alignment/
Dalignment_handler.c539 LOAD_FLOAT_DFORM_TEST(lfs); in test_alignment_handler_fp()
597 LOAD_FLOAT_DFORM_TEST(lfs); in test_alignment_handler_fp_prefix()
/Linux-v5.15/arch/powerpc/lib/
Dldstfp.S217 lfs fr0, 0(r3)
/Linux-v5.15/include/linux/
Dnfs4.h47 uint32_t lfs; member
/Linux-v5.15/arch/powerpc/kernel/
Dvector.S159 lfs fr,name@l(r11)
/Linux-v5.15/fs/nfs/
Dinternal.h337 dst->lfs = src->lfs; in nfs4_label_copy()
Dnfs4xdr.c1187 *p++ = cpu_to_be32(label->lfs); in encode_attrs()
4161 uint32_t lfs = 0; in decode_attr_security_label() local
4172 lfs = be32_to_cpup(p++); in decode_attr_security_label()
4193 label->lfs = lfs; in decode_attr_security_label()
4203 (char *)label->label, label->len, label->pi, label->lfs); in decode_attr_security_label()
/Linux-v5.15/Documentation/filesystems/
Df2fs.rst202 and "lfs". In "lfs" mode, there should be no random
205 with "mode=lfs".

12