Searched refs:rs485_dly_reg (Results 1 – 1 of 1) sorted by relevance
40 u32 rs485_dly_reg = 0; in lpc18xx_rs485_config() local53 rs485_dly_reg = DIV_ROUND_UP(rs485->delay_rts_after_send in lpc18xx_rs485_config()56 if (rs485_dly_reg > LPC18XX_UART_RS485DLY_MAX) in lpc18xx_rs485_config()57 rs485_dly_reg = LPC18XX_UART_RS485DLY_MAX; in lpc18xx_rs485_config()60 rs485->delay_rts_after_send = (rs485_dly_reg * MSEC_PER_SEC) in lpc18xx_rs485_config()65 serial_out(up, LPC18XX_UART_RS485DLY, rs485_dly_reg); in lpc18xx_rs485_config()