• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/

Lines Matching refs:class_device

36 struct class_device;
192 int (*uevent)(struct class_device *dev, char **envp,
197 void (*release)(struct class_device *dev);
224 ssize_t (*show)(struct class_device *, char * buf);
225 ssize_t (*store)(struct class_device *, const char * buf, size_t count);
232 extern int __must_check class_device_create_file(struct class_device *,
236 * struct class_device - class devices
246 * class_device. Use class_get_devdata() and class_set_devdata() to get and
248 * @parent: pointer to a struct class_device that is the parent of this struct
249 * class_device. If NULL, this class_device will show up at the root of the
251 * @release: pointer to a release function for this struct class_device. If
254 * when you are nesting class_device structures.
255 * @uevent: pointer to a uevent function for this struct class_device. If
258 * when you are nesting class_device structures.
260 struct class_device {
270 struct class_device *parent; /* parent of this child device, if there is one */
273 void (*release)(struct class_device *dev);
274 int (*uevent)(struct class_device *dev, char **envp,
280 class_get_devdata (struct class_device *dev)
286 class_set_devdata (struct class_device *dev, void *data)
292 extern int __must_check class_device_register(struct class_device *);
293 extern void class_device_unregister(struct class_device *);
294 extern void class_device_initialize(struct class_device *);
295 extern int __must_check class_device_add(struct class_device *);
296 extern void class_device_del(struct class_device *);
298 extern struct class_device * class_device_get(struct class_device *);
299 extern void class_device_put(struct class_device *);
301 extern void class_device_remove_file(struct class_device *,
303 extern int __must_check class_device_create_bin_file(struct class_device *,
305 extern void class_device_remove_bin_file(struct class_device *,
312 int (*add) (struct class_device *, struct class_interface *);
313 void (*remove) (struct class_device *, struct class_interface *);
323 extern struct class_device *class_device_create(struct class *cls,
324 struct class_device *parent,
457 /* class_device migration path */