• Home
  • Raw
  • Download

Lines Matching refs:class

37 struct class;
602 struct class { struct
613 void (*class_release)(struct class *class); argument
640 extern int __must_check __class_register(struct class *class, argument
642 extern void class_unregister(struct class *class);
646 #define class_register(class) \ argument
649 __class_register(class, &__key); \
661 struct class *class,
667 extern int class_for_each_device(struct class *class, struct device *start,
670 extern struct device *class_find_device(struct class *class,
680 static inline struct device *class_find_device_by_name(struct class *class, in class_find_device_by_name() argument
683 return class_find_device(class, NULL, name, device_match_name); in class_find_device_by_name()
693 class_find_device_by_of_node(struct class *class, const struct device_node *np) in class_find_device_by_of_node() argument
695 return class_find_device(class, NULL, np, device_match_of_node); in class_find_device_by_of_node()
705 class_find_device_by_fwnode(struct class *class, in class_find_device_by_fwnode() argument
708 return class_find_device(class, NULL, fwnode, device_match_fwnode); in class_find_device_by_fwnode()
717 static inline struct device *class_find_device_by_devt(struct class *class, in class_find_device_by_devt() argument
720 return class_find_device(class, NULL, &devt, device_match_devt); in class_find_device_by_devt()
732 class_find_device_by_acpi_dev(struct class *class, const struct acpi_device *adev) in class_find_device_by_acpi_dev() argument
734 return class_find_device(class, NULL, adev, device_match_acpi_dev); in class_find_device_by_acpi_dev()
738 class_find_device_by_acpi_dev(struct class *class, const void *adev) in class_find_device_by_acpi_dev() argument
746 ssize_t (*show)(struct class *class, struct class_attribute *attr,
748 ssize_t (*store)(struct class *class, struct class_attribute *attr,
759 extern int __must_check class_create_file_ns(struct class *class,
762 extern void class_remove_file_ns(struct class *class,
766 static inline int __must_check class_create_file(struct class *class, in class_create_file() argument
769 return class_create_file_ns(class, attr, NULL); in class_create_file()
772 static inline void class_remove_file(struct class *class, in class_remove_file() argument
775 return class_remove_file_ns(class, attr, NULL); in class_remove_file()
791 extern ssize_t show_class_attr_string(struct class *class, struct class_attribute *attr,
796 struct class *class; member
805 extern struct class * __must_check __class_create(struct module *owner,
808 extern void class_destroy(struct class *cls);
1327 struct class *class; member
1652 struct device *device_create_vargs(struct class *cls, struct device *parent,
1656 struct device *device_create(struct class *cls, struct device *parent,
1660 struct device *device_create_with_groups(struct class *cls,
1664 extern void device_destroy(struct class *cls, dev_t devt);