Searched refs:num_keycodes (Results 1 – 1 of 1) sorted by relevance
54 int num_keycodes; member145 if (index < 0 || index >= touchkey->num_keycodes) { in tm2_touchkey_irq_handler()152 for (i = 0; i < touchkey->num_keycodes; i++) in tm2_touchkey_irq_handler()210 touchkey->num_keycodes = of_property_read_variable_u32_array(np, in tm2_touchkey_probe()213 if (touchkey->num_keycodes <= 0) { in tm2_touchkey_probe()217 touchkey->num_keycodes = 2; in tm2_touchkey_probe()244 for (i = 0; i < touchkey->num_keycodes; i++) in tm2_touchkey_probe()