Lines Matching refs:kobj
89 static ssize_t pyra_sysfs_read(struct file *fp, struct kobject *kobj, in pyra_sysfs_read() argument
94 container_of(kobj, struct device, kobj)->parent->parent; in pyra_sysfs_read()
115 static ssize_t pyra_sysfs_write(struct file *fp, struct kobject *kobj, in pyra_sysfs_write() argument
120 container_of(kobj, struct device, kobj)->parent->parent; in pyra_sysfs_write()
140 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
143 return pyra_sysfs_write(fp, kobj, buf, off, count, \
149 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
152 return pyra_sysfs_read(fp, kobj, buf, off, count, \
191 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_settings() argument
195 container_of(kobj, struct device, kobj)->parent->parent; in pyra_sysfs_read_profilex_settings()
204 return pyra_sysfs_read(fp, kobj, buf, off, count, in pyra_sysfs_read_profilex_settings()
210 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_buttons() argument
214 container_of(kobj, struct device, kobj)->parent->parent; in pyra_sysfs_read_profilex_buttons()
223 return pyra_sysfs_read(fp, kobj, buf, off, count, in pyra_sysfs_read_profilex_buttons()
248 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_write_settings() argument
252 container_of(kobj, struct device, kobj)->parent->parent; in pyra_sysfs_write_settings()