Home
last modified time | relevance | path

Searched refs:key1 (Results 1 – 25 of 57) sorted by relevance

123

/linux/drivers/input/keyboard/
H A Dep93xx_keypad.c71 int key1; member
84 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local
89 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler()
95 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler()
96 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
98 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler()
101 input_report_key(input_dev, key1, 1); in ep93xx_keypad_irq_handler()
104 keypad->key1 = key1; in ep93xx_keypad_irq_handler()
108 if (keypad->key1 && key1 != keypad->key1) in ep93xx_keypad_irq_handler()
109 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
[all …]
/linux/tools/testing/selftests/alsa/
H A Dconf.c349 static int conf_get_by_keys(snd_config_t *root, const char *key1, in conf_get_by_keys() argument
354 if (key1) { in conf_get_by_keys()
355 ret = snd_config_search(root, key1, &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/fs/xfs/libxfs/
H A Dxfs_btree.h188 const union xfs_btree_key *key1,
216 const union xfs_btree_key *key1,
533 const union xfs_btree_key *key1,
549 const union xfs_btree_key *key1, in xfs_btree_keycmp_lt() argument
552 return cur->bc_ops->cmp_two_keys(cur, key1, key2, NULL) < 0; in xfs_btree_keycmp_lt()
558 const union xfs_btree_key *key1, in xfs_btree_keycmp_gt() argument
561 return cur->bc_ops->cmp_two_keys(cur, key1, key2, NULL) > 0; in xfs_btree_keycmp_gt()
567 const union xfs_btree_key *key1, in xfs_btree_keycmp_eq() argument
570 return cur->bc_ops->cmp_two_keys(cur, key1, key2, NULL) == 0; in xfs_btree_keycmp_eq()
576 const union xfs_btree_key *key1, in xfs_btree_keycmp_le() argument
[all …]
/linux/fs/befs/
H A Dbtree.c119 static int befs_compare_strings(const void *key1, int keylen1,
711 befs_compare_strings(const void *key1, int keylen1, in befs_compare_strings() argument
715 int result = strncmp(key1, key2, len); in befs_compare_strings()
724 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2)
726 return *(int32_t *) key1 - *(int32_t *) key2;
730 btree_compare_uint32(cont void *key1, int keylen1,
733 if (*(u_int32_t *) key1 == *(u_int32_t *) key2)
735 else if (*(u_int32_t *) key1 > *(u_int32_t *) key2)
741 btree_compare_int64(cont void *key1, int keylen1, const void *key2, int keylen2)
743 if (*(int64_t *) key1 == *(int64_t *) key2)
[all …]
/linux/arch/arm/crypto/
H A Daes-ce-core.S26 .macro enc_dround, key1, key2
27 enc_round q0, \key1
31 .macro dec_dround, key1, key2
32 dec_round q0, \key1
36 .macro enc_fround, key1, key2, key3
37 enc_round q0, \key1
42 .macro dec_fround, key1, key2, key3
43 dec_round q0, \key1
48 .macro enc_dround_4x, key1, key2
49 enc_round q0, \key1
[all …]
/linux/fs/ubifs/
H A Dkey.h479 const union ubifs_key *key1, 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()
504 const union ubifs_key *key1, 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()
H A Dtnc_misc.c386 const union ubifs_key *key1, *key2; in read_znode() local
388 key1 = &znode->zbranch[i].key; in read_znode()
391 cmp = keys_cmp(c, key1, key2); in read_znode()
395 } else if (cmp == 0 && !is_hash_key(c, key1)) { in read_znode()
478 union ubifs_key key1, *key = &zbr->key; in ubifs_tnc_read_node() local
500 key_read(c, node + UBIFS_KEY_OFFSET, &key1); in ubifs_tnc_read_node()
501 if (!keys_eq(c, key, &key1)) { in ubifs_tnc_read_node()
505 dbg_tnck(&key1, "but found node's key "); in ubifs_tnc_read_node()
/linux/security/selinux/ss/
H A Davtab.c65 static int avtab_node_cmp(const struct avtab_key *key1, in avtab_node_cmp() argument
68 u16 specified = key1->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_node_cmp()
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()
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 in avtab_node_cmp()
[all...]
H A Dsymtab.c28 static int symcmp(const void *key1, const void *key2) in symcmp() argument
32 keyp1 = key1; in symcmp()
/linux/net/mptcp/
H A Dcrypto_test.c37 u64 key1, key2; in mptcp_crypto_test_basic() local
43 key1 = be64_to_cpu(*((__be64 *)&tests[i].key[0])); in mptcp_crypto_test_basic()
51 mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac); in mptcp_crypto_test_basic()
/linux/kernel/futex/
H A Drequeue.c81 * If key1 and key2 hash to the same bucket, no need to in requeue_futex()
259 * @key1: the from futex key
282 struct futex_hash_bucket *hb2, union futex_key *key1, in futex_proxy_trylock_atomic() argument
304 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic()
386 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_requeue() local
445 ret = get_futex_key(uaddr1, flags1, &key1, FUTEX_READ); in futex_requeue()
457 if (requeue_pi && futex_match(&key1, &key2)) in futex_requeue()
462 CLASS(hbr, hbr1)(&key1); in futex_requeue()
505 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, in futex_requeue()
595 if (!futex_match(&this->key, &key1)) in futex_requeue()
[all...]
/linux/tools/testing/selftests/hid/tests/
H A Dtest_gamepad.py72 key1 = libevdev.evbit(uhdev.buttons_map[b1])
78 expected_event0 = libevdev.InputEvent(key1, 1)
85 assert evdev.value[key1] == 1
90 expected_event = libevdev.InputEvent(key1, 0)
94 assert evdev.value[key1] == 0
103 assert evdev.value[key1] == 0
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtimer_mim.c10 int err, prog_fd, key1 = 1; in timer_mim() local
38 err = bpf_map__delete_elem(timer_skel->maps.outer_arr, &key1, sizeof(key1), 0); in timer_mim()
/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
32 mix(key1); 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/arm64/crypto/
H A Dsm4-ce-glue.c56 struct sm4_ctx key1; member
97 sm4_ce_expand_key(key, ctx->key1.rkey_enc, in sm4_xts_setkey()
98 ctx->key1.rkey_dec, crypto_sm4_fk, crypto_sm4_ck); in sm4_xts_setkey()
355 sm4_ce_xts_enc(ctx->key1.rkey_enc, walk.dst.virt.addr, in sm4_xts_crypt()
359 sm4_ce_xts_dec(ctx->key1.rkey_dec, walk.dst.virt.addr, in sm4_xts_crypt()
387 sm4_ce_xts_enc(ctx->key1.rkey_enc, walk.dst.virt.addr, in sm4_xts_crypt()
391 sm4_ce_xts_dec(ctx->key1.rkey_dec, walk.dst.virt.addr, in sm4_xts_crypt()
/linux/kernel/bpf/
H A Dlocal_storage.c43 const struct bpf_cgroup_storage_key *key1 = _key1; in bpf_cgroup_storage_key_cmp() local
46 if (key1->cgroup_inode_id < key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp()
48 else if (key1->cgroup_inode_id > key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp()
50 else if (key1->attach_type < key2->attach_type) in bpf_cgroup_storage_key_cmp()
52 else if (key1->attach_type > key2->attach_type) in bpf_cgroup_storage_key_cmp()
/linux/tools/lib/bpf/
H A Dstrset.c30 static bool strset_equal_fn(long key1, long key2, void *ctx) in strset_equal_fn() argument
33 const char *str1 = s->strs_data + key1; in strset_equal_fn()
/linux/drivers/net/wireless/ath/
H A Dkey.c134 u32 key0, key1, key2, key3, key4; in ath_hw_set_keycache_entry() local
185 key1 = get_unaligned_le16(k->kv_val + 4); in ath_hw_set_keycache_entry()
209 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1); in ath_hw_set_keycache_entry()
312 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ath_hw_set_keycache_entry()
320 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ath_hw_set_keycache_entry()
/linux/tools/bootconfig/samples/
H A Dbad-manywords.bconf1 key1.is2.too3.long4.5.6.7.8.9.10.11.12.13.14.15.16.17
H A Descaped.bconf1 key1 = "A\B\C"
H A Dexp-good-nested-brace.bconf1 key1.key2.key3.key4.key5.key6.key7.key8.key9.key10.key11.key12.key13.key14.key15.key16;
H A Dgood-nested-brace.bconf1 key1 {
H A Dbad-over-max-brace.bconf1 key1 {

123