Lines Matching refs:kobj
102 static const struct mdpy_type *mdpy_find_type(struct kobject *kobj) in mdpy_find_type() argument
107 if (strcmp(mdpy_types[i].name, kobj->name) == 0) in mdpy_find_type()
229 static int mdpy_create(struct kobject *kobj, struct mdev_device *mdev) in mdpy_create() argument
231 const struct mdpy_type *type = mdpy_find_type(kobj); in mdpy_create()
260 __func__, kobj->name, type->width, type->height); in mdpy_create()
667 name_show(struct kobject *kobj, struct device *dev, char *buf) in name_show() argument
669 return sprintf(buf, "%s\n", kobj->name); in name_show()
674 description_show(struct kobject *kobj, struct device *dev, char *buf) in description_show() argument
676 const struct mdpy_type *type = mdpy_find_type(kobj); in description_show()
685 available_instances_show(struct kobject *kobj, struct device *dev, char *buf) in available_instances_show() argument
691 static ssize_t device_api_show(struct kobject *kobj, struct device *dev, in device_api_show() argument