Home
last modified time | relevance | path

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

/drivers/hwmon/
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()
/drivers/input/keyboard/
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()
/drivers/input/touchscreen/
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()