| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptlf.c | 16 done_wait.u = otx2_cpt_read64(lf->lfs->reg_base, lf->lfs->blkaddr, in cptlf_do_set_done_time_wait() 19 otx2_cpt_write64(lf->lfs->reg_base, lf->lfs->blkaddr, lf->slot, in cptlf_do_set_done_time_wait() 27 done_wait.u = otx2_cpt_read64(lf->lfs->reg_base, lf->lfs->blkaddr, in cptlf_do_set_done_num_wait() 30 otx2_cpt_write64(lf->lfs->reg_base, lf->lfs->blkaddr, 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 …]
|
| H A D | otx2_cptvf_main.c | 133 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 …]
|
| H A D | otx2_cptlf.h | 79 struct otx2_cptlfs_info *lfs; member 84 struct otx2_cptlfs_info *lfs; /* Ptr to cptlfs_info struct */ member 138 struct otx2_cptlfs_info *lfs) in otx2_cpt_free_instruction_queues() argument 143 for (i = 0; i < lfs->lfs_num; i++) { in otx2_cpt_free_instruction_queues() 144 iq = &lfs->lf[i].iqueue; in otx2_cpt_free_instruction_queues() 146 dma_free_coherent(&lfs->pdev->dev, in otx2_cpt_free_instruction_queues() 156 struct otx2_cptlfs_info *lfs) in otx2_cpt_alloc_instruction_queues() argument 161 if (!lfs->lfs_num) in otx2_cpt_alloc_instruction_queues() 164 for (i = 0; i < lfs->lfs_num; i++) { in otx2_cpt_alloc_instruction_queues() 165 iq = &lfs->lf[i].iqueue; in otx2_cpt_alloc_instruction_queues() [all …]
|
| H A D | cn10k_cpt.c | 31 void *lmtline = lf->lfs->lmt_info.base + (lf->slot * LMTLINE_SIZE); in cn10k_cpt_send_cmd() 49 void cn10k_cpt_lmtst_free(struct pci_dev *pdev, struct otx2_cptlfs_info *lfs) in cn10k_cpt_lmtst_free() argument 51 struct otx2_lmt_info *lmt_info = &lfs->lmt_info; in cn10k_cpt_lmtst_free() 64 struct otx2_cptlfs_info *lfs, u32 size) in cn10k_cpt_lmtst_alloc() argument 66 struct otx2_lmt_info *lmt_info = &lfs->lmt_info; in cn10k_cpt_lmtst_alloc() 90 cptpf->lfs.ops = &otx2_hw_ops; in cn10k_cptpf_lmtst_init() 94 cptpf->lfs.ops = &cn10k_hw_ops; in cn10k_cptpf_lmtst_init() 96 ret = cn10k_cpt_lmtst_alloc(pdev, &cptpf->lfs, size); in cn10k_cptpf_lmtst_init() 103 ret = otx2_cpt_lmtst_tbl_setup_msg(&cptpf->lfs); in cn10k_cptpf_lmtst_init() 107 cn10k_cpt_lmtst_free(pdev, &cptpf->lfs); in cn10k_cptpf_lmtst_init() [all …]
|
| H A D | otx2_cpt_mbox_common.c | 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() [all …]
|
| H A D | otx2_cptvf_reqmgr.c | 101 if (unlikely(!otx2_cptlf_started(lf->lfs))) in process_request() 104 info = lf->lfs->ops->cpt_sg_info_create(pdev, req, gfp); 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() 206 static int cpt_process_ccode(struct otx2_cptlfs_info *lfs, in cpt_process_ccode() argument 211 u8 uc_ccode = lfs->ops->cpt_get_uc_compcode(cpt_status); in cpt_process_ccode() 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() [all …]
|
| H A D | otx2_cptpf_mbox.c | 205 struct otx2_cptlfs_info *lfs, u8 egrp, int num_lfs) in otx2_inline_cptlf_setup() argument 209 ret = otx2_cptlf_init(lfs, 1 << egrp, OTX2_CPT_QUEUE_HI_PRIO, 1); in otx2_inline_cptlf_setup() 217 ret = otx2_cpt_msix_offset_msg(lfs); in otx2_inline_cptlf_setup() 222 ret = otx2_cptlf_register_misc_interrupts(lfs); in otx2_inline_cptlf_setup() 228 otx2_cptlf_unregister_misc_interrupts(lfs); in otx2_inline_cptlf_setup() 230 otx2_cptlf_shutdown(lfs); in otx2_inline_cptlf_setup() 235 otx2_inline_cptlf_cleanup(struct otx2_cptlfs_info *lfs) in otx2_inline_cptlf_cleanup() argument 238 otx2_cptlf_unregister_misc_interrupts(lfs); in otx2_inline_cptlf_cleanup() 241 otx2_cptlf_shutdown(lfs); in otx2_inline_cptlf_cleanup() 252 if (cptpf->lfs.lfs_num) { in handle_msg_rx_inline_ipsec_lf_cfg() [all …]
|
| H A D | otx2_cptvf_mbox.c | 72 struct otx2_cptlfs_info *lfs = &cptvf->lfs; in process_pfvf_mbox_mbox_msg() local 100 lfs->are_lfs_attached = 1; in process_pfvf_mbox_mbox_msg() 105 lfs->are_lfs_attached = 0; in process_pfvf_mbox_mbox_msg() 110 lfs->lf[i].msix_offset = rsp_msix->cptlf_msixoff[i]; in process_pfvf_mbox_mbox_msg() 128 cptvf->lfs.kcrypto_se_eng_grp_num = grp_num; in process_pfvf_mbox_mbox_msg() 130 cptvf->lfs.kcrypto_ae_eng_grp_num = grp_num; in process_pfvf_mbox_mbox_msg() 134 cptvf->lfs.kvf_limits = rsp_limits->kvf_limits; in process_pfvf_mbox_mbox_msg()
|
| H A D | otx2_cpt_common.h | 206 int otx2_cpt_attach_rscrs_msg(struct otx2_cptlfs_info *lfs); 207 int otx2_cpt_detach_rsrcs_msg(struct otx2_cptlfs_info *lfs); 208 int otx2_cpt_msix_offset_msg(struct otx2_cptlfs_info *lfs); 210 int otx2_cpt_lf_reset_msg(struct otx2_cptlfs_info *lfs, int slot); 211 int otx2_cpt_lmtst_tbl_setup_msg(struct otx2_cptlfs_info *lfs);
|
| H A D | otx2_cptpf.h | 33 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);
|
| H A D | otx2_cptvf.h | 15 struct otx2_cptlfs_info lfs; /* CPT LFs attached to this VF */ member
|
| H A D | otx2_cptpf_main.c | 642 otx2_cptlf_set_dev_info(&cptpf->lfs, cptpf->pdev, cptpf->reg_base, in cptpf_device_init() 824 cn10k_cpt_lmtst_free(pdev, &cptpf->lfs); in otx2_cptpf_probe() 845 if (cptpf->lfs.lfs_num) in otx2_cptpf_remove() 846 otx2_inline_cptlf_cleanup(&cptpf->lfs); in otx2_cptpf_remove() 860 cn10k_cpt_lmtst_free(pdev, &cptpf->lfs); in otx2_cptpf_remove()
|
| H A D | cn10k_cpt.h | 53 void cn10k_cpt_lmtst_free(struct pci_dev *pdev, struct otx2_cptlfs_info *lfs);
|
| H A D | otx2_cptpf_ucode.c | 1492 struct otx2_cptlfs_info *lfs = &cptpf->lfs; in otx2_cpt_discover_eng_capabilities() local 1521 ret = otx2_cptlf_init(lfs, OTX2_CPT_ALL_ENG_GRPS_MASK, in otx2_cpt_discover_eng_capabilities() 1567 lfs->ops->send_cmd(&inst, 1, &cptpf->lfs.lf[0]); in otx2_cpt_discover_eng_capabilities() 1570 while (lfs->ops->cpt_get_compcode(result) == in otx2_cpt_discover_eng_capabilities() 1592 otx2_cptlf_shutdown(lfs); in otx2_cpt_discover_eng_capabilities()
|
| /linux/arch/powerpc/kvm/ |
| H A D | fpu.S | 33 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/ |
| H A D | math.c | 63 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()
|
| H A D | lfs.c | 12 lfs(void *frD, void *ea) in lfs() function
|
| H A D | Makefile | 10 frsp.o fsel.o lfs.o frsqrte.o fsub.o \
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_debugfs.c | 647 char *lfs) in get_lf_str_list() argument 665 len += sprintf(lfs + len, "-%d,%d", prev_lf, lf); in get_lf_str_list() 667 len += (len ? sprintf(lfs + len, ",%d", lf) : in get_lf_str_list() 668 sprintf(lfs + len, "%d", lf)); in get_lf_str_list() 675 len += sprintf(lfs + len, "-%d", prev_lf); in get_lf_str_list() 677 lfs[len] = '\0'; in get_lf_str_list() 725 char *lfs; in rvu_dbg_rsrc_attach_status() local 739 lfs = kzalloc(lf_str_size, GFP_KERNEL); in rvu_dbg_rsrc_attach_status() 740 if (!lfs) { in rvu_dbg_rsrc_attach_status() 769 sprintf(lfs, "PF%d:VF%d", pf, vf - 1); in rvu_dbg_rsrc_attach_status() [all …]
|
| /linux/tools/testing/selftests/powerpc/alignment/ |
| H A D | alignment_handler.c | 539 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/ |
| H A D | ldstfp.S | 217 lfs fr0, 0(r3)
|
| /linux/arch/powerpc/kernel/ |
| H A D | vector.S | 172 lfs fr,name@l(r11)
|
| /linux/fs/nfs/ |
| H A D | internal.h | 356 dst->lfs = src->lfs; in nfs4_label_copy()
|
| H A D | nfs4xdr.c | 1190 *p++ = cpu_to_be32(label->lfs); in encode_attrs() 4279 uint32_t lfs = 0; in decode_attr_security_label() local 4290 lfs = be32_to_cpup(p++); in decode_attr_security_label() 4310 label->lfs = lfs; in decode_attr_security_label() 4319 label->len, label->pi, label->lfs); in decode_attr_security_label()
|
| /linux/include/linux/ |
| H A D | nfs4.h | 48 uint32_t lfs; member
|