Searched refs:divisor (Results 1 – 1 of 1) sorted by relevance
104 let divisor = UART_MAX_BITS_RATE / baud_rate; in uart_init() localVariable106 io_out8(port + 0, (divisor & 0xff) as u8); // Set divisor (lo byte) in uart_init()107 io_out8(port + 1, ((divisor >> 8) & 0xff) as u8); // (hi byte) in uart_init()226 let divisor = UART_MAX_BITS_RATE / baud_rate; in c_uart_init() localVariable228 io_out8(port + 0, (divisor & 0xff) as u8); // Set divisor (lo byte) in c_uart_init()229 io_out8(port + 1, ((divisor >> 8) & 0xff) as u8); // (hi byte) in c_uart_init()