Lines Matching refs:lcrh
209 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()
259 lcrh |= PL011_LCRH_WLEN_SIZE(8) << PL011_LCRH_WLEN_SHIFT; in pl011_runtime_configure_internal()
283 get_uart(dev)->lcr_h = lcrh; in pl011_runtime_configure_internal()