Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/serial/
H A Dserial_stm32.c29 setbits_le32(base + CR1_OFFSET(stm32f4), USART_CR1_OVER8); in _stm32_serial_setbrg()
32 clrbits_le32(base + CR1_OFFSET(stm32f4), USART_CR1_OVER8); in _stm32_serial_setbrg()
56 u32 cr1 = plat->base + CR1_OFFSET(stm32f4); in stm32_serial_setconfig()
163 clrbits_le32(base + CR1_OFFSET(stm32f4), USART_CR1_RE | USART_CR1_TE | in _stm32_serial_init()
166 setbits_le32(base + CR1_OFFSET(stm32f4), USART_CR1_FIFOEN); in _stm32_serial_init()
167 setbits_le32(base + CR1_OFFSET(stm32f4), USART_CR1_RE | USART_CR1_TE | in _stm32_serial_init()
H A Dserial_stm32.h10 #define CR1_OFFSET(x) (x ? 0x0c : 0x00) macro