Searched refs:CR1_OFFSET (Results 1 – 2 of 2) sorted by relevance
29 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()
10 #define CR1_OFFSET(x) (x ? 0x0c : 0x00) macro