Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dgslx680.c136 static int key_count; variable
1071 if (key_count < 512) { in gslX680_ts_worker()
1072 key_x[key_count] = x_new; in gslX680_ts_worker()
1073 key_y[key_count] = y_new; in gslX680_ts_worker()
1074 key_count++; in gslX680_ts_worker()
1116 (((key_x[key_count - 1] - key_x[0]) > in gslX680_ts_worker()
1117 0) ? (key_x[key_count - 1] - key_x[0]) in gslX680_ts_worker()
1118 : (key_x[0] - key_x[key_count - 1])); in gslX680_ts_worker()
1120 (((key_y[key_count - 1] - key_y[0]) > in gslX680_ts_worker()
1121 0) ? (key_y[key_count - 1] - key_y[0]) in gslX680_ts_worker()
[all …]
H A Dgslx6801.c108 static int key_count; variable
1002 if (key_count < 512) { in gslX680_ts_worker()
1003 key_x[key_count] = x_new; in gslX680_ts_worker()
1004 key_y[key_count] = y_new; in gslX680_ts_worker()
1005 key_count++; in gslX680_ts_worker()
1046 (((key_x[key_count - 1] - key_x[0]) > in gslX680_ts_worker()
1047 0) ? (key_x[key_count - 1] - key_x[0]) in gslX680_ts_worker()
1048 : (key_x[0] - key_x[key_count - 1])); in gslX680_ts_worker()
1050 (((key_y[key_count - 1] - key_y[0]) > in gslX680_ts_worker()
1051 0) ? (key_y[key_count - 1] - key_y[0]) in gslX680_ts_worker()
[all …]
H A Dhideep.c723 int key_count = ts->xfer_buf[1] & 0x0f; in hideep_parse_and_report() local
729 touch_count, key_count, lpm_count); in hideep_parse_and_report()
735 key_count = min(key_count, HIDEEP_KEY_MAX); in hideep_parse_and_report()
736 for (i = 0; i < key_count; i++) { in hideep_parse_and_report()
/OK3568_Linux_fs/u-boot/drivers/input/
H A Dkey_matrix.c115 map = (uchar *)calloc(1, config->key_count); in create_keymap()
118 config->key_count); in create_keymap()
185 config->key_count = rows * cols; in key_matrix_init()
187 assert(config->key_count > 0); in key_matrix_init()
H A Dtegra-kbc.c318 priv->matrix.key_count); in tegra_kbd_probe()
/OK3568_Linux_fs/u-boot/board/gdsys/a38x/
H A Dkeyprogram.c18 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.c140 uint16_t key_count; in find_key() local
153 key_count = get_unaligned_be16(buf); in find_key()
155 for (i = 0; i < key_count; ++i, ptr += 4) in find_key()
159 for (i = 0; i < key_count; ++i) { in find_key()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dapplesmc.c124 unsigned int key_count; /* number of SMC registers */ member
405 int begin = 0, end = smcreg.key_count; in applesmc_get_lower_bound()
427 int begin = 0, end = smcreg.key_count; in applesmc_get_upper_bound()
434 *hi = smcreg.key_count; in applesmc_get_upper_bound()
580 if (s->cache && s->key_count != count) { in applesmc_init_smcreg_try()
582 s->key_count, count); in applesmc_init_smcreg_try()
586 s->key_count = count; in applesmc_init_smcreg_try()
589 s->cache = kcalloc(s->key_count, sizeof(*s->cache), GFP_KERNEL); in applesmc_init_smcreg_try()
629 s->key_count, s->fan_count, s->temp_count, s->index_count, in applesmc_init_smcreg_try()
1062 || newkey >= smcreg.key_count) in applesmc_key_at_index_store()
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dsamsung-keypad.c249 unsigned int key_count; in samsung_keypad_parse_dt() local
278 key_count = of_get_child_count(np); in samsung_keypad_parse_dt()
279 keymap_data->keymap_size = key_count; in samsung_keypad_parse_dt()
280 keymap = devm_kcalloc(dev, key_count, sizeof(uint32_t), GFP_KERNEL); in samsung_keypad_parse_dt()
/OK3568_Linux_fs/u-boot/include/
H A Dkey_matrix.h19 int key_count; /* number of keys in the matrix (= rows * cols) */ member
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/move/algo/detail/
H A Dadaptive_sort_merge.hpp547 size_type const key_count = needed_keys_count(n_block_a, n_block_b); (void)key_count; in merge_blocks_bufferless() local
549 …BOOST_MOVE_ADAPTIVE_SORT_INVARIANT(is_sorted_and_unique(key_first, key_first + key_count, key_comp… in merge_blocks_bufferless()
550 …VARIANT(!n_block_b || n_block_a == count_if_with(key_first, key_first + key_count, key_comp, key_f… in merge_blocks_bufferless()
592 bool is_range2_A = key_mid == (key_first+key_count) || key_comp(*key_first, *key_mid); in merge_blocks_bufferless()
1211 size_type const key_count = needed_keys_count(n_block_a, n_block_b); (void)key_count; in op_merge_blocks_left() local
1213 …BOOST_MOVE_ADAPTIVE_SORT_INVARIANT(is_sorted_and_unique(key_first, key_first + key_count, key_comp… in op_merge_blocks_left()
1214 …VARIANT(!n_block_b || n_block_a == count_if_with(key_first, key_first + key_count, key_comp, key_f… in op_merge_blocks_left()
1254 bool const is_range2_A = key_mid == (key_first+key_count) || key_comp(*key_next, *key_mid); in op_merge_blocks_left()
1424 size_type const key_count = needed_keys_count(n_block_a, n_block_b); (void)key_count; in op_merge_blocks_with_buf() local
1426 …BOOST_MOVE_ADAPTIVE_SORT_INVARIANT(is_sorted_and_unique(key_first, key_first + key_count, key_comp… in op_merge_blocks_with_buf()
[all …]
/OK3568_Linux_fs/u-boot/board/gdsys/p1022/
H A Dcontrolcenterd-id.c288 uint16_t key_count; in find_key() local
301 key_count = get_unaligned_be16(buf); in find_key()
303 for (i = 0; i < key_count; ++i, ptr += 4) in find_key()
307 for (i = 0; i < key_count; ++i) { in find_key()
/OK3568_Linux_fs/u-boot/lib/
H A Dtpm.c1015 uint16_t key_count; in tpm_find_key_sha1() local
1028 key_count = get_unaligned_be16(buf); in tpm_find_key_sha1()
1030 for (i = 0; i < key_count; ++i, ptr += 4) in tpm_find_key_sha1()
1034 for (i = 0; i < key_count; ++i) { in tpm_find_key_sha1()
/OK3568_Linux_fs/kernel/include/net/bluetooth/
H A Dmgmt.h191 __le16 key_count; member
214 __le16 key_count; member
678 __le16 key_count; member
/OK3568_Linux_fs/u-boot/tools/
H A Dmxsimage.h54 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()
/OK3568_Linux_fs/kernel/net/bluetooth/
H A Dmgmt.c2340 u16 key_count, expected_len; in load_link_keys() local
2350 key_count = __le16_to_cpu(cp->key_count); in load_link_keys()
2351 if (key_count > max_key_count) { in load_link_keys()
2353 key_count); in load_link_keys()
2358 expected_len = struct_size(cp, keys, key_count); in load_link_keys()
2371 key_count); in load_link_keys()
2373 for (i = 0; i < key_count; i++) { in load_link_keys()
2395 for (i = 0; i < key_count; i++) { in load_link_keys()
3616 u16 key_count, expected_len; in set_blocked_keys() local
3621 key_count = __le16_to_cpu(keys->key_count); in set_blocked_keys()
[all …]
/OK3568_Linux_fs/kernel/net/core/
H A Dflow_dissector.c44 unsigned int key_count) in skb_flow_dissector_init() argument
50 for (i = 0; i < key_count; i++, key++) { in skb_flow_dissector_init()
/OK3568_Linux_fs/kernel/include/linux/
H A Dskbuff.h1317 unsigned int key_count);