Lines Matching defs:kobj
83 static ssize_t pyra_sysfs_read(struct file *fp, struct kobject *kobj,
87 struct device *dev = kobj_to_dev(kobj)->parent->parent;
108 static ssize_t pyra_sysfs_write(struct file *fp, struct kobject *kobj,
112 struct device *dev = kobj_to_dev(kobj)->parent->parent;
132 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
135 return pyra_sysfs_write(fp, kobj, buf, off, count, \
141 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
144 return pyra_sysfs_read(fp, kobj, buf, off, count, \
183 struct kobject *kobj, struct bin_attribute *attr, char *buf,
186 struct device *dev = kobj_to_dev(kobj)->parent->parent;
195 return pyra_sysfs_read(fp, kobj, buf, off, count,
201 struct kobject *kobj, struct bin_attribute *attr, char *buf,
204 struct device *dev = kobj_to_dev(kobj)->parent->parent;
213 return pyra_sysfs_read(fp, kobj, buf, off, count,
238 struct kobject *kobj, struct bin_attribute *attr, char *buf,
241 struct device *dev = kobj_to_dev(kobj)->parent->parent;