Lines Matching full:device
2 Device Classes
7 A device class describes a type of device, like an audio or network
8 device. The following device classes have been identified:
10 <Insert List of Device Classes Here>
13 Each device class defines a set of semantics and a programming interface
14 that devices of that class adhere to. Device drivers are the
15 implementation of that programming interface for a particular device on
18 Device classes are agnostic with respect to what bus a device resides
24 The device class structure looks like:
27 typedef int (*devclass_add)(struct device *);
28 typedef void (*devclass_remove)(struct device *);
32 A typical device class definition would look like:
40 Each device class structure should be exported in a header file so it
43 Device classes are registered and unregistered with the core using:
51 As devices are bound to drivers, they are added to the device class
53 typically happen during the driver's probe() callback, once the device
57 The device is enumerated in the class. Each time a device is added to
59 device. The field is never decremented, so if the device is removed
64 device and store it in the device's class_data pointer.
66 There is no list of devices in the device class. Each driver has a
67 list of devices that it supports. The device class has a list of
69 class, iterate over the device lists of each driver in the class.
72 Device Drivers
74 Device drivers are added to device classes when they are registered
102 Each device gets a symlink in the devices/ directory that points to the
103 device's directory in the physical hierarchy:
142 There may exist multiple mechanisms for accessing the same device of a
143 particular class type. Device interfaces describe these mechanisms.
145 When a device is added to a device class, the core attempts to add it
146 to every interface that is registered with the device class.