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()160 for (i = 0; i < touchkey->num_keycodes; i++) in tm2_touchkey_irq_handler()218 touchkey->num_keycodes = of_property_read_variable_u32_array(np, in tm2_touchkey_probe()221 if (touchkey->num_keycodes <= 0) { in tm2_touchkey_probe()225 touchkey->num_keycodes = 2; in tm2_touchkey_probe()252 for (i = 0; i < touchkey->num_keycodes; i++) in tm2_touchkey_probe()