Searched refs:key_num (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/input/keyboard/ |
H A D | mpr121_touchkey.c | 91 unsigned int key_num; in mpr_touchkey_report() local 111 for_each_set_bit(key_num, &bit_changed, mpr121->keycount) { in mpr_touchkey_report() 114 pressed = reg & BIT(key_num); in mpr_touchkey_report() 115 key_val = mpr121->keycodes[key_num]; in mpr_touchkey_report() 117 input_event(input, EV_MSC, MSC_SCAN, key_num); in mpr_touchkey_report() 120 dev_dbg(&client->dev, "key %d %d %s\n", key_num, key_val, in mpr_touchkey_report()
|
H A D | qt1050.c | 291 static const struct qt1050_key_regs *qt1050_get_key_regs(int key_num) in qt1050_get_key_regs() argument 293 return &qt1050_key_regs_data[key_num]; in qt1050_get_key_regs()
|
/linux/drivers/input/touchscreen/ |
H A D | hideep.c | 170 int key_num; member 827 ts->key_num = device_property_count_u32(dev, "linux,keycodes"); in hideep_init_input() 828 if (ts->key_num > HIDEEP_KEY_MAX) { in hideep_init_input() 830 ts->key_num); in hideep_init_input() 834 if (ts->key_num <= 0) { in hideep_init_input() 840 ts->key_num); in hideep_init_input() 846 if (ts->key_num) { in hideep_init_input() 849 ts->input_dev->keycodemax = ts->key_num; in hideep_init_input() 851 for (i = 0; i < ts->key_num; i++) in hideep_init_input()
|
H A D | melfas_mip4.c | 171 unsigned int key_num; member 341 ts->key_num = ts->node_key; in mip4_query_device() 398 for (i = 0; i < ts->key_num; i++) in mip4_clear_input() 450 if (key >= 1 && key <= ts->key_num) { in mip4_report_keys() 1476 input->keycodemax = ts->key_num; in mip4_probe()
|