Home
last modified time | relevance | path

Searched refs:lcrh (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/serial/
Duart_pl011.c209 uint32_t lcrh; in pl011_runtime_configure_internal() local
221 lcrh = get_uart(dev)->lcr_h & ~(PL011_LCRH_FORMAT_MASK | PL011_LCRH_STP2); in pl011_runtime_configure_internal()
225 lcrh &= ~(BIT(1) | BIT(2)); in pl011_runtime_configure_internal()
228 lcrh |= PL011_LCRH_PARITY_ODD; in pl011_runtime_configure_internal()
231 lcrh |= PL011_LCRH_PARTIY_EVEN; in pl011_runtime_configure_internal()
239 lcrh &= ~(PL011_LCRH_STP2); in pl011_runtime_configure_internal()
242 lcrh |= PL011_LCRH_STP2; in pl011_runtime_configure_internal()
250 lcrh |= PL011_LCRH_WLEN_SIZE(5) << PL011_LCRH_WLEN_SHIFT; in pl011_runtime_configure_internal()
253 lcrh |= PL011_LCRH_WLEN_SIZE(6) << PL011_LCRH_WLEN_SHIFT; in pl011_runtime_configure_internal()
256 lcrh |= PL011_LCRH_WLEN_SIZE(7) << PL011_LCRH_WLEN_SHIFT; in pl011_runtime_configure_internal()
[all …]
Duart_stellaris.c47 uint32_t lcrh; member
186 config->uart->lcrh &= ~UARTLCRH_FEN; in disable()
210 config->uart->lcrh = LINE_CONTROL_DEFAULTS; in line_control_defaults_set()
382 config->uart->lcrh = 0U; in uart_stellaris_irq_tx_enable()