Searched refs:num_btn (Results 1 – 1 of 1) sorted by relevance
71 u32 num_btn; member148 for (i = 0; i < capdev->num_btn; i++) { in atmel_captouch_isr()215 capdev->num_btn = of_property_count_u32_elems(node, "linux,keymap"); in atmel_captouch_probe()216 if (capdev->num_btn > MAX_NUM_OF_BUTTONS) in atmel_captouch_probe()217 capdev->num_btn = MAX_NUM_OF_BUTTONS; in atmel_captouch_probe()221 capdev->num_btn); in atmel_captouch_probe()228 for (i = 0; i < capdev->num_btn; i++) in atmel_captouch_probe()233 capdev->input->keycodemax = capdev->num_btn; in atmel_captouch_probe()