Lines Matching refs:number
67 static int kovaplus_select_profile(struct usb_device *usb_dev, uint number, in kovaplus_select_profile() argument
70 return kovaplus_send_control(usb_dev, number, request); in kovaplus_select_profile()
74 struct kovaplus_profile_settings *buf, uint number) in kovaplus_get_profile_settings() argument
78 retval = kovaplus_select_profile(usb_dev, number, in kovaplus_get_profile_settings()
88 struct kovaplus_profile_buttons *buf, int number) in kovaplus_get_profile_buttons() argument
92 retval = kovaplus_select_profile(usb_dev, number, in kovaplus_get_profile_buttons()
258 #define PROFILE_ATTR(number) \ argument
259 static struct bin_attribute bin_attr_profile##number##_settings = { \
260 .attr = { .name = "profile" #number "_settings", .mode = 0440 }, \
263 .private = &profile_numbers[number-1], \
265 static struct bin_attribute bin_attr_profile##number##_buttons = { \
266 .attr = { .name = "profile" #number "_buttons", .mode = 0440 }, \
269 .private = &profile_numbers[number-1], \