Lines Matching defs:device
5 * Tape class device support
8 * Based on simple class device code by Greg K-H
28 * Register a tape device and return a pointer to the cdev structure.
30 * device
31 * The pointer to the struct device of the physical (base) device.
38 * The pointer to the drivers file operations for the tape device.
40 * The pointer to the name of the character device.
43 struct device * device,
77 tcd->class_device = device_create(tape_class, device,
84 &device->kobj,
106 void unregister_tape_dev(struct device *device, struct tape_class_device *tcd)
109 sysfs_remove_link(&device->kobj, tcd->mode_name);