Lines Matching full:device

19  * device_bind() - Create a device and bind it to a driver
21 * Called to set up a new device attached to a driver. The device will either
22 * have platdata, or a device tree node which can be used to create the
25 * Once bound a device exists but is not yet active until device_probe() is
28 * @parent: Pointer to device's parent, under which this driver will exist
29 * @drv: Device's driver
30 * @name: Name of device (e.g. device tree node name)
31 * @platdata: Pointer to data for this device - the structure is device-
32 * specific but may include the device's I/O address, etc.. This is NULL for
33 * devices which use device tree.
34 * @of_offset: Offset of device tree node for this device. This is -1 for
35 * devices which don't use device tree.
36 * @devp: if non-NULL, returns a pointer to the bound device
48 * device_bind_with_driver_data() - Create a device and bind it to a driver
50 * Called to set up a new device attached to a driver, in the case where the
51 * driver was matched to the device by means of a match table that provides
54 * Once bound a device exists but is not yet active until device_probe() is
57 * @parent: Pointer to device's parent, under which this driver will exist
58 * @drv: Device's driver
59 * @name: Name of device (e.g. device tree node name)
61 * @node: Device tree node for this device. This is invalid for devices which
62 * don't use device tree.
63 * @devp: if non-NULL, returns a pointer to the bound device
71 * device_bind_by_name: Create a device and bind it to a driver
73 * This is a helper function used to bind devices which do not use device
76 * @parent: Pointer to device's parent
79 * @info: Name and platdata for this device
80 * @devp: if non-NULL, returns a pointer to the bound device
87 * device_probe() - Probe a device, activating it
89 * Activate a device so that it is ready for use. All its parents are probed
92 * @dev: Pointer to device to probe
98 * device_remove() - Remove a device, de-activating it
100 * De-activate a device so that it is no longer ready for use. All its
103 * @dev: Pointer to device to remove
104 * @flags: Flags for selective device removal (DM_REMOVE_...)
114 * device_unbind() - Unbind a device, destroying it
116 * Unbind a device and remove all memory used by it
118 * @dev: Pointer to device to unbind
134 * device_chld_unbind() - Unbind all device's children from the device if bound
140 * @dev: The device that is to be stripped of its children
154 * device_chld_remove() - Stop all device's children
155 * @dev: The device whose children are to be removed
175 * device address @addr to a system address using this property.
177 * @dev: Simple bus device (parent of target device)
187 /* device resource management */
192 * @dev: Device to release resources for
201 * @dev: Device to release resources for