Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 25 of 35) sorted by relevance

12

/arch/s390/crypto/
Daes_s390.c43 unsigned long fc; member
54 unsigned long fc; member
81 unsigned long fc; in aes_set_key() local
84 fc = (key_len == 16) ? CPACF_KM_AES_128 : in aes_set_key()
89 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in aes_set_key()
90 if (!sctx->fc) in aes_set_key()
102 if (unlikely(!sctx->fc)) { in aes_encrypt()
106 cpacf_km(sctx->fc, &sctx->key, out, in, AES_BLOCK_SIZE); in aes_encrypt()
113 if (unlikely(!sctx->fc)) { in aes_decrypt()
117 cpacf_km(sctx->fc | CPACF_DECRYPT, in aes_decrypt()
[all …]
Dpaes_s390.c40 unsigned long fc; member
46 unsigned long fc; member
66 unsigned long fc; in __paes_set_key() local
72 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KM_PAES_128 : in __paes_set_key()
77 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __paes_set_key()
79 return ctx->fc ? 0 : -EINVAL; in __paes_set_key()
110 k = cpacf_km(ctx->fc | modifier, ctx->pk.protkey, in ecb_paes_crypt()
165 unsigned long fc; in __cbc_paes_set_key() local
171 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KMC_PAES_128 : in __cbc_paes_set_key()
176 ctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in __cbc_paes_set_key()
[all …]
Ddes_s390.c89 static int ecb_desall_crypt(struct blkcipher_desc *desc, unsigned long fc, in ecb_desall_crypt() argument
100 cpacf_km(fc, ctx->key, walk->dst.virt.addr, in ecb_desall_crypt()
107 static int cbc_desall_crypt(struct blkcipher_desc *desc, unsigned long fc, in cbc_desall_crypt() argument
124 cpacf_kmc(fc, &param, walk->dst.virt.addr, in cbc_desall_crypt()
387 static int ctr_desall_crypt(struct blkcipher_desc *desc, unsigned long fc, in ctr_desall_crypt() argument
403 cpacf_kmctr(fc, ctx->key, walk->dst.virt.addr, in ctr_desall_crypt()
415 cpacf_kmctr(fc, ctx->key, buf, walk->src.virt.addr, in ctr_desall_crypt()
/arch/s390/include/asm/trace/
Dzcrypt.h91 TP_PROTO(void *ptr, u32 fc, u32 rc, u16 dev, u16 dom),
92 TP_ARGS(ptr, fc, rc, dev, dom),
95 __field(u32, fc)
101 __entry->fc = fc;
107 (unsigned int) __entry->fc,
/arch/s390/include/asm/
Dcpacf.h160 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (opcode) in __cpacf_query()
235 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KM) in cpacf_km()
265 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KMC) in cpacf_kmc()
291 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KIMD) in cpacf_kimd()
314 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KLMD) in cpacf_klmd()
340 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KMAC) in cpacf_kmac()
373 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KMCTR) in cpacf_kmctr()
404 : [fc] "d" (r0), [pba] "a" (r1), in cpacf_prno()
430 : [fc] "d" (r0), [opc] "i" (CPACF_PRNO) in cpacf_trng()
449 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_PCC) in cpacf_pcc()
[all …]
Dnmi.h79 u64 fc : 1; /* 43 fp control register validity */ member
Dtopology.h43 int topology_set_cpu_management(int fc);
Dpci_insn.h59 u8 fc; /* function controls */ member
Dsysinfo.h188 int stsi(void *sysinfo, int fc, int sel1, int sel2);
/arch/ia64/kernel/
Dmca_asm.S634 fc r17
635 fc r1
636 fc r2
637 fc r3
638 fc r4
639 fc r5
640 fc r6
641 fc r7
651 fc r17
652 fc r1
[all …]
/arch/powerpc/math-emu/
Dmath_efp.c185 unsigned long type, func, fc, fa, fb, src, speinsn; in do_spe_mathemu() local
198 fc = (speinsn >> 21) & 0x1f; in do_spe_mathemu()
203 vc.wp[0] = current->thread.evr[fc]; in do_spe_mathemu()
204 vc.wp[1] = regs->gpr[fc]; in do_spe_mathemu()
685 current->thread.evr[fc] = vc.wp[0]; in do_spe_mathemu()
686 regs->gpr[fc] = vc.wp[1]; in do_spe_mathemu()
732 unsigned long speinsn, type, fb, fc, fptype, func; in speround_handler() local
754 fc = (speinsn >> 21) & 0x1f; in speround_handler()
755 s_lo = regs->gpr[fc] & SIGN_BIT_S; in speround_handler()
756 s_hi = current->thread.evr[fc] & SIGN_BIT_S; in speround_handler()
[all …]
/arch/s390/kernel/
Dsysinfo.c26 static inline int __stsi(void *sysinfo, int fc, int sel1, int sel2, int *lvl) in __stsi() argument
28 register int r0 asm("0") = (fc << 28) | sel1; in __stsi()
51 int stsi(void *sysinfo, int fc, int sel1, int sel2) in stsi() argument
55 rc = __stsi(sysinfo, fc, sel1, sel2, &lvl); in stsi()
58 return fc ? 0 : lvl; in stsi()
498 #define STSI_FILE(fc, s1, s2) \ argument
499 static int stsi_open_##fc##_##s1##_##s2(struct inode *inode, struct file *file)\
504 if (stsi(file->private_data, fc, s1, s2)) { \
512 static const struct file_operations stsi_##fc##_##s1##_##s2##_fs_ops = { \
513 .open = stsi_open_##fc##_##s1##_##s2, \
Dtopology.c216 static int ptf(unsigned long fc) in ptf() argument
225 : "d" (fc) : "cc"); in ptf()
229 int topology_set_cpu_management(int fc) in topology_set_cpu_management() argument
235 if (fc) in topology_set_cpu_management()
Dnmi.c152 if (!mci.fc) { in s390_validate_registers()
/arch/s390/kvm/
Dtrace.h394 TP_PROTO(VCPU_PROTO_COMMON, int fc, int sel1, int sel2, u64 addr),
395 TP_ARGS(VCPU_ARGS_COMMON, fc, sel1, sel2, addr),
399 __field(int, fc)
407 __entry->fc = fc;
414 __entry->fc, __entry->sel1, __entry->sel2,
Dgaccess.c75 unsigned long fc : 1; /* Format-Control */ member
91 unsigned long fc : 1; /* Format-Control */ member
107 unsigned long fc : 1; /* Format-Control */ member
118 unsigned long fc : 1; /* Format-Control */ member
133 unsigned long fc : 1; /* Format-Control */ member
149 unsigned long fc : 1; /* Format-Control */ member
712 if (rtte.fc && edat2) { in guest_translate()
740 if (ste.fc && edat1) { in guest_translate()
1099 if (rtte.fc && sg->edat_level >= 2) { in kvm_s390_shadow_tables()
1136 if (ste.fc && sg->edat_level >= 1) { in kvm_s390_shadow_tables()
Dpriv.c694 u8 fc, u8 sel1, u16 sel2) in insert_stsi_usr_data() argument
699 vcpu->run->s390_stsi.fc = fc; in insert_stsi_usr_data()
706 int fc = (vcpu->run->s.regs.gprs[0] & 0xf0000000) >> 28; in handle_stsi() local
715 VCPU_EVENT(vcpu, 3, "STSI: fc: %u sel1: %u sel2: %u", fc, sel1, sel2); in handle_stsi()
720 if (fc > 3) { in handle_stsi()
729 if (fc == 0) { in handle_stsi()
740 switch (fc) { in handle_stsi()
746 if (stsi((void *) mem, fc, sel1, sel2)) in handle_stsi()
765 insert_stsi_usr_data(vcpu, operand2, ar, fc, sel1, sel2); in handle_stsi()
768 trace_kvm_s390_handle_stsi(vcpu, fc, sel1, sel2, operand2); in handle_stsi()
/arch/alpha/math-emu/
Dmath.c106 unsigned long fa, fb, fc, func, mode, src; in alpha_fp_emul() local
112 fc = (insn >> 0) & 0x1f; /* destination register */ in alpha_fp_emul()
276 alpha_write_fp_reg_s(fc, vc); in alpha_fp_emul()
284 alpha_write_fp_reg(fc, vc); in alpha_fp_emul()
/arch/ia64/lib/
Dflush.S52 .Loop: fc.i r24 // issuable on M0 only
108 fc r24 // issuable on M0 only
/arch/x86/platform/uv/
Dbios_uv.c113 s64 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher, in uv_bios_get_sn_info() argument
120 ret = uv_bios_call_irqsave(UV_BIOS_GET_SN_INFO, fc, in uv_bios_get_sn_info()
/arch/powerpc/crypto/
Daes-tab-4k.S80 .long R(40, 20, 20, 60), R(e3, fc, fc, 1f)
107 .long R(fc, 7e, 7e, 82), R(7a, 3d, 3d, 47)
164 .long R(7b, b0, b0, cb), R(a8, 54, 54, fc)
175 .long R(4f, e5, d7, fc), R(c5, 2a, cb, d7)
238 .long R(b6, ed, fc, 68), R(b8, e4, f1, 63)
247 .long R(a8, fc, 8c, c4), R(a0, f0, 3f, 1a)
269 .long R(74, 4e, bc, 37), R(fc, 82, ca, a6)
/arch/ia64/include/uapi/asm/
Dintrinsics.h102 #define ia64_fc IA64_INTRINSIC_API(fc)
/arch/s390/include/uapi/asm/
Dvtoc.h160 __u16 fc; /* number of whole cylinders in free ext. */ member
/arch/ia64/hp/sim/boot/
Dboot_head.S102 .loop: fc r8
/arch/m68k/ifpsp060/
Dftest.sa16 dc.l $fea0487b,$01700000,$058061ff,$000015fc
217 dc.l $72666c6f,$772e2e2e,$000051fc,$52aefea0
272 dc.l $626c6564,$20534e41,$4e2e2e2e,$000051fc
300 dc.l $5a2e2e2e,$000051fc,$52aefea0,$4cfb3fff

12