|
device_ids(9) -- calculate device ids
|
The device_ids family of functions take either the raw device ID, id, or a pointer to the device structure, dev, and return the integer value that is the major or minor device ID as requested. The act... |
device_is_alive(9) -- manipulate device state
|
The current state of a device is accessed by calling device_get_state() which returns DS_NOTPRESENT, DS_ALIVE, DS_ATTACHED or DS_BUSY (described in device(9)). To test see if a device was successfully... |
device_is_attached(9) -- manipulate device state
|
The current state of a device is accessed by calling device_get_state() which returns DS_NOTPRESENT, DS_ALIVE, DS_ATTACHED or DS_BUSY (described in device(9)). To test see if a device was successfully... |
device_is_enabled(9) -- manipulate device enabled flag
|
Each device has an enabled flag associated with it. A device is enabled by default when it is created but may be disabled (for instance to prevent a destructive or time consuming probe attempt). To di... |
device_is_quiet(9) -- manipulate device quiet flag
|
Each device has a quiet flag associated with it. A device is verbose by default when it is created but may be quieted to prevent the device identification string to be printed during probe. To quiet a... |
device_printf(9) -- formatted output conversion
|
The device_printf() function is a convenience interface to the printf(9) function. It outputs the name of the dev device, followed by a colon and a space, and then what printf(9) would print if you pa... |
DEVICE_PROBE(9) -- probe for device existence
|
This device method should probe to see if the device is present. It should return 0 if the device exists, ENXIO if it cannot be found. If some other error happens during the probe (such as a memory al... |
device_probe_and_attach(9) -- initialise a device
|
This function is called during autoconfiguration to initialise the devices in the system. For each device, the DEVICE_PROBE(9) method of each suitable driver is called and if a probe succeeds, a descr... |
device_quiet(9) -- manipulate device quiet flag
|
Each device has a quiet flag associated with it. A device is verbose by default when it is created but may be quieted to prevent the device identification string to be printed during probe. To quiet a... |
device_set_desc(9) -- access the description of a device
|
Manipulate the verbose description of a device. This description (if present) is printed as part of the message when it is attached during autoconfiguration. The variation device_set_desc_copy() is us... |
device_set_desc_copy(9) -- access the description of a device
|
Manipulate the verbose description of a device. This description (if present) is printed as part of the message when it is attached during autoconfiguration. The variation device_set_desc_copy() is us... |
device_set_driver(9) -- associate a specific driver with a device node in the tree
|
This function associates a specific driver with a given device node in the tree. It is typically used in DEVICE_IDENTIFY(9) functions to add devices to a bus that does not support doing so automatical... |
device_set_flags(9) -- manipulate driver flags
|
Each device supports a set of driver-dependent flags which are often used to control device behaviour. These flags are read by calling device_get_flags() and written by calling device_set_flags(). |