Lines Matching +full:adjust +full:- +full:baud +full:- +full:rates
122 SERIAL_CHIP_UNKNOWN = -1,
132 * struct serial_device_info - structure to hold serial device info
140 * @baudrate: baud rate
155 * struct struct dm_serial_ops - Driver model serial operations
162 * setbrg() - Set up the baud rate generator
164 * Adjust baud rate divisors to set up a new baud rate for this
165 * device. Not all devices will support all rates. If the rate
167 * available rate. or return -EINVAL if this is not possible.
170 * @baudrate: New baud rate to use
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
204 * @return number of waiting characters, 0 for none, -ve on error
208 * clear() - Clear the serial FIFOs/holding registers
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
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