Home
last modified time | relevance | path

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

/linux/drivers/input/touchscreen/
H A Dmsg2638.c78 int num_keycodes; member
100 for (i = 0; i < msg2638->num_keycodes; ++i) in msg2138_report_keys()
323 if (msg2638->num_keycodes) { in msg2638_init_input_dev()
325 input_dev->keycodemax = msg2638->num_keycodes; in msg2638_init_input_dev()
327 for (i = 0; i < msg2638->num_keycodes; i++) in msg2638_init_input_dev()
400 msg2638->num_keycodes = device_property_count_u32(dev, in msg2638_ts_probe()
402 if (msg2638->num_keycodes == -EINVAL) { in msg2638_ts_probe()
403 msg2638->num_keycodes = 0; in msg2638_ts_probe()
404 } else if (msg2638->num_keycodes < 0) { in msg2638_ts_probe()
406 msg2638->num_keycodes); in msg2638_ts_probe()
[all …]
H A Dmms114.c68 int num_keycodes; member
298 if (id > data->num_keycodes) { in mms114_process_touchkey()
552 data->num_keycodes = device_property_count_u32(&client->dev, in mms114_probe()
554 if (data->num_keycodes == -EINVAL) { in mms114_probe()
555 data->num_keycodes = 0; in mms114_probe()
556 } else if (data->num_keycodes < 0) { in mms114_probe()
559 data->num_keycodes); in mms114_probe()
560 return data->num_keycodes; in mms114_probe()
561 } else if (data->num_keycodes > MMS114_MAX_TOUCHKEYS) { in mms114_probe()
564 data->num_keycodes, MMS114_MAX_TOUCHKEYS); in mms114_probe()
[all …]
/linux/drivers/input/keyboard/
H A Dtm2-touchkey.c53 int num_keycodes; member
152 if (index < 0 || index >= touchkey->num_keycodes) { in tm2_touchkey_irq_handler()
161 for (i = 0; i < touchkey->num_keycodes; i++) in tm2_touchkey_irq_handler()
219 touchkey->num_keycodes = of_property_read_variable_u32_array(np, in tm2_touchkey_probe()
222 if (touchkey->num_keycodes <= 0) { in tm2_touchkey_probe()
226 touchkey->num_keycodes = 2; in tm2_touchkey_probe()
254 touchkey->input_dev->keycodemax = touchkey->num_keycodes; in tm2_touchkey_probe()
258 for (i = 0; i < touchkey->num_keycodes; i++) in tm2_touchkey_probe()