Home
last modified time | relevance | path

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

12

/arch/s390/crypto/
Daes_s390.c45 unsigned long fc; member
56 unsigned long fc; member
94 unsigned long fc; in aes_set_key() local
97 fc = (key_len == 16) ? CPACF_KM_AES_128 : in aes_set_key()
102 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in aes_set_key()
103 if (!sctx->fc) in aes_set_key()
115 if (unlikely(!sctx->fc)) { in crypto_aes_encrypt()
119 cpacf_km(sctx->fc, &sctx->key, out, in, AES_BLOCK_SIZE); in crypto_aes_encrypt()
126 if (unlikely(!sctx->fc)) { in crypto_aes_decrypt()
130 cpacf_km(sctx->fc | CPACF_DECRYPT, in crypto_aes_decrypt()
[all …]
Dpaes_s390.c84 unsigned long fc; member
90 unsigned long fc; member
110 unsigned long fc; in __paes_set_key() local
116 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KM_PAES_128 : in __paes_set_key()
121 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __paes_set_key()
123 return ctx->fc ? 0 : -EINVAL; in __paes_set_key()
172 k = cpacf_km(ctx->fc | modifier, ctx->pk.protkey, in ecb_paes_crypt()
245 unsigned long fc; in __cbc_paes_set_key() local
251 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KMC_PAES_128 : in __cbc_paes_set_key()
256 ctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in __cbc_paes_set_key()
[all …]
Ddes_s390.c82 static int ecb_desall_crypt(struct blkcipher_desc *desc, unsigned long fc, in ecb_desall_crypt() argument
93 cpacf_km(fc, ctx->key, walk->dst.virt.addr, in ecb_desall_crypt()
100 static int cbc_desall_crypt(struct blkcipher_desc *desc, unsigned long fc, in cbc_desall_crypt() argument
117 cpacf_kmc(fc, &param, walk->dst.virt.addr, in cbc_desall_crypt()
367 static int ctr_desall_crypt(struct blkcipher_desc *desc, unsigned long fc, in ctr_desall_crypt() argument
383 cpacf_kmctr(fc, ctx->key, walk->dst.virt.addr, in ctr_desall_crypt()
395 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.h185 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (opcode) in __cpacf_query()
262 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KM) in cpacf_km()
292 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KMC) in cpacf_kmc()
318 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KIMD) in cpacf_kimd()
341 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KLMD) in cpacf_klmd()
367 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KMAC) in cpacf_kmac()
400 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KMCTR) in cpacf_kmctr()
431 : [fc] "d" (r0), [pba] "a" (r1), in cpacf_prno()
457 : [fc] "d" (r0), [opc] "i" (CPACF_PRNO) in cpacf_trng()
476 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_PCC) in cpacf_pcc()
[all …]
Dnmi.h76 u64 fc : 1; /* 43 fp control register validity */ member
Dtopology.h45 int topology_set_cpu_management(int fc);
Dsysinfo.h187 int stsi(void *sysinfo, int fc, int sel1, int sel2);
Dpci_insn.h87 u8 fc; /* function controls */ member
/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/s390/hypfs/
Dinode.c223 static int hypfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in hypfs_parse_param() argument
225 struct hypfs_sb_info *hypfs_info = fc->s_fs_info; in hypfs_parse_param()
231 opt = fs_parse(fc, &hypfs_fs_parameters, param, &result); in hypfs_parse_param()
239 return invalf(fc, "Unknown uid"); in hypfs_parse_param()
245 return invalf(fc, "Unknown gid"); in hypfs_parse_param()
261 static int hypfs_fill_super(struct super_block *sb, struct fs_context *fc) in hypfs_fill_super() argument
296 static int hypfs_get_tree(struct fs_context *fc) in hypfs_get_tree() argument
298 return get_tree_single(fc, hypfs_fill_super); in hypfs_get_tree()
301 static void hypfs_free_fc(struct fs_context *fc) in hypfs_free_fc() argument
303 kfree(fc->s_fs_info); in hypfs_free_fc()
[all …]
/arch/powerpc/platforms/cell/spufs/
Dinode.c619 static int spufs_parse_param(struct fs_context *fc, struct fs_parameter *param) in spufs_parse_param() argument
621 struct spufs_fs_context *ctx = fc->fs_private; in spufs_parse_param()
622 struct spufs_sb_info *sbi = fc->s_fs_info; in spufs_parse_param()
628 opt = fs_parse(fc, &spufs_fs_parameters, param, &result); in spufs_parse_param()
636 return invalf(fc, "Unknown uid"); in spufs_parse_param()
642 return invalf(fc, "Unknown gid"); in spufs_parse_param()
687 static int spufs_create_root(struct super_block *sb, struct fs_context *fc) in spufs_create_root() argument
689 struct spufs_fs_context *ctx = fc->fs_private; in spufs_create_root()
720 static int spufs_fill_super(struct super_block *sb, struct fs_context *fc) in spufs_fill_super() argument
728 return spufs_create_root(sb, fc); in spufs_fill_super()
[all …]
/arch/arm/boot/dts/
Ddra76x.dtsi50 dpll_gmac_h14x2_ctrl_ck: dpll_gmac_h14x2_ctrl_ck@3fc {
62 dpll_gmac_h14x2_ctrl_mux_ck: dpll_gmac_h14x2_ctrl_mux_ck@3fc {
73 mcan_clk: mcan_clk@3fc {
/arch/powerpc/math-emu/
Dmath_efp.c181 unsigned long type, func, fc, fa, fb, src, speinsn; in do_spe_mathemu() local
194 fc = (speinsn >> 21) & 0x1f; in do_spe_mathemu()
199 vc.wp[0] = current->thread.evr[fc]; in do_spe_mathemu()
200 vc.wp[1] = regs->gpr[fc]; in do_spe_mathemu()
681 current->thread.evr[fc] = vc.wp[0]; in do_spe_mathemu()
682 regs->gpr[fc] = vc.wp[1]; in do_spe_mathemu()
728 unsigned long speinsn, type, fb, fc, fptype, func; in speround_handler() local
750 fc = (speinsn >> 21) & 0x1f; in speround_handler()
751 s_lo = regs->gpr[fc] & SIGN_BIT_S; in speround_handler()
752 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()
476 #define STSI_FILE(fc, s1, s2) \ argument
477 static int stsi_open_##fc##_##s1##_##s2(struct inode *inode, struct file *file)\
482 if (stsi(file->private_data, fc, s1, s2)) { \
490 static const struct file_operations stsi_##fc##_##s1##_##s2##_fs_ops = { \
491 .open = stsi_open_##fc##_##s1##_##s2, \
Dtopology.c218 static int ptf(unsigned long fc) in ptf() argument
227 : "d" (fc) : "cc"); in ptf()
231 int topology_set_cpu_management(int fc) in topology_set_cpu_management() argument
237 if (fc) in topology_set_cpu_management()
/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()
1097 if (rtte.fc && sg->edat_level >= 2) { in kvm_s390_shadow_tables()
1133 if (ste.fc && sg->edat_level >= 1) { in kvm_s390_shadow_tables()
Dpriv.c616 uint8_t fc; in handle_pqap() local
631 fc = (reg0 >> 24) & 0xff; in handle_pqap()
632 if (WARN_ON_ONCE(fc != 0x03)) in handle_pqap()
832 u8 fc, u8 sel1, u16 sel2) in insert_stsi_usr_data() argument
837 vcpu->run->s390_stsi.fc = fc; in insert_stsi_usr_data()
844 int fc = (vcpu->run->s.regs.gprs[0] & 0xf0000000) >> 28; in handle_stsi() local
853 VCPU_EVENT(vcpu, 3, "STSI: fc: %u sel1: %u sel2: %u", fc, sel1, sel2); in handle_stsi()
858 if (fc > 3) { in handle_stsi()
867 if (fc == 0) { in handle_stsi()
878 switch (fc) { in handle_stsi()
[all …]
/arch/alpha/math-emu/
Dmath.c107 unsigned long fa, fb, fc, func, mode, src; in alpha_fp_emul() local
113 fc = (insn >> 0) & 0x1f; /* destination register */ in alpha_fp_emul()
277 alpha_write_fp_reg_s(fc, vc); in alpha_fp_emul()
285 alpha_write_fp_reg(fc, vc); in alpha_fp_emul()
/arch/ia64/lib/
Dflush.S53 .Loop: fc.i r24 // issuable on M0 only
109 fc r24 // issuable on M0 only
/arch/x86/platform/uv/
Dbios_uv.c90 s64 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher, in uv_bios_get_sn_info() argument
97 ret = uv_bios_call_irqsave(UV_BIOS_GET_SN_INFO, fc, in uv_bios_get_sn_info()
/arch/powerpc/crypto/
Daes-tab-4k.S75 .long R(40, 20, 20, 60), R(e3, fc, fc, 1f)
102 .long R(fc, 7e, 7e, 82), R(7a, 3d, 3d, 47)
159 .long R(7b, b0, b0, cb), R(a8, 54, 54, fc)
170 .long R(4f, e5, d7, fc), R(c5, 2a, cb, d7)
233 .long R(b6, ed, fc, 68), R(b8, e4, f1, 63)
242 .long R(a8, fc, 8c, c4), R(a0, f0, 3f, 1a)
264 .long R(74, 4e, bc, 37), R(fc, 82, ca, a6)
/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c1944 static int rdt_get_tree(struct fs_context *fc) in rdt_get_tree() argument
1946 struct rdt_fs_context *ctx = rdt_fc2context(fc); in rdt_get_tree()
1991 ret = kernfs_get_tree(fc); in rdt_get_tree()
2052 static int rdt_parse_param(struct fs_context *fc, struct fs_parameter *param) in rdt_parse_param() argument
2054 struct rdt_fs_context *ctx = rdt_fc2context(fc); in rdt_parse_param()
2058 opt = fs_parse(fc, &rdt_fs_parameters, param, &result); in rdt_parse_param()
2079 static void rdt_fs_context_free(struct fs_context *fc) in rdt_fs_context_free() argument
2081 struct rdt_fs_context *ctx = rdt_fc2context(fc); in rdt_fs_context_free()
2083 kernfs_free_fs_context(fc); in rdt_fs_context_free()
2093 static int rdt_init_fs_context(struct fs_context *fc) in rdt_init_fs_context() argument
[all …]
/arch/ia64/include/uapi/asm/
Dintrinsics.h102 #define ia64_fc IA64_INTRINSIC_API(fc)

12