• Home
  • Raw
  • Download

Lines Matching refs:device

7 A device class describes a type of device, like an audio or network
8 device. The following device classes have been identified:
13 Each device class defines a set of semantics and a programming interface
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 *);
47 A typical device class definition would look like:
55 Each device class structure should be exported in a header file so it
66 As devices are bound to drivers, they are added to the device class
68 typically happen during the driver's probe() callback, once the device
72 The device is enumerated in the class. Each time a device is added to
74 device. The field is never decremented, so if the device is removed
79 device and store it in the device's class_data pointer.
81 There is no list of devices in the device class. Each driver has a
82 list of devices that it supports. The device class has a list of
84 class, iterate over the device lists of each driver in the class.
89 Device drivers are added to device classes when they are registered
117 Each device gets a symlink in the devices/ directory that points to the
118 device's directory in the physical hierarchy:
157 There may exist multiple mechanisms for accessing the same device of a
160 When a device is added to a device class, the core attempts to add it
161 to every interface that is registered with the device class.