Home
last modified time | relevance | path

Searched refs:key (Results 651 – 675 of 5260) sorted by relevance

1...<<21222324252627282930>>...211

/openbmc/linux/drivers/input/keyboard/
H A Dhil_kbd.c170 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events() local
171 int up = key & HIL_KBD_SET1_UPBIT; in hil_dev_handle_kbd_events()
174 key = hil_kbd_set1[key >> HIL_KBD_SET1_SHIFT]; in hil_dev_handle_kbd_events()
175 input_report_key(dev, key, !up); in hil_dev_handle_kbd_events()
181 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events() local
182 int up = key & HIL_KBD_SET2_UPBIT; in hil_dev_handle_kbd_events()
185 key = key >> HIL_KBD_SET2_SHIFT; in hil_dev_handle_kbd_events()
186 input_report_key(dev, key, !up); in hil_dev_handle_kbd_events()
192 unsigned int key = kbd->data[i]; in hil_dev_handle_kbd_events() local
196 key = hil_kbd_set3[key >> HIL_KBD_SET3_SHIFT]; in hil_dev_handle_kbd_events()
[all …]
/openbmc/linux/fs/sysv/
H A Ditree.c61 sysv_zone_t key; member
69 p->key = *(p->p = v); in add_chain()
75 while (from <= to && from->key == *from->p) in verify_chain()
97 if (!p->key) in get_branch()
109 if (!p->key) in get_branch()
134 branch[0].key = sysv_new_block(inode->i_sb); in alloc_branch()
140 if (!branch[n].key) in alloc_branch()
156 *branch[n].p = branch[n].key; in alloc_branch()
183 *where->p = where->key; in splice_branch()
227 chain[depth-1].key)); in get_block()
[all …]
/openbmc/u-boot/fs/ubifs/
H A Dubifs.c304 union ubifs_key key; in ubifs_printdir() local
320 lowest_dent_key(c, &key, dir->i_ino); in ubifs_printdir()
353 key_hash_flash(c, &dent->key)); in ubifs_printdir()
365 key_read(c, &dent->key, &key); in ubifs_printdir()
396 union ubifs_key key; in ubifs_finddir() local
423 lowest_dent_key(c, &key, dir->i_ino); in ubifs_finddir()
425 dent = ubifs_tnc_next_ent(c, &key, &nm); in ubifs_finddir()
437 key_hash_flash(c, &dent->key)); in ubifs_finddir()
451 key_read(c, &dent->key, &key); in ubifs_finddir()
690 union ubifs_key key; in read_block() local
[all …]
/openbmc/qemu/hw/misc/macio/
H A Dmac_dbdma.c317 if (!addr || key > KEY_STREAM3) { in start_output()
343 if (!addr || key > KEY_STREAM3) { in start_input()
368 if (key != KEY_SYSTEM) { in load_word()
401 if (key != KEY_SYSTEM) { in store_word()
451 uint16_t cmd, key; in channel_run() local
474 key = le16_to_cpu(current->command) & 0x0700; in channel_run()
478 if (key == KEY_STREAM4) { in channel_run()
506 if (key < KEY_REGS) { in channel_run()
508 key = KEY_SYSTEM; in channel_run()
528 load_word(ch, key, phy_addr, req_count); in channel_run()
[all …]
/openbmc/qemu/hw/arm/
H A Dsmmu-common.c36 SMMUIOTLBKey *key = (SMMUIOTLBKey *)v; in smmu_iotlb_key_hash() local
40 a = b = c = JHASH_INITVAL + sizeof(*key); in smmu_iotlb_key_hash()
41 a += key->asid + key->vmid + key->level + key->tg; in smmu_iotlb_key_hash()
42 b += extract64(key->iova, 0, 32); in smmu_iotlb_key_hash()
43 c += extract64(key->iova, 32, 32); in smmu_iotlb_key_hash()
66 return key; in smmu_get_iotlb_key()
83 SMMUIOTLBKey key; in smmu_iotlb_lookup_all_levels() local
142 SMMUIOTLBKey *key = g_new0(SMMUIOTLBKey, 1); in smmu_iotlb_insert() local
153 g_hash_table_insert(bs->iotlb, key, new); in smmu_iotlb_insert()
166 SMMUIOTLBKey *iotlb_key = (SMMUIOTLBKey *)key; in smmu_hash_remove_by_asid_vmid()
[all …]
/openbmc/linux/net/openvswitch/
H A Dflow_netlink.h30 struct sw_flow_key *key, bool reset_key,
39 u64 attrs, struct sw_flow_key *key, bool log);
46 const struct nlattr *key, const struct nlattr *mask,
54 const struct sw_flow_key *key, bool log);
58 const struct sw_flow_key *key,
/openbmc/u-boot/doc/imx/habv4/csf_examples/additional_images/
H A Dcsf_additional_images.txt10 # Index of the key location in the SRK table to be installed
21 # Key slot index used to authenticate the key to be installed
23 # Target key slot in HAB key store where key will be installed
/openbmc/linux/samples/bpf/
H A Dlathist_kern.c23 __type(key, int);
66 __type(key, int);
75 int key, cpu; in bpf_prog2() local
89 key = cpu * MAX_ENTRIES + delta; in bpf_prog2()
90 val = bpf_map_lookup_elem(&my_lat, &key); in bpf_prog2()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtimer_mim.c18 __type(key, int);
39 static int timer_cb1(void *map, int *key, struct hmap_elem *val);
41 static int timer_cb2(void *map, int *key, struct hmap_elem *val) in timer_cb2() argument
52 static int timer_cb1(void *map, int *key, struct hmap_elem *val) in timer_cb1() argument
59 bpf_map_lookup_elem(map, key); in timer_cb1()
H A Dxdp_features.c35 __type(key, __u32);
42 __type(key, __u32);
137 __u32 *val, key = 0; in xdp_update_stats() local
143 val = bpf_map_lookup_elem(&dut_stats, &key); in xdp_update_stats()
145 val = bpf_map_lookup_elem(&stats, &key); in xdp_update_stats()
229 __u32 *val, key = 0; in BPF_PROG() local
231 val = bpf_map_lookup_elem(&dut_stats, &key); in BPF_PROG()
242 __u32 *val, key = 0; in BPF_PROG() local
244 val = bpf_map_lookup_elem(&dut_stats, &key); in BPF_PROG()
/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.py36 def add_stats(dict, key, value): argument
37 if key not in dict:
38 dict[key] = (value, value, value, 1)
40 min, max, avg, count = dict[key]
46 dict[key] = (min, max, avg, count + 1)
/openbmc/linux/drivers/crypto/vmx/
H A Daesp8-ppc.pl206 vcipherlast $key,$key,$rcon
226 vcipherlast $key,$key,$rcon
243 vcipherlast $key,$key,$rcon
281 vcipherlast $key,$key,$rcon
304 vcipherlast $key,$key,$rcon
358 vcipherlast $key,$key,$rcon
379 vsbox $key,$key
758 addi $key,$key,0x20
767 addi $key,$key,0x20
1479 addi $key,$key,0x20
[all …]
/openbmc/u-boot/drivers/input/
H A Dkey_matrix.c64 struct key_matrix_key *key = &keys[upto]; in key_matrix_decode() local
66 debug(" valid=%d, row=%d, col=%d\n", key->valid, key->row, in key_matrix_decode()
67 key->col); in key_matrix_decode()
68 if (!key->valid) in key_matrix_decode()
70 pos = key->row * config->num_cols + key->col; in key_matrix_decode()
/openbmc/linux/include/uapi/linux/
H A Dsed-opal.h62 __u8 key[OPAL_KEY_MAX]; member
70 struct opal_key key; member
124 struct opal_key key; member
130 struct opal_key key; member
136 struct opal_key key; member
150 struct opal_key key; member
192 struct opal_key key; member
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dsamsung-keypad.txt5 A key can be placed at each intersection of a unique row and a unique column.
6 The keypad controller can sense a key-press and key-release and report the
28 - Keys represented as child nodes: Each key connected to the keypad
31 - keypad,row: the row number to which the key is connected.
32 - keypad,column: the column number to which the key is connected.
33 - linux,code: the key-code to be reported when the key is pressed
/openbmc/phosphor-host-ipmid/app/
H A Dwatchdog_service.cpp112 T WatchdogService::getProperty(const std::string& key) in getProperty() argument
116 request.append(wd_intf, key); in getProperty()
130 return getProperty<T>(key); in getProperty()
133 "PROPERTY", key, "ERROR", e); in getProperty()
144 void WatchdogService::setProperty(const std::string& key, const T& val) in setProperty() argument
148 request.append(wd_intf, key, std::variant<T>(val)); in setProperty()
159 setProperty(key, val); in setProperty()
163 "PROPERTY", key, "ERROR", e); in setProperty()
/openbmc/linux/tools/perf/
H A Dbuiltin-lock.c55 #define lockhashentry(key) (lockhash_table + __lockhashfn((key))) argument
634 *key = tid; in get_key_by_aggr_mode_simple()
665 u64 key; in report_lock_acquire_event() local
740 u64 key; in report_lock_acquired_event() local
805 u64 key; in report_lock_contended_event() local
863 u64 key; in report_lock_release_event() local
1064 u64 key; in report_lock_contention_begin_event() local
1227 u64 key; in report_lock_contention_end_event() local
1413 key->print(key, st); in print_result()
1720 key->print(key, st); in print_lock_stat_stdio()
[all …]
/openbmc/u-boot/fs/btrfs/
H A Dctree.h222 struct btrfs_key key; member
244 struct btrfs_key key; member
286 return &p->nodes[0]->leaf.items[p->slots[0]].key; in btrfs_path_leaf_key()
293 struct btrfs_key key, *res; in btrfs_search_tree_key_type() local
295 key.objectid = objectid; in btrfs_search_tree_key_type()
296 key.type = type; in btrfs_search_tree_key_type()
297 key.offset = 0; in btrfs_search_tree_key_type()
299 if (btrfs_search_tree(root, &key, path)) in btrfs_search_tree_key_type()
303 if (btrfs_comp_keys_type(&key, res)) { in btrfs_search_tree_key_type()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.c829 rec->key[0] = packed_record[0]; in get_ingress_sakey_record()
832 rec->key[1] = packed_record[2]; in get_ingress_sakey_record()
835 rec->key[2] = packed_record[4]; in get_ingress_sakey_record()
838 rec->key[3] = packed_record[6]; in get_ingress_sakey_record()
841 rec->key[4] = packed_record[8]; in get_ingress_sakey_record()
844 rec->key[5] = packed_record[10]; in get_ingress_sakey_record()
1788 rec->key[0] = packed_record[0]; in get_egress_sakey_record()
1791 rec->key[1] = packed_record[2]; in get_egress_sakey_record()
1794 rec->key[2] = packed_record[4]; in get_egress_sakey_record()
1797 rec->key[3] = packed_record[6]; in get_egress_sakey_record()
[all …]
/openbmc/qemu/crypto/
H A Drsakey-nettle.c.inc59 const uint8_t *key, size_t keylen, Error **errp)
67 if (asn1_der_iterator_first(&i, keylen, key) != ASN1_ITERATOR_CONSTRUCTED ||
108 error_setg(errp, "Failed to parse RSA private key");
120 const uint8_t *key, size_t keylen, Error **errp)
126 if (asn1_der_iterator_first(&i, keylen, key) != ASN1_ITERATOR_CONSTRUCTED ||
138 error_setg(errp, "Failed to parse RSA public key");
144 QCryptoAkCipherKeyType type, const uint8_t *key,
149 return qcrypto_nettle_rsa_private_key_parse(key, keylen, errp);
152 return qcrypto_nettle_rsa_public_key_parse(key, keylen, errp);
155 error_setg(errp, "Unknown key type: %d", type);
/openbmc/linux/fs/afs/
H A Dfs_operation.c18 struct afs_operation *afs_alloc_operation(struct key *key, struct afs_volume *volume) in afs_alloc_operation() argument
28 if (!key) { in afs_alloc_operation()
29 key = afs_request_key(volume->cell); in afs_alloc_operation()
30 if (IS_ERR(key)) { in afs_alloc_operation()
32 return ERR_CAST(key); in afs_alloc_operation()
35 key_get(key); in afs_alloc_operation()
38 op->key = key; in afs_alloc_operation()
249 key_put(op->key); in afs_put_operation()
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Ds5pv210-smdkv210.dts87 key-1 {
93 key-2 {
99 key-3 {
105 key-4 {
111 key-5 {
118 key-6 {
123 key-7 {
129 key-8 {
135 key-9 {
141 key-10 {
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam3517-evm-ui.dtsi73 key-record {
79 key-play {
85 key-stop {
91 key-fwd {
97 key-rwd {
103 key-shift {
109 key-mode {
115 key-menu {
121 key-up {
127 key-down {
/openbmc/linux/arch/loongarch/crypto/
H A Dcrc32-loongarch.c104 u32 key; member
116 ctx->crc = mctx->key; in chksum_init()
125 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int keylen) in chksum_setkey() argument
129 if (keylen != sizeof(mctx->key)) in chksum_setkey()
132 mctx->key = get_unaligned_le32(key); in chksum_setkey()
199 return __chksum_finup(mctx->key, data, length, out); in chksum_digest()
206 return __chksumc_finup(mctx->key, data, length, out); in chksumc_digest()
213 mctx->key = 0; in chksum_cra_init()
221 mctx->key = ~0; in chksumc_cra_init()
/openbmc/bmcweb/http/
H A Dhttp_response.hpp50 void addHeader(std::string_view key, std::string_view value) in addHeader()
52 fields().insert(key, value); in addHeader()
55 void addHeader(http::field key, std::string_view value) in addHeader()
57 fields().insert(key, value); in addHeader()
60 void clearHeader(http::field key) in clearHeader()
62 fields().erase(key); in clearHeader()
153 std::string_view getHeaderValue(std::string_view key) const in getHeaderValue()
155 return fields()[key]; in getHeaderValue()
158 std::string_view getHeaderValue(boost::beast::http::field key) const in getHeaderValue()
160 return fields()[key]; in getHeaderValue()

1...<<21222324252627282930>>...211