Lines Matching full:device
44 .Nd device control library
50 .Fn devctl_attach "const char *device"
52 .Fn devctl_clear_driver "const char *device" "bool force"
54 .Fn devctl_delete "const char *device" "bool force"
56 .Fn devctl_detach "const char *device" "bool force"
58 .Fn devctl_disable "const char *device" "bool force_detach"
60 .Fn devctl_enable "const char *device"
64 .Fn devctl_getpath "const char *device" "const char *locator" "char **buffer"
66 .Fn devctl_rescan "const char *device"
68 .Fn devctl_reset "const char *device" "bool detach"
70 .Fn devctl_resume "const char *device"
72 .Fn devctl_set_driver "const char *device" "const char *driver" "bool force"
74 .Fn devctl_suspend "const char *device"
80 library adjusts the state of devices in the kernel's internal device
83 .Fa device
84 argument that identifies the device to adjust.
86 .Fa device
87 may be specified as either the name of an existing device or as a
92 A PCI device with the specified
99 A PCI device in domain zero with the specified
105 A device with an ACPI handle of
113 function probes a device and attaches a suitable device driver if one is
118 function detaches a device from its current device driver.
119 The device is left detached until either a new driver for its parent
120 bus is loaded or the device is explicitly probed via
125 the current device driver will be detached even if the device is busy.
129 function deletes a device from the device tree.
134 the device is deleted even if the device is physically present.
138 function disables a device.
139 If the device is currently attached to a device driver,
140 the device driver will be detached from the device,
141 but the device will retain its current name.
145 the current device driver will be detached even if the device is busy.
146 The device will remain disabled and detached until it is explicitly enabled
152 function re-enables a disabled device.
153 The device will probe and attach if a suitable device driver is found.
157 function suspends a device.
158 This may include placing the device in a reduced power state,
159 but any device driver currently attached to the device will remain attached.
163 function resumes a suspended device to a fully working state.
167 function attaches a device driver named
169 to a device.
170 If the device is already attached and
174 If the device is already attached and
177 the device will be detached from its current device driver before it is
178 attached to the new device driver.
182 function resets a device so that it can be attached to any valid device
186 If the device is already attached and
190 If the device is already attached and
193 the device will be detached from its current device driver.
194 After the device's name is reset,
195 it is reprobed and attached to a suitable device driver if one is found.
196 If no suitable device driver is found, no error is reported.
200 function rescans a bus device checking for devices that have been added or
206 .Fa device
227 function resets the specified device using bus-specific reset method.
230 argument, if true, specifies that the device driver is detached before
232 If false, the device is suspended before the reset, and resumed after.
246 The device name is too long.
248 No existing device matches the specified name or location.
251 .Fa device .
259 The device is already attached.
263 The device is disabled.
265 No suitable driver for the device could be found,
274 The current device driver for
275 .Fa device
281 The device is not attached to a driver.
283 The current device driver for
284 .Fa device
293 The device is already enabled.
297 No suitable driver for the device could be found,
306 The current device driver for
307 .Fa device
313 The device is already disabled.
315 The current device driver for
316 .Fa device
325 The device is already suspended.
327 The device to be suspended is the root bus device.
335 The device is not suspended.
337 The device to be resumed is the root bus device.
345 The device is currently attached to a device driver and
349 The current device driver for
350 .Fa device
357 No device driver with the requested name exists.
361 The device is disabled.
363 The new device driver failed to attach.
371 The device is currently attached to a device driver and
375 The current device driver for
376 .Fa device
379 The device is not configured for a specific device driver name.
381 The device driver chosen after reprobing failed to attach.
389 The device is not attached to a driver.
399 The device is physically present and
404 is the root device of the device tree.
414 The device failed to respond after the reset in the time limits
420 and resume methods of the device driver.
431 If a device is suspended individually via
434 the device will be resumed when the machine resumes.
436 Similarly, if the device is suspended, and
438 is called on the device with
442 the device is resumed by the
445 Or, if the driver for the device is detached manually, and
447 is called on the device with
451 device reset re-attaches the driver.