Lines Matching full:set_id
1052 static ssize_t wacom_led_select_store(struct device *dev, int set_id, in wacom_led_select_store() argument
1066 wacom->led.groups[set_id].select = id & 0x3; in wacom_led_select_store()
1074 #define DEVICE_LED_SELECT_ATTR(SET_ID) \ argument
1075 static ssize_t wacom_led##SET_ID##_select_store(struct device *dev, \
1078 return wacom_led_select_store(dev, SET_ID, buf, count); \
1080 static ssize_t wacom_led##SET_ID##_select_show(struct device *dev, \
1086 wacom->led.groups[SET_ID].select); \
1088 static DEVICE_ATTR(status_led##SET_ID##_select, DEV_ATTR_RW_PERM, \
1089 wacom_led##SET_ID##_select_show, \
1090 wacom_led##SET_ID##_select_store)
1904 #define DEVICE_EKR_ATTR_GROUP(SET_ID) \ argument
1905 static ssize_t wacom_show_remote##SET_ID##_mode(struct kobject *kobj, \
1908 return wacom_show_remote_mode(kobj, kattr, buf, SET_ID); \
1910 static struct kobj_attribute remote##SET_ID##_mode_attr = { \
1913 .show = wacom_show_remote##SET_ID##_mode, \
1915 static struct attribute *remote##SET_ID##_serial_attrs[] = { \
1916 &remote##SET_ID##_mode_attr.attr, \
1919 static const struct attribute_group remote##SET_ID##_serial_group = { \
1921 .attrs = remote##SET_ID##_serial_attrs, \