Home
last modified time | relevance | path

Searched refs:key_count (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/drivers/input/
H A Dkey_matrix.c114 map = (uchar *)calloc(1, config->key_count); in create_keymap()
117 config->key_count); in create_keymap()
184 config->key_count = rows * cols; in key_matrix_init()
186 assert(config->key_count > 0); in key_matrix_init()
H A Dtegra-kbc.c315 priv->matrix.key_count); in tegra_kbd_probe()
/openbmc/u-boot/board/gdsys/a38x/
H A Dkeyprogram.c17 u16 key_count; in flush_keys() local
28 key_count = get_unaligned_be16(buf); in flush_keys()
30 for (i = 0; i < key_count; ++i, ptr += 4) { in flush_keys()
H A Dhre.c141 uint16_t key_count; in find_key() local
155 key_count = get_unaligned_be16(buf); in find_key()
157 for (i = 0; i < key_count; ++i, ptr += 4) in find_key()
161 for (i = 0; i < key_count; ++i) { in find_key()
/openbmc/u-boot/include/
H A Dkey_matrix.h18 int key_count; /* number of keys in the matrix (= rows * cols) */ member
/openbmc/qemu/hw/s390x/
H A Ds390-skeys.c257 skeys->key_count = s390_get_memory_limit(s390ms) / TARGET_PAGE_SIZE; in qemu_s390_enable_skeys()
258 skeys->keydata = g_malloc0(skeys->key_count); in qemu_s390_enable_skeys()
271 if (unlikely(!skeydev->keydata || start_gfn + count > skeydev->key_count || in qemu_s390_skeys_set()
292 if (unlikely(!skeydev->keydata || start_gfn + count > skeydev->key_count || in qemu_s390_skeys_get()
/openbmc/qemu/include/hw/s390x/
H A Dstorage-keys.h108 uint32_t key_count; member
/openbmc/u-boot/tools/
H A Dmxsimage.h53 uint16_t key_count; member
H A Dmxsimage.c1348 hdr->key_count = 1; in sb_prefill_image_header()
1364 kd_size = hdr->key_count * sizeof(struct sb_key_dictionary_key); in sb_postfill_image_header()
1776 if (hdr->key_count != 1) in sb_verify_image_header()
1779 hdr->key_count); in sb_verify_image_header()
1784 sz += hdr->key_count * in sb_verify_image_header()
/openbmc/u-boot/lib/
H A Dtpm-v1.c834 u16 key_count; in tpm1_find_key_sha1() local
848 key_count = get_unaligned_be16(buf); in tpm1_find_key_sha1()
850 for (i = 0; i < key_count; ++i, ptr += 4) in tpm1_find_key_sha1()
854 for (i = 0; i < key_count; ++i) { in tpm1_find_key_sha1()
/openbmc/u-boot/board/gdsys/p1022/
H A Dcontrolcenterd-id.c301 uint16_t key_count; in find_key() local
315 key_count = get_unaligned_be16(buf); in find_key()
317 for (i = 0; i < key_count; ++i, ptr += 4) in find_key()
321 for (i = 0; i < key_count; ++i) { in find_key()