Module device

Source
Expand description

Generic devices that are part of the kernel’s driver model.

C header: include/linux/device.h

Modules§

property
Unified device property interface.

Structs§

Bound
The Bound context is the context of a bus specific device reference when it is guaranteed to be bound for the duration of its lifetime.
Core
The Core context is the context of a bus specific device when it is supplied as argument of any of the bus callbacks, such as probe().
CoreInternal
Semantically the same as Core but reserved for internal usage of the corresponding bus abstraction.
Device
A reference-counted device.
Normal
The Normal context is the context of a bus specific device when it is not an argument of any bus callback.

Traits§

DeviceContext
Marker trait for the context of a bus specific device.