Home
last modified time | relevance | path

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

12

/arch/s390/crypto/
Daes_s390.c46 unsigned long fc; member
57 unsigned long fc; member
88 unsigned long fc; in aes_set_key() local
91 fc = (key_len == 16) ? CPACF_KM_AES_128 : in aes_set_key()
96 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in aes_set_key()
97 if (!sctx->fc) in aes_set_key()
109 if (unlikely(!sctx->fc)) { in crypto_aes_encrypt()
113 cpacf_km(sctx->fc, &sctx->key, out, in, AES_BLOCK_SIZE); in crypto_aes_encrypt()
120 if (unlikely(!sctx->fc)) { in crypto_aes_decrypt()
124 cpacf_km(sctx->fc | CPACF_DECRYPT, in crypto_aes_decrypt()
[all …]
Dpaes_s390.c114 unsigned long fc; member
121 unsigned long fc; member
172 unsigned long fc; in __ecb_paes_set_key() local
178 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KM_PAES_128 : in __ecb_paes_set_key()
183 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __ecb_paes_set_key()
185 return ctx->fc ? 0 : -EINVAL; in __ecb_paes_set_key()
224 k = cpacf_km(ctx->fc | modifier, &param, in ecb_paes_crypt()
285 unsigned long fc; in __cbc_paes_set_key() local
291 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KMC_PAES_128 : in __cbc_paes_set_key()
296 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 skcipher_request *req, unsigned long fc) in ecb_desall_crypt() argument
101 cpacf_km(fc, ctx->key, walk.dst.virt.addr, in ecb_desall_crypt()
108 static int cbc_desall_crypt(struct skcipher_request *req, unsigned long fc) in cbc_desall_crypt() argument
128 cpacf_kmc(fc, &param, walk.dst.virt.addr, in cbc_desall_crypt()
318 static int ctr_desall_crypt(struct skcipher_request *req, unsigned long fc) in ctr_desall_crypt() argument
335 cpacf_kmctr(fc, ctx->key, walk.dst.virt.addr, in ctr_desall_crypt()
347 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.c218 static int hypfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in hypfs_parse_param() argument
220 struct hypfs_sb_info *hypfs_info = fc->s_fs_info; in hypfs_parse_param()
226 opt = fs_parse(fc, hypfs_fs_parameters, param, &result); in hypfs_parse_param()
234 return invalf(fc, "Unknown uid"); in hypfs_parse_param()
240 return invalf(fc, "Unknown gid"); in hypfs_parse_param()
256 static int hypfs_fill_super(struct super_block *sb, struct fs_context *fc) in hypfs_fill_super() argument
291 static int hypfs_get_tree(struct fs_context *fc) in hypfs_get_tree() argument
293 return get_tree_single(fc, hypfs_fill_super); in hypfs_get_tree()
296 static void hypfs_free_fc(struct fs_context *fc) in hypfs_free_fc() argument
298 kfree(fc->s_fs_info); in hypfs_free_fc()
[all …]
/arch/powerpc/platforms/cell/spufs/
Dinode.c612 static int spufs_parse_param(struct fs_context *fc, struct fs_parameter *param) in spufs_parse_param() argument
614 struct spufs_fs_context *ctx = fc->fs_private; in spufs_parse_param()
615 struct spufs_sb_info *sbi = fc->s_fs_info; in spufs_parse_param()
621 opt = fs_parse(fc, spufs_fs_parameters, param, &result); in spufs_parse_param()
629 return invalf(fc, "Unknown uid"); in spufs_parse_param()
635 return invalf(fc, "Unknown gid"); in spufs_parse_param()
681 static int spufs_create_root(struct super_block *sb, struct fs_context *fc) in spufs_create_root() argument
683 struct spufs_fs_context *ctx = fc->fs_private; in spufs_create_root()
714 static int spufs_fill_super(struct super_block *sb, struct fs_context *fc) in spufs_fill_super() argument
722 return spufs_create_root(sb, fc); in spufs_fill_super()
[all …]
/arch/powerpc/math-emu/
Dmath_efp.c182 unsigned long type, func, fc, fa, fb, src, speinsn; in do_spe_mathemu() local
195 fc = (speinsn >> 21) & 0x1f; in do_spe_mathemu()
200 vc.wp[0] = current->thread.evr[fc]; in do_spe_mathemu()
201 vc.wp[1] = regs->gpr[fc]; in do_spe_mathemu()
682 current->thread.evr[fc] = vc.wp[0]; in do_spe_mathemu()
683 regs->gpr[fc] = vc.wp[1]; in do_spe_mathemu()
729 unsigned long speinsn, type, fb, fc, fptype, func; in speround_handler() local
751 fc = (speinsn >> 21) & 0x1f; in speround_handler()
752 s_lo = regs->gpr[fc] & SIGN_BIT_S; in speround_handler()
753 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.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()
/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()
1104 if (rtte.fc && sg->edat_level >= 2) { in kvm_s390_shadow_tables()
1142 if (ste.fc && sg->edat_level >= 1) { in kvm_s390_shadow_tables()
Dpriv.c630 uint8_t fc; in handle_pqap() local
647 fc = (reg0 >> 24) & 0xff; in handle_pqap()
648 if (fc != 0x03) in handle_pqap()
848 u8 fc, u8 sel1, u16 sel2) in insert_stsi_usr_data() argument
853 vcpu->run->s390_stsi.fc = fc; in insert_stsi_usr_data()
860 int fc = (vcpu->run->s.regs.gprs[0] & 0xf0000000) >> 28; in handle_stsi() local
869 VCPU_EVENT(vcpu, 3, "STSI: fc: %u sel1: %u sel2: %u", fc, sel1, sel2); in handle_stsi()
874 if (fc > 3) { in handle_stsi()
883 if (fc == 0) { in handle_stsi()
894 switch (fc) { in handle_stsi()
[all …]
/arch/arm/boot/dts/
Ddra76x.dtsi92 dpll_gmac_h14x2_ctrl_ck: dpll_gmac_h14x2_ctrl_ck@3fc {
104 dpll_gmac_h14x2_ctrl_mux_ck: dpll_gmac_h14x2_ctrl_mux_ck@3fc {
115 mcan_clk: mcan_clk@3fc {
/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.c80 s64 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher, in uv_bios_get_sn_info() argument
87 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.c2104 static int rdt_get_tree(struct fs_context *fc) in rdt_get_tree() argument
2106 struct rdt_fs_context *ctx = rdt_fc2context(fc); in rdt_get_tree()
2149 ret = kernfs_get_tree(fc); in rdt_get_tree()
2205 static int rdt_parse_param(struct fs_context *fc, struct fs_parameter *param) in rdt_parse_param() argument
2207 struct rdt_fs_context *ctx = rdt_fc2context(fc); in rdt_parse_param()
2211 opt = fs_parse(fc, rdt_fs_parameters, param, &result); in rdt_parse_param()
2232 static void rdt_fs_context_free(struct fs_context *fc) in rdt_fs_context_free() argument
2234 struct rdt_fs_context *ctx = rdt_fc2context(fc); in rdt_fs_context_free()
2236 kernfs_free_fs_context(fc); in rdt_fs_context_free()
2246 static int rdt_init_fs_context(struct fs_context *fc) in rdt_init_fs_context() argument
[all …]
Dinternal.h59 static inline struct rdt_fs_context *rdt_fc2context(struct fs_context *fc) in rdt_fc2context() argument
61 struct kernfs_fs_context *kfc = fc->fs_private; in rdt_fc2context()

12