• Home
  • Raw
  • Download

Lines Matching refs:class

55 struct class {  struct
66 void (*class_release)(struct class *class); argument
93 extern int __must_check __class_register(struct class *class, argument
95 extern void class_unregister(struct class *class);
99 #define class_register(class) \ argument
102 __class_register(class, &__key); \
114 struct class *class,
120 extern int class_for_each_device(struct class *class, struct device *start,
123 extern struct device *class_find_device(struct class *class,
133 static inline struct device *class_find_device_by_name(struct class *class, in class_find_device_by_name() argument
136 return class_find_device(class, NULL, name, device_match_name); in class_find_device_by_name()
146 class_find_device_by_of_node(struct class *class, const struct device_node *np) in class_find_device_by_of_node() argument
148 return class_find_device(class, NULL, np, device_match_of_node); in class_find_device_by_of_node()
158 class_find_device_by_fwnode(struct class *class, in class_find_device_by_fwnode() argument
161 return class_find_device(class, NULL, fwnode, device_match_fwnode); in class_find_device_by_fwnode()
170 static inline struct device *class_find_device_by_devt(struct class *class, in class_find_device_by_devt() argument
173 return class_find_device(class, NULL, &devt, device_match_devt); in class_find_device_by_devt()
185 class_find_device_by_acpi_dev(struct class *class, const struct acpi_device *adev) in class_find_device_by_acpi_dev() argument
187 return class_find_device(class, NULL, adev, device_match_acpi_dev); in class_find_device_by_acpi_dev()
191 class_find_device_by_acpi_dev(struct class *class, const void *adev) in class_find_device_by_acpi_dev() argument
199 ssize_t (*show)(struct class *class, struct class_attribute *attr,
201 ssize_t (*store)(struct class *class, struct class_attribute *attr,
212 extern int __must_check class_create_file_ns(struct class *class,
215 extern void class_remove_file_ns(struct class *class,
219 static inline int __must_check class_create_file(struct class *class, in class_create_file() argument
222 return class_create_file_ns(class, attr, NULL); in class_create_file()
225 static inline void class_remove_file(struct class *class, in class_remove_file() argument
228 return class_remove_file_ns(class, attr, NULL); in class_remove_file()
244 extern ssize_t show_class_attr_string(struct class *class, struct class_attribute *attr,
249 struct class *class; member
258 extern struct class * __must_check __class_create(struct module *owner,
261 extern void class_destroy(struct class *cls);