Searched refs:num_keycodes (Results 1 – 1 of 1) sorted by relevance
54 int num_keycodes; member153 if (index < 0 || index >= touchkey->num_keycodes) { in tm2_touchkey_irq_handler()162 for (i = 0; i < touchkey->num_keycodes; i++) in tm2_touchkey_irq_handler()221 touchkey->num_keycodes = of_property_read_variable_u32_array(np, in tm2_touchkey_probe()224 if (touchkey->num_keycodes <= 0) { in tm2_touchkey_probe()228 touchkey->num_keycodes = 2; in tm2_touchkey_probe()256 touchkey->input_dev->keycodemax = touchkey->num_keycodes; in tm2_touchkey_probe()260 for (i = 0; i < touchkey->num_keycodes; i++) in tm2_touchkey_probe()