Home
last modified time | relevance | path

Searched refs:button_count (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/input/rmi4/
H A Drmi_f3a.c132 int button_count = min_t(u8, f3a->gpio_count, TRACKSTICK_RANGE_END); in rmi_f3a_map_gpios() local
135 button_count, in rmi_f3a_map_gpios()
143 for (i = 0; i < button_count; i++) { in rmi_f3a_map_gpios()
H A Drmi_f30.c233 int button_count = min_t(u8, f30->gpioled_count, TRACKSTICK_RANGE_END); in rmi_f30_map_gpios() local
236 button_count, in rmi_f30_map_gpios()
244 for (i = 0; i < button_count; i++) { in rmi_f30_map_gpios()
/linux/drivers/hid/
H A Dwacom_wac.c34 int button_count, int mask);
38 static void wacom_update_led(struct wacom *wacom, int button_count, int mask,
4088 int button_count) in wacom_setup_numbered_buttons() argument
4092 for (i = 0; i < button_count; i++) { in wacom_setup_numbered_buttons()
4130 static bool wacom_is_led_toggled(struct wacom *wacom, int button_count, in wacom_is_led_toggled() argument
4143 group_button = group * (button_count/wacom->led.count); in wacom_is_led_toggled()
4151 static void wacom_update_led(struct wacom *wacom, int button_count, int mask, in wacom_update_led() argument
4161 pressed = wacom_is_led_toggled(wacom, button_count, mask, group); in wacom_update_led()
4194 int button_count, int mask) in wacom_report_numbered_buttons() argument
4200 wacom_update_led(wacom, button_count, mask, i); in wacom_report_numbered_buttons()
[all …]