Lines Matching refs:group
39 int group);
4058 static void wacom_24hd_update_leds(struct wacom *wacom, int mask, int group)
4065 * 24HD has LED group 1 to the left and LED group 0 to the right.
4066 * So group 0 matches the second half of the buttons and thus the mask
4069 if (group == 0)
4073 led = wacom_led_find(wacom, group, i);
4075 hid_err(wacom->hdev, "can't find LED %d in group %d\n",
4076 i, group);
4089 int mask, int group)
4094 * 21UX2 has LED group 1 to the left and LED group 0
4095 * to the right. We need to reverse the group to match this
4099 group = 1 - group;
4101 group_button = group * (button_count/wacom->led.count);
4110 int group)
4117 return wacom_24hd_update_leds(wacom, mask, group);
4119 pressed = wacom_is_led_toggled(wacom, button_count, mask, group);
4120 cur = wacom->led.groups[group].select;
4122 led = wacom_led_find(wacom, group, cur);
4124 hid_err(wacom->hdev, "can't find current LED %d in group %d\n",
4125 cur, group);
4139 hid_err(wacom->hdev, "can't find next LED in group %d\n",
4140 group);