Lines Matching full:class

7 A device class describes a type of device, like an audio or network
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
24 The device class structure looks like::
30 See the kerneldoc for the struct class.
32 A typical device class definition would look like::
40 Each device class structure should be exported in a header file so it
51 As devices are bound to drivers, they are added to the device class
57 The device is enumerated in the class. Each time a device is added to
58 the class, the class's devnum field is incremented and assigned to the
60 from the class and re-added, it will receive a different enumerated
63 The class is allowed to create a class-specific structure for the
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
68 drivers of that particular class. To access all of the devices in the
69 class, iterate over the device lists of each driver in the class.
75 with the core. A driver specifies the class it belongs to by setting
81 There is a top-level sysfs directory named 'class'.
83 Each class gets a directory in the class directory, along with two
86 class/
92 Drivers registered with the class get a symlink in the drivers/ directory
95 class/
105 class/
123 Class drivers can export attributes using the DEVCLASS_ATTR macro that works
133 The bus driver can add and remove the attribute from the class's
140 class's directory in sysfs.
146 particular class type. Device interfaces describe these mechanisms.
148 When a device is added to a device class, the core attempts to add it
149 to every interface that is registered with the device class.