/Linux-v5.4/drivers/hid/ |
D | hid-prodikeys.c | 53 struct pk_device *pk; member 103 struct pk_device *pk = hid_get_drvdata(hdev); in show_channel() local 105 dbg_hid("pcmidi sysfs read channel=%u\n", pk->pm->midi_channel); in show_channel() 107 return sprintf(buf, "%u (min:%u, max:%u)\n", pk->pm->midi_channel, in show_channel() 116 struct pk_device *pk = hid_get_drvdata(hdev); in store_channel() local 122 pk->pm->midi_channel = channel; in store_channel() 140 struct pk_device *pk = hid_get_drvdata(hdev); in show_sustain() local 142 dbg_hid("pcmidi sysfs read sustain=%u\n", pk->pm->midi_sustain); in show_sustain() 144 return sprintf(buf, "%u (off:%u, max:%u (ms))\n", pk->pm->midi_sustain, in show_sustain() 153 struct pk_device *pk = hid_get_drvdata(hdev); in store_sustain() local [all …]
|
/Linux-v5.4/arch/s390/crypto/ |
D | paes_s390.c | 83 struct pkey_protkey pk; member 89 struct pkey_protkey pk[2]; member 94 struct pkey_protkey *pk) in __paes_convert_key() argument 100 ret = pkey_keyblob2pkey(kb->key, kb->keylen, pk); in __paes_convert_key() 112 if (__paes_convert_key(&ctx->kb, &ctx->pk)) in __paes_set_key() 116 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KM_PAES_128 : in __paes_set_key() 117 (ctx->pk.type == PKEY_KEYTYPE_AES_192) ? CPACF_KM_PAES_192 : in __paes_set_key() 118 (ctx->pk.type == PKEY_KEYTYPE_AES_256) ? CPACF_KM_PAES_256 : 0; in __paes_set_key() 172 k = cpacf_km(ctx->fc | modifier, ctx->pk.protkey, in ecb_paes_crypt() 247 if (__paes_convert_key(&ctx->kb, &ctx->pk)) in __cbc_paes_set_key() [all …]
|
/Linux-v5.4/arch/s390/kernel/ |
D | suspend.c | 79 struct page_key_data *pk; in page_key_alloc() local 84 pk = (struct page_key_data *) get_zeroed_page(GFP_KERNEL); in page_key_alloc() 85 if (!pk) { in page_key_alloc() 89 pk->next = page_key_data; in page_key_alloc() 90 page_key_data = pk; in page_key_alloc()
|
/Linux-v5.4/crypto/ |
D | ecc.c | 1388 struct ecc_point *pk; in ecc_make_pub_key() local 1399 pk = ecc_alloc_point(ndigits); in ecc_make_pub_key() 1400 if (!pk) { in ecc_make_pub_key() 1405 ecc_point_mult(pk, &curve->g, priv, NULL, curve, ndigits); in ecc_make_pub_key() 1406 if (ecc_point_is_zero(pk)) { in ecc_make_pub_key() 1411 ecc_swap_digits(pk->x, public_key, ndigits); in ecc_make_pub_key() 1412 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key() 1415 ecc_free_point(pk); in ecc_make_pub_key() 1423 struct ecc_point *pk) in ecc_is_pubkey_valid_partial() argument 1427 if (WARN_ON(pk->ndigits != curve->g.ndigits)) in ecc_is_pubkey_valid_partial() [all …]
|
D | ecc.h | 148 struct ecc_point *pk);
|
/Linux-v5.4/arch/x86/mm/ |
D | pkeys.c | 157 struct pkru_state *pk; in init_pkru_write_file() local 180 pk = get_xsave_addr(&init_fpstate.xsave, XFEATURE_PKRU); in init_pkru_write_file() 181 if (!pk) in init_pkru_write_file() 183 pk->pkru = new_init_pkru; in init_pkru_write_file()
|
/Linux-v5.4/arch/x86/include/asm/fpu/ |
D | internal.h | 596 struct pkru_state *pk; in switch_fpu_finish() local 611 pk = get_xsave_addr(&new_fpu->state.xsave, XFEATURE_PKRU); in switch_fpu_finish() 612 if (pk) in switch_fpu_finish() 613 pkru_val = pk->pkru; in switch_fpu_finish()
|
/Linux-v5.4/fs/btrfs/ |
D | file-item.c | 656 struct btrfs_key pk; in btrfs_del_csums() local 658 btrfs_item_key_to_cpu(leaf, &pk, slot); in btrfs_del_csums() 659 if (pk.offset < bytenr || in btrfs_del_csums() 660 pk.type != BTRFS_EXTENT_CSUM_KEY || in btrfs_del_csums() 661 pk.objectid != in btrfs_del_csums() 666 key.offset = pk.offset; in btrfs_del_csums()
|
/Linux-v5.4/crypto/asymmetric_keys/ |
D | public_key.c | 327 const struct public_key *pk = key->payload.data[asym_crypto]; in public_key_verify_signature_2() local 328 return public_key_verify_signature(pk, sig); in public_key_verify_signature_2()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | pgtable.h | 138 struct pkru_state *pk; in write_pkru() local 143 pk = get_xsave_addr(¤t->thread.fpu.state.xsave, XFEATURE_PKRU); in write_pkru() 151 if (pk) in write_pkru() 152 pk->pkru = pkru; in write_pkru()
|
/Linux-v5.4/arch/x86/kernel/cpu/ |
D | common.c | 447 struct pkru_state *pk; in setup_pku() local 459 pk = get_xsave_addr(&init_fpstate.xsave, XFEATURE_PKRU); in setup_pku() 460 if (pk) in setup_pku() 461 pk->pkru = init_pkru_value; in setup_pku()
|
/Linux-v5.4/arch/ia64/include/asm/ |
D | processor.h | 95 __u64 pk : 1; member
|
/Linux-v5.4/Documentation/ia64/ |
D | fsys.rst | 207 PSR.pk Unchanged.
|
/Linux-v5.4/net/bluetooth/ |
D | smp.c | 3538 u8 pk[64]; in test_debug_key() local 3545 err = generate_ecdh_public_key(tfm_ecdh, pk); in test_debug_key() 3549 if (crypto_memneq(pk, debug_pk, 64)) in test_debug_key()
|