Lines Matching +full:wait +full:- +full:on +full:- +full:read
1 /* SPDX-License-Identifier: GPL-2.0+ */
10 * misc_read() - Read the device to buffer, optional.
12 * @offset: offset to read the device
14 * @size: data size in bytes to read the device
16 * Return: number of bytes read if OK (may be 0 if EOF), -ve on error
21 * misc_write() - Write buffer to the device, optional.
27 * Return: number of bytes written if OK (may be < @size), -ve on error
32 * misc_ioctl() - Assert command to the device, optional.
37 * Return: 0 if OK, -ve on error
42 * misc_call() - Send a message to the device and wait for a response.
57 * Return: the response message size if OK, -ve on error
63 * misc_set_enabled() - Enable or disable a device.
71 * A probed device may start in a disabled or enabled state, depending on the
74 * Return: -ve on error, 0 if the previous state was "disabled", 1 if the
80 * struct misc_ops - Driver model Misc operations
87 * Read the device to buffer, optional.
89 * @offset: offset to read the device
91 * @size: data size in bytes to read the device
93 * Return: number of bytes read if OK (may be 0 if EOF), -ve on error
95 int (*read)(struct udevice *dev, int offset, void *buf, int size); member
104 * Return: number of bytes written if OK (may be < @size), -ve on error
114 * Return: 0 if OK, -ve on error
119 * Send a message to the device and wait for a response.
128 * Return: the response message size if OK, -ve on error
138 * Return: -ve on error, 0 if the previous state was "disabled", 1 if