Searched refs:num_keycodes (Results 1 – 3 of 3) 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 …]
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()