Lines Matching full:parity
30 /* Parity type */
202 uint8_t bwpc, uint8_t parity, uint8_t stop_bit) in uart_b91_init() argument
209 /* config parity */ in uart_b91_init()
210 if (parity) { in uart_b91_init()
211 /* enable parity function */ in uart_b91_init()
214 if (parity == UART_PARITY_EVEN) { in uart_b91_init()
215 /* enable even parity */ in uart_b91_init()
217 } else if (parity == UART_PARITY_ODD) { in uart_b91_init()
218 /* enable odd parity */ in uart_b91_init()
222 uart->ctrl1 &= (~FLD_UART_PARITY_ENABLE); /* disable parity function */ in uart_b91_init()
252 uint8_t parity; in uart_b91_configure() local
257 /* check parity */ in uart_b91_configure()
258 if (cfg->parity == UART_CFG_PARITY_NONE) { in uart_b91_configure()
259 parity = UART_PARITY_NONE; in uart_b91_configure()
260 } else if (cfg->parity == UART_CFG_PARITY_ODD) { in uart_b91_configure()
261 parity = UART_PARITY_ODD; in uart_b91_configure()
262 } else if (cfg->parity == UART_CFG_PARITY_EVEN) { in uart_b91_configure()
263 parity = UART_PARITY_EVEN; in uart_b91_configure()
286 uart_b91_init(uart, divider, bwpc, parity, stop_bits); in uart_b91_configure()