Module device

Source
Expand description

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

C header: include/linux/device.h

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().
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.