Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/input/rmi4/
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()
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()
/kernel/linux/linux-5.10/sound/usb/
Dmixer_scarlett_gen2.c216 u8 button_count; /* number of buttons */ member
374 .button_count = 2,
1010 for (i = 0; i < private->info->button_count; i++) in scarlett2_update_volumes()
1433 for (i = 0; i < private->info->button_count; i++) { in scarlett2_add_line_out_ctls()
1904 for (i = 0; i < info->button_count; i++) in scarlett2_read_configs()
1942 for (i = 0; i < private->info->button_count; i++) in scarlett2_mixer_interrupt_button_change()
2051 if (info->button_count) { in snd_scarlett_gen2_controls_create()
/kernel/linux/linux-5.10/drivers/hid/
Dwacom_wac.c38 int button_count, int mask);
42 static void wacom_update_led(struct wacom *wacom, int button_count, int mask,
3946 int button_count) in wacom_setup_numbered_buttons() argument
3950 for (i = 0; i < button_count; i++) { in wacom_setup_numbered_buttons()
3988 static bool wacom_is_led_toggled(struct wacom *wacom, int button_count, in wacom_is_led_toggled() argument
4001 group_button = group * (button_count/wacom->led.count); in wacom_is_led_toggled()
4009 static void wacom_update_led(struct wacom *wacom, int button_count, int mask, in wacom_update_led() argument
4019 pressed = wacom_is_led_toggled(wacom, button_count, mask, group); in wacom_update_led()
4052 int button_count, int mask) in wacom_report_numbered_buttons() argument
4058 wacom_update_led(wacom, button_count, mask, i); in wacom_report_numbered_buttons()
[all …]