Lines Matching +full:rx +full:- +full:input

122 	SERIAL_CHIP_UNKNOWN = -1,
132 * struct serial_device_info - structure to hold serial device info
155 * struct struct dm_serial_ops - Driver model serial operations
162 * setbrg() - Set up the baud rate generator
167 * available rate. or return -EINVAL if this is not possible.
171 * @return 0 if OK, -ve on error
175 * getc() - Read a character and return it
177 * If no character is available, this should return -EAGAIN without
181 * @return character (0..255), -ve on error
185 * putc() - Write a character
189 * @return 0 if OK, -ve on error
193 * pending() - Check if input/output characters are waiting
203 * @input: true to check input characters, false for output
204 * @return number of waiting characters, 0 for none, -ve on error
206 int (*pending)(struct udevice *dev, bool input);
208 * clear() - Clear the serial FIFOs/holding registers
212 * This quickly clears any input/output characters from the UART.
214 * is acceptable to return -EAGAIN (try again) or -EINVAL (not
218 * @return 0 if OK, -ve on error
223 * loop() - Control serial device loopback mode
232 * getconfig() - Get the uart configuration
239 * @return 0 if OK, -ve on error
243 * setconfig() - Set up the uart configuration
250 * @return 0 if OK, -ve on error
254 * getinfo() - Get serial device information
258 * @return 0 if OK, -ve on error
264 * struct serial_dev_priv - information about a device used by the uclass
268 * @buf: Pointer to the RX buffer
269 * @rd_ptr: Read pointer in the RX buffer
270 * @wr_ptr: Write pointer in the RX buffer
281 #define serial_get_ops(dev) ((struct dm_serial_ops *)(dev)->driver->ops)
284 * serial_getconfig() - Get the uart configuration
291 * @return 0 if OK, -ve on error
296 * serial_setconfig() - Set up the uart configuration
303 * @return 0 if OK, -ve on error
308 * serial_getinfo() - Get serial device information
312 * @return 0 if OK, -ve on error