Home
last modified time | relevance | path

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

12

/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cptlf.c53 struct otx2_cptlfs_info *lfs = lf->lfs; in cptlf_set_pri() local
57 ret = otx2_cpt_read_af_reg(lfs->mbox, lfs->pdev, in cptlf_set_pri()
65 ret = otx2_cpt_write_af_reg(lfs->mbox, lfs->pdev, in cptlf_set_pri()
74 struct otx2_cptlfs_info *lfs = lf->lfs; in cptlf_set_eng_grps_mask() local
78 ret = otx2_cpt_read_af_reg(lfs->mbox, lfs->pdev, in cptlf_set_eng_grps_mask()
86 ret = otx2_cpt_write_af_reg(lfs->mbox, lfs->pdev, in cptlf_set_eng_grps_mask()
433 if (!lfs->pdev || !lfs->reg_base) in otx2_cptlf_init()
438 lfs->lf[slot].lfs = lfs; in otx2_cptlf_init()
441 lfs->lf[slot].lmtline = lfs->lmt_base + in otx2_cptlf_init()
444 lfs->lf[slot].lmtline = lfs->reg_base + in otx2_cptlf_init()
[all …]
A Dotx2_cptvf_main.c138 if (!lfs->lf[i].wqe) in cleanup_tasklet_work()
142 kfree(lfs->lf[i].wqe); in cleanup_tasklet_work()
143 lfs->lf[i].wqe = NULL; in cleanup_tasklet_work()
160 wqe->lfs = lfs; in init_tasklet_work()
162 lfs->lf[i].wqe = wqe; in init_tasklet_work()
185 if (!lfs->lfs_num) in alloc_pending_queues()
252 lf_sw_cleanup(lfs); in cptvf_lf_shutdown()
257 lfs->lfs_num = 0; in cptvf_lf_shutdown()
262 struct otx2_cptlfs_info *lfs = &cptvf->lfs; in cptvf_lf_init() local
299 ret = lf_sw_init(lfs); in cptvf_lf_init()
[all …]
A Dotx2_cptlf.h79 struct otx2_cptlfs_info *lfs; member
135 iq = &lfs->lf[i].iqueue; in otx2_cpt_free_instruction_queues()
152 if (!lfs->lfs_num) in otx2_cpt_alloc_instruction_queues()
156 iq = &lfs->lf[i].iqueue; in otx2_cpt_alloc_instruction_queues()
190 otx2_cpt_write64(lfs->reg_base, lfs->blkaddr, slot, in otx2_cptlf_set_iqueues_base_addr()
201 otx2_cpt_write64(lf->lfs->reg_base, lf->lfs->blkaddr, lf->slot, in otx2_cptlf_do_set_iqueue_size()
276 otx2_cpt_lf_reset_msg(lfs, lfs->global_slot + slot); in otx2_cptlf_disable_iqueues()
423 lfs->pdev = pdev; in otx2_cptlf_set_dev_info()
424 lfs->reg_base = reg_base; in otx2_cptlf_set_dev_info()
425 lfs->mbox = mbox; in otx2_cptlf_set_dev_info()
[all …]
A Dotx2_cpt_mbox_common.c128 struct otx2_mbox *mbox = lfs->mbox; 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()
150 if (!lfs->are_lfs_attached) in otx2_cpt_attach_rscrs_msg()
158 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_detach_rsrcs_msg()
178 if (lfs->are_lfs_attached) in otx2_cpt_detach_rsrcs_msg()
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()
210 lfs->lf[i].msix_offset, i); in otx2_cpt_msix_offset_msg()
235 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_lf_reset_msg()
[all …]
A Dcn10k_cpt.c55 cptpf->lfs.ops = &otx2_hw_ops; in cn10k_cptpf_lmtst_init()
59 cptpf->lfs.ops = &cn10k_hw_ops; in cn10k_cptpf_lmtst_init()
67 cptpf->lfs.lmt_base = devm_ioremap_wc(&pdev->dev, lmt_base, size); in cn10k_cptpf_lmtst_init()
68 if (!cptpf->lfs.lmt_base) { in cn10k_cptpf_lmtst_init()
89 cptvf->lfs.lmt_base = devm_ioremap_wc(&pdev->dev, offset, size); in cn10k_cptvf_lmtst_init()
90 if (!cptvf->lfs.lmt_base) { in cn10k_cptvf_lmtst_init()
157 struct otx2_cptlfs_info *lfs = &cptvf->lfs; in cn10k_cpt_ctx_flush() local
164 otx2_cpt_write64(lfs->reg_base, lfs->blkaddr, lfs->lf[0].slot, in cn10k_cpt_ctx_flush()
168 otx2_cpt_read64(lfs->reg_base, lfs->blkaddr, lfs->lf[0].slot, in cn10k_cpt_ctx_flush()
176 cptvf->lfs.ops = &cn10k_hw_ops; in cptvf_hw_ops_get()
[all …]
A Dotx2_cptvf_reqmgr.c101 if (unlikely(!otx2_cptlf_started(lf->lfs))) in process_request()
177 lf->lfs->ops->send_cmd(&cptinst, 1, lf); in process_request()
200 struct otx2_cptlfs_info *lfs = &cptvf->lfs; in otx2_cpt_do_request() local
202 return process_request(lfs->pdev, req, &lfs->lf[cpu_num].pqueue, in otx2_cpt_do_request()
203 &lfs->lf[cpu_num]); in otx2_cpt_do_request()
212 u8 ccode = lfs->ops->cpt_get_compcode(cpt_status); in cpt_process_ccode()
213 struct pci_dev *pdev = lfs->pdev; in cpt_process_ccode()
295 struct pci_dev *pdev = lfs->pdev; in process_pending_queue()
389 process_pending_queue(wqe->lfs, in otx2_cpt_post_process()
390 &wqe->lfs->lf[wqe->lf_num].pqueue); in otx2_cpt_post_process()
[all …]
A Dotx2_cptpf_mbox.c229 otx2_cptlf_shutdown(lfs); in otx2_inline_cptlf_setup()
240 otx2_cptlf_shutdown(lfs); in otx2_inline_cptlf_cleanup()
251 if (cptpf->lfs.lfs_num) { in handle_msg_rx_inline_ipsec_lf_cfg()
269 cptpf->lfs.global_slot = 0; 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()
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()
[all …]
A Dotx2_cptvf_mbox.c72 struct otx2_cptlfs_info *lfs = &cptvf->lfs; in process_pfvf_mbox_mbox_msg() local
99 lfs->are_lfs_attached = 1; in process_pfvf_mbox_mbox_msg()
104 lfs->are_lfs_attached = 0; in process_pfvf_mbox_mbox_msg()
109 lfs->lf[i].msix_offset = rsp_msix->cptlf_msixoff[i]; in process_pfvf_mbox_mbox_msg()
125 cptvf->lfs.kcrypto_eng_grp_num = rsp_grp->eng_grp_num; in process_pfvf_mbox_mbox_msg()
129 cptvf->lfs.kvf_limits = rsp_limits->kvf_limits; in process_pfvf_mbox_mbox_msg()
A Dotx2_cptpf.h33 struct otx2_cptlfs_info lfs; /* CPT LFs attached to this PF */ member
75 struct otx2_cptlfs_info *lfs, u8 egrp, int num_lfs);
76 void otx2_inline_cptlf_cleanup(struct otx2_cptlfs_info *lfs);
A Dotx2_cpt_common.h221 int otx2_cpt_attach_rscrs_msg(struct otx2_cptlfs_info *lfs);
222 int otx2_cpt_detach_rsrcs_msg(struct otx2_cptlfs_info *lfs);
223 int otx2_cpt_msix_offset_msg(struct otx2_cptlfs_info *lfs);
225 int otx2_cpt_lf_reset_msg(struct otx2_cptlfs_info *lfs, int slot);
A Dotx2_cptvf.h15 struct otx2_cptlfs_info lfs; /* CPT LFs attached to this VF */ member
A Dotx2_cptpf_ucode.c1488 struct otx2_cptlfs_info *lfs = &cptpf->lfs; in otx2_cpt_discover_eng_capabilities() local
1515 otx2_cptlf_set_dev_info(lfs, cptpf->pdev, cptpf->reg_base, in otx2_cpt_discover_eng_capabilities()
1517 ret = otx2_cptlf_init(lfs, OTX2_CPT_ALL_ENG_GRPS_MASK, in otx2_cpt_discover_eng_capabilities()
1557 lfs->ops->send_cmd(&inst, 1, &cptpf->lfs.lf[0]); in otx2_cpt_discover_eng_capabilities()
1559 while (lfs->ops->cpt_get_compcode(result) == in otx2_cpt_discover_eng_capabilities()
1571 otx2_cptlf_shutdown(lfs); in otx2_cpt_discover_eng_capabilities()
A Dotx2_cptpf_main.c833 if (cptpf->lfs.lfs_num) in otx2_cptpf_remove()
834 otx2_inline_cptlf_cleanup(&cptpf->lfs); in otx2_cptpf_remove()
/linux/arch/powerpc/kvm/
A Dfpu.S33 lfs 0,0(r5); \
54 lfs 0,0(r5); \
55 lfs 1,0(r6); \
77 lfs 0,0(r5); \
78 lfs 1,0(r6); \
79 lfs 2,0(r7); \
278 lfs 0,0(r3)
/linux/arch/powerpc/math-emu/
A 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()
A Dlfs.c12 lfs(void *frD, void *ea) in lfs() function
A DMakefile10 frsp.o fsel.o lfs.o frsqrte.o fsub.o \
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_debugfs.c667 char *lfs) in get_lf_str_list() argument
697 lfs[len] = '\0'; in get_lf_str_list()
745 char *lfs; in rvu_dbg_rsrc_attach_status() local
760 if (!lfs) { in rvu_dbg_rsrc_attach_status()
792 "%-*s", lf_str_size, lfs); in rvu_dbg_rsrc_attach_status()
794 sprintf(lfs, "PF%d", pf); in rvu_dbg_rsrc_attach_status()
797 "%-*s", lf_str_size, lfs); in rvu_dbg_rsrc_attach_status()
805 lfs[len] = '\0'; in rvu_dbg_rsrc_attach_status()
807 if (strlen(lfs)) in rvu_dbg_rsrc_attach_status()
811 "%-*s", lf_str_size, lfs); in rvu_dbg_rsrc_attach_status()
[all …]
/linux/tools/testing/selftests/powerpc/alignment/
A 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/arch/powerpc/lib/
A Dldstfp.S217 lfs fr0, 0(r3)
/linux/arch/powerpc/kernel/
A Dvector.S172 lfs fr,name@l(r11)
/linux/fs/nfs/
A Dinternal.h361 dst->lfs = src->lfs; in nfs4_label_copy()
A Dnfs4xdr.c1187 *p++ = cpu_to_be32(label->lfs); in encode_attrs()
4250 uint32_t lfs = 0; in decode_attr_security_label() local
4261 lfs = be32_to_cpup(p++); in decode_attr_security_label()
4281 label->lfs = lfs; in decode_attr_security_label()
4290 label->len, label->pi, label->lfs); in decode_attr_security_label()
/linux/include/linux/
A Dnfs4.h47 uint32_t lfs; member
/linux/Documentation/filesystems/
A Df2fs.rst211 and "lfs". In "lfs" mode, there should be no random

Completed in 73 milliseconds

12