Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/serial/
H A Dstm32-usart.c184 u32 rs485_deat_dedt; in stm32_usart_config_reg_rs485() local
194 rs485_deat_dedt = delay_ADE * baud * 8; in stm32_usart_config_reg_rs485()
198 rs485_deat_dedt = DIV_ROUND_CLOSEST(rs485_deat_dedt, 1000); in stm32_usart_config_reg_rs485()
199 rs485_deat_dedt = rs485_deat_dedt > rs485_deat_dedt_max ? in stm32_usart_config_reg_rs485()
201 rs485_deat_dedt = (rs485_deat_dedt << USART_CR1_DEAT_SHIFT) & in stm32_usart_config_reg_rs485()
203 *cr1 |= rs485_deat_dedt; in stm32_usart_config_reg_rs485()
206 rs485_deat_dedt = delay_DDE * baud * 8; in stm32_usart_config_reg_rs485()
210 rs485_deat_dedt = DIV_ROUND_CLOSEST(rs485_deat_dedt, 1000); in stm32_usart_config_reg_rs485()
211 rs485_deat_dedt = rs485_deat_dedt > rs485_deat_dedt_max ? in stm32_usart_config_reg_rs485()
213 rs485_deat_dedt = (rs485_deat_dedt << USART_CR1_DEDT_SHIFT) & in stm32_usart_config_reg_rs485()
[all …]