Searched refs:divisor (Results 1 – 1 of 1) sorted by relevance
291 let divisor = UART_MAX_BITS_RATE / baud_rate; in uart_init() localVariable293 io_out8(port + 0, (divisor & 0xff) as u8); // Set divisor (lo byte) in uart_init()294 io_out8(port + 1, ((divisor >> 8) & 0xff) as u8); // (hi byte) in uart_init()420 let divisor = UART_MAX_BITS_RATE / baud_rate; in c_uart_init() localVariable422 io_out8(port + 0, (divisor & 0xff) as u8); // Set divisor (lo byte) in c_uart_init()423 … io_out8(port + 1, ((divisor >> 8) & 0xff) as u8); // CompatibleTable(hi byte) in c_uart_init()