Lines Matching +full:use +full:- +full:parity
78 #define SERIAL_SET_PARITY(parity) \ argument
79 ((parity << SERIAL_PAR_SHIFT) & SERIAL_PAR_MASK)
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
157 * The uclass interface is implemented by all serial devices which use
162 * setbrg() - Set up the baud rate generator
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
233 * (parity, 5/6/7/8 bits word length, stop bits)
239 * @return 0 if OK, -ve on error
243 * setconfig() - Set up the uart configuration
244 * (parity, 5/6/7/8 bits word length, stop bits)
249 * @serial_config: number of bits, parity and number of stopbits to use
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
285 * (parity, 5/6/7/8 bits word length, stop bits)
291 * @return 0 if OK, -ve on error
296 * serial_setconfig() - Set up the uart configuration
297 * (parity, 5/6/7/8 bits word length, stop bits)
302 * @serial_config: number of bits, parity and number of stopbits to use
303 * @return 0 if OK, -ve on error
308 * serial_getinfo() - Get serial device information
312 * @return 0 if OK, -ve on error