Lines Matching refs:kobj
86 static ssize_t koneplus_sysfs_read(struct file *fp, struct kobject *kobj, in koneplus_sysfs_read() argument
91 container_of(kobj, struct device, kobj)->parent->parent; in koneplus_sysfs_read()
112 static ssize_t koneplus_sysfs_write(struct file *fp, struct kobject *kobj, in koneplus_sysfs_write() argument
117 container_of(kobj, struct device, kobj)->parent->parent; in koneplus_sysfs_write()
138 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
141 return koneplus_sysfs_write(fp, kobj, buf, off, count, \
147 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
150 return koneplus_sysfs_read(fp, kobj, buf, off, count, \
193 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_settings() argument
197 container_of(kobj, struct device, kobj)->parent->parent; in koneplus_sysfs_read_profilex_settings()
206 return koneplus_sysfs_read(fp, kobj, buf, off, count, in koneplus_sysfs_read_profilex_settings()
212 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_buttons() argument
216 container_of(kobj, struct device, kobj)->parent->parent; in koneplus_sysfs_read_profilex_buttons()
225 return koneplus_sysfs_read(fp, kobj, buf, off, count, in koneplus_sysfs_read_profilex_buttons()