Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 25 of 72) sorted by relevance

123

/linux/drivers/input/keyboard/
H A Dep93xx_keypad.c72 int key2; member
84 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local
92 key2 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler()
95 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler()
98 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler()
99 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler()
102 input_report_key(input_dev, key2, 1); in ep93xx_keypad_irq_handler()
105 keypad->key2 = key2; in ep93xx_keypad_irq_handler()
111 if (keypad->key2 && key1 != keypad->key2) in ep93xx_keypad_irq_handler()
112 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler()
[all …]
/linux/tools/testing/selftests/alsa/
H A Dconf.c350 const char *key2, snd_config_t **result) in conf_get_by_keys() argument
359 if (key2) in conf_get_by_keys()
360 ret = snd_config_search(root, key2, &root); in conf_get_by_keys()
366 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2) in conf_get_subtree() argument
372 ret = conf_get_by_keys(root, key1, key2, &root); in conf_get_subtree()
376 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_subtree()
380 int conf_get_count(snd_config_t *root, const char *key1, const char *key2) in conf_get_count() argument
388 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_count()
392 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_count()
394 ksft_exit_fail_msg("key '%s'.'%s' is not a compound\n", key1, key2); in conf_get_count()
[all …]
H A Dalsa-local.h19 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2);
20 int conf_get_count(snd_config_t *root, const char *key1, const char *key2);
21 const char *conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def…
22 long conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def);
23 int conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def);
24 void conf_get_string_array(snd_config_t *root, const char *key1, const char *key2,
/linux/kernel/futex/
H A Drequeue.c77 struct futex_hash_bucket *hb2, union futex_key *key2) in requeue_futex() argument
96 q->key = *key2; in requeue_futex()
283 union futex_key *key2, struct futex_pi_state **ps, in futex_proxy_trylock_atomic() argument
318 if (!futex_match(top_waiter->requeue_pi_key, key2)) in futex_proxy_trylock_atomic()
333 ret = futex_lock_pi_atomic(pifutex, hb2, key2, ps, top_waiter->task, in futex_proxy_trylock_atomic()
342 requeue_pi_wake_futex(top_waiter, key2, hb2); in futex_proxy_trylock_atomic()
383 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_requeue() local
445 ret = get_futex_key(uaddr2, flags2, &key2, in futex_requeue()
454 if (requeue_pi && futex_match(&key1, &key2)) in futex_requeue()
460 CLASS(hb, hb2)(&key2); in futex_requeue()
[all …]
H A Dwaitwake.c254 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_wake_op() local
263 ret = get_futex_key(uaddr2, flags, &key2, FUTEX_WRITE); in futex_wake_op()
270 CLASS(hb, hb2)(&key2); in futex_wake_op()
314 if (futex_match(&this->key, &key2)) { in futex_wake_op()
592 struct futex_q *q, union futex_key *key2, in futex_wait_setup() argument
647 if (key2 && futex_match(&q->key, key2)) { in futex_wait_setup()
/linux/fs/xfs/libxfs/
H A Dxfs_btree.h189 const union xfs_btree_key *key2,
217 const union xfs_btree_key *key2,
534 const union xfs_btree_key *key2);
550 const union xfs_btree_key *key2) in xfs_btree_keycmp_lt() argument
552 return cur->bc_ops->cmp_two_keys(cur, key1, key2, NULL) < 0; in xfs_btree_keycmp_lt()
559 const union xfs_btree_key *key2) in xfs_btree_keycmp_gt() argument
561 return cur->bc_ops->cmp_two_keys(cur, key1, key2, NULL) > 0; in xfs_btree_keycmp_gt()
568 const union xfs_btree_key *key2) in xfs_btree_keycmp_eq() argument
570 return cur->bc_ops->cmp_two_keys(cur, key1, key2, NULL) == 0; in xfs_btree_keycmp_eq()
577 const union xfs_btree_key *key2) in xfs_btree_keycmp_le() argument
[all …]
/linux/fs/befs/
H A Dbtree.c120 const void *key2, int keylen2);
713 const void *key2, int keylen2) in befs_compare_strings() argument
716 int result = strncmp(key1, key2, len); in befs_compare_strings()
725 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2)
727 return *(int32_t *) key1 - *(int32_t *) key2;
732 const void *key2, int keylen2)
734 if (*(u_int32_t *) key1 == *(u_int32_t *) key2)
736 else if (*(u_int32_t *) key1 > *(u_int32_t *) key2)
742 btree_compare_int64(cont void *key1, int keylen1, const void *key2, int keylen2)
744 if (*(int64_t *) key1 == *(int64_t *) key2)
[all …]
/linux/arch/arm/crypto/
H A Daes-ce-core.S26 .macro enc_dround, key1, key2 argument
28 enc_round q0, \key2
31 .macro dec_dround, key1, key2 argument
33 dec_round q0, \key2
36 .macro enc_fround, key1, key2, key3
38 aese.8 q0, \key2
42 .macro dec_fround, key1, key2, key3
44 aesd.8 q0, \key2
48 .macro enc_dround_4x, key1, key2 argument
53 enc_round q0, \key2
[all …]
/linux/lib/crypto/tests/
H A Dpolyval_kunit.c96 const struct polyval_key *key2) in check_key_consistency() argument
103 KUNIT_ASSERT_MEMEQ(test, key1, key2, sizeof(*key1)); in check_key_consistency()
109 polyval(key2, data, len, hash2); in check_key_consistency()
119 struct polyval_key key1, key2; in test_polyval_with_guarded_key() local
129 polyval_preparekey(&key2, guarded_raw_key); in test_polyval_with_guarded_key()
130 check_key_consistency(test, &key1, &key2); in test_polyval_with_guarded_key()
/linux/fs/ubifs/
H A Dkey.h480 const union ubifs_key *key2) in keys_cmp() argument
482 if (key1->u32[0] < key2->u32[0]) in keys_cmp()
484 if (key1->u32[0] > key2->u32[0]) in keys_cmp()
486 if (key1->u32[1] < key2->u32[1]) in keys_cmp()
488 if (key1->u32[1] > key2->u32[1]) in keys_cmp()
505 const union ubifs_key *key2) in keys_eq() argument
507 if (key1->u32[0] != key2->u32[0]) in keys_eq()
509 if (key1->u32[1] != key2->u32[1]) in keys_eq()
/linux/net/mptcp/
H A Dcrypto_test.c37 u64 key1, key2; in mptcp_crypto_test_basic() local
44 key2 = be64_to_cpu(*((__be64 *)&tests[i].key[8])); in mptcp_crypto_test_basic()
51 mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac); in mptcp_crypto_test_basic()
/linux/security/selinux/ss/
H A Davtab.c66 const struct avtab_key *key2) in avtab_node_cmp() argument
70 if (key1->source_type == key2->source_type && in avtab_node_cmp()
71 key1->target_type == key2->target_type && in avtab_node_cmp()
72 key1->target_class == key2->target_class && in avtab_node_cmp()
73 (specified & key2->specified)) in avtab_node_cmp()
75 if (key1->source_type < key2->source_type) in avtab_node_cmp()
77 if (key1->source_type == key2->source_type && in avtab_node_cmp()
78 key1->target_type < key2->target_type) in avtab_node_cmp()
80 if (key1->source_type == key2->source_type && in avtab_node_cmp()
81 key1->target_type == key2->target_type && in avtab_node_cmp()
[all …]
H A Dsymtab.c28 static int symcmp(const void *key1, const void *key2) in symcmp() argument
33 keyp2 = key2; in symcmp()
/linux/tools/testing/selftests/hid/tests/
H A Dtest_gamepad.py74 key2 = libevdev.evbit(uhdev.buttons_map[b2])
79 expected_event1 = libevdev.InputEvent(key2, 1)
86 assert evdev.value[key2] == 1
95 assert evdev.value[key2] == 1
99 expected_event = libevdev.InputEvent(key2, 0)
104 assert evdev.value[key2] == 0
/linux/security/selinux/include/
H A Dhash.h10 static inline u32 av_hash(u32 key1, u32 key2, u32 key3, u32 mask) in av_hash() argument
33 mix(key2); in av_hash()
/linux/tools/perf/util/
H A Dfncache.c18 static bool fncache__equal(long key1, long key2, void *ctx __maybe_unused) in fncache__equal() argument
20 return strcmp((const char *)key1, (const char *)key2) == 0; in fncache__equal()
/linux/arch/powerpc/crypto/
H A Daesp8-ppc.h28 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
30 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
/linux/arch/arm64/crypto/
H A Dsm4-ce-glue.c57 struct sm4_ctx key2; member
99 sm4_ce_expand_key(&key[SM4_KEY_SIZE], ctx->key2.rkey_enc, in sm4_xts_setkey()
100 ctx->key2.rkey_dec, crypto_sm4_fk, crypto_sm4_ck); in sm4_xts_setkey()
315 const u32 *rkey2_enc = ctx->key2.rkey_enc; in sm4_xts_crypt()
542 u8 __aligned(8) key2[SM4_BLOCK_SIZE]; in sm4_xcbc_setkey()
556 sm4_ce_crypt_block(ctx->key.rkey_enc, key2, ks[0]); in sm4_xcbc_setkey()
559 sm4_ce_expand_key(key2, ctx->key.rkey_enc, ctx->key.rkey_dec, in sm4_xcbc_setkey()
H A Daes-glue.c120 struct crypto_aes_ctx __aligned(8) key2;
125 struct crypto_aes_ctx __aligned(8) key2;
157 ret = aes_expandkey(&ctx->key2, &in_key[key_len / 2], in xts_set_key()
176 return aes_expandkey(&ctx->key2, digest, sizeof(digest)); in essiv_cbc_set_key()
401 req->iv, ctx->key2.key_enc); in essiv_cbc_encrypt()
423 req->iv, ctx->key2.key_enc); in essiv_cbc_decrypt()
561 ctx->key2.key_enc, walk.iv, first); in xts_encrypt()
581 ctx->key2.key_enc, walk.iv, first); in xts_encrypt()
630 ctx->key2.key_enc, walk.iv, first); in xts_decrypt()
650 ctx->key2.key_enc, walk.iv, first); in xts_decrypt()
/linux/tools/lib/bpf/
H A Dstrset.c30 static bool strset_equal_fn(long key1, long key2, void *ctx) in strset_equal_fn() argument
34 const char *str2 = s->strs_data + key2; in strset_equal_fn()
/linux/fs/hfs/
H A Dextent.c50 int hfs_ext_keycmp(const btree_key *key1, const btree_key *key2) in hfs_ext_keycmp() argument
56 fnum2 = key2->ext.FNum; in hfs_ext_keycmp()
59 if (key1->ext.FkType != key2->ext.FkType) in hfs_ext_keycmp()
60 return key1->ext.FkType < key2->ext.FkType ? -1 : 1; in hfs_ext_keycmp()
63 block2 = key2->ext.FABN; in hfs_ext_keycmp()
/linux/tools/bootconfig/samples/
H A Descaped.bconf2 key2 = '\'\''
H A Dgood-single.bconf3 key2 = 2
/linux/tools/perf/Documentation/
H A Dperf-kmem.txt45 -s <key[,key2...]>::
46 --sort=<key[,key2...]>::
/linux/arch/powerpc/kernel/vdso/
H A Dvgetrandom-chacha.S25 #define key2 r7 macro
184 lwz key2, 8(key)
208 mr state6, key2
238 add state6, state6, key2

123