Lines Matching refs:auxiliary

3 //! Abstractions for the auxiliary bus.
40 /// An adapter for the registration of auxiliary drivers.
87 // SAFETY: The auxiliary bus only ever calls the probe callback with a valid pointer to a
107 // SAFETY: The auxiliary bus only ever calls the probe callback with a valid pointer to a
122 /// Declares a kernel module that exposes a single auxiliary driver.
126 $crate::module_driver!(<T>, $crate::auxiliary::Adapter<T>, { $($f)* });
178 /// IdTable type for auxiliary drivers.
181 /// Create a auxiliary `IdTable` with its alias for modpost.
186 $crate::auxiliary::DeviceId,
191 $crate::module_device_table!("auxiliary", $module_table_name, $table_name);
195 /// The auxiliary driver trait.
197 /// Drivers must implement this trait in order to get an auxiliary driver registered.
214 /// Called when an auxiliary device is matches a corresponding driver.
235 /// The auxiliary device representation.
256 /// Returns the auxiliary device' id.
269 // SAFETY: A bound auxiliary device always has a bound parent device.
335 // SAFETY: `auxiliary::Device` is a transparent wrapper of `struct auxiliary_device`.
336 // The offset is guaranteed to point to a valid device field inside `auxiliary::Device`.
397 /// The registration of an auxiliary device.
400 /// is unbound, the corresponding auxiliary device will be unregistered from the system.
404 /// The data can be accessed by the auxiliary driver through [`Device::registration_data()`].
420 /// Create and register a new auxiliary device with the given registration data.
422 /// The `data` is owned by the registration and can be accessed through the auxiliary device
507 /// Create and register a new auxiliary device with `'static` registration data.