Searched refs:num_keycodes (Results 1 – 5 of 5) sorted by relevance
79 int num_keycodes; member101 for (i = 0; i < msg2638->num_keycodes; ++i) in msg2138_report_keys()324 if (msg2638->num_keycodes) { in msg2638_init_input_dev()326 input_dev->keycodemax = msg2638->num_keycodes; in msg2638_init_input_dev()328 for (i = 0; i < msg2638->num_keycodes; i++) in msg2638_init_input_dev()401 msg2638->num_keycodes = device_property_count_u32(dev, in msg2638_ts_probe()403 if (msg2638->num_keycodes == -EINVAL) { in msg2638_ts_probe()404 msg2638->num_keycodes = 0; in msg2638_ts_probe()405 } else if (msg2638->num_keycodes < 0) { in msg2638_ts_probe()407 msg2638->num_keycodes); in msg2638_ts_probe()[all …]
74 int num_keycodes; member202 if (touch->id > data->num_keycodes) { in mms114_process_touchkey()509 data->num_keycodes = device_property_count_u32(&client->dev, in mms114_probe()511 if (data->num_keycodes == -EINVAL) { in mms114_probe()512 data->num_keycodes = 0; in mms114_probe()513 } else if (data->num_keycodes < 0) { in mms114_probe()516 data->num_keycodes); in mms114_probe()517 return data->num_keycodes; in mms114_probe()518 } else if (data->num_keycodes > MMS114_MAX_TOUCHKEYS) { in mms114_probe()521 data->num_keycodes, MMS114_MAX_TOUCHKEYS); in mms114_probe()[all …]
162 int num_keycodes; member303 bt541->num_keycodes); in zinitix_init_touch()318 if (bt541->num_keycodes) in zinitix_init_touch()438 for (i = 0; i < bt541->num_keycodes; i++) in zinitix_report_keys()576 if (bt541->num_keycodes) { in zinitix_init_input_dev()578 input_dev->keycodemax = bt541->num_keycodes; in zinitix_init_input_dev()580 for (i = 0; i < bt541->num_keycodes; i++) in zinitix_init_input_dev()649 bt541->num_keycodes = device_property_count_u32(&client->dev, in zinitix_ts_probe()651 if (bt541->num_keycodes < 0) { in zinitix_ts_probe()653 bt541->num_keycodes); in zinitix_ts_probe()[all …]
62 int num_keycodes; member156 for (int i = 0; i < ts->num_keycodes; i++) in imagis_interrupt()246 ts->num_keycodes = of_property_read_variable_u32_array( in imagis_init_input_dev()249 if (ts->num_keycodes <= 0) { in imagis_init_input_dev()252 ts->num_keycodes = 2; in imagis_init_input_dev()255 input_dev->keycodemax = ts->num_keycodes; in imagis_init_input_dev()260 for (int i = 0; i < ts->num_keycodes; i++) in imagis_init_input_dev()
53 int num_keycodes; member152 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()