Lines Matching refs:attr
131 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
140 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
154 .attr = { .name = #thingy, .mode = 0660 }, \
163 .attr = { .name = #thingy, .mode = 0440 }, \
171 .attr = { .name = #thingy, .mode = 0220 }, \
186 struct kobject *kobj, struct bin_attribute *attr, char *buf,
193 retval = koneplus_send_control(usb_dev, *(uint *)(attr->private),
204 struct kobject *kobj, struct bin_attribute *attr, char *buf,
211 retval = koneplus_send_control(usb_dev, *(uint *)(attr->private),
223 .attr = { .name = "profile" #number "_settings", .mode = 0440 }, \
229 .attr = { .name = "profile" #number "_buttons", .mode = 0440 }, \
241 struct device_attribute *attr, char *buf)
249 struct device_attribute *attr, char const *buf, size_t size)
297 struct device_attribute *attr, char *buf)
318 &dev_attr_actual_profile.attr,
319 &dev_attr_startup_profile.attr,
320 &dev_attr_firmware_version.attr,