Searched refs:num_keycodes (Results 1 – 3 of 3) sorted by relevance
78 int num_keycodes; member100 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 …]
68 int num_keycodes; member298 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 …]
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()