Lines Matching refs:io_out8

14     include::bindings::bindings::{io_in8, io_out8},
288 io_out8(port + 1, 0x00); // Disable all interrupts in uart_init()
289 io_out8(port + 3, 0x80); // Enable DLAB (set baud rate divisor) in uart_init()
293 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()
295 io_out8(port + 3, 0x03); // 8 bits, no parity, one stop bit in uart_init()
296 io_out8(port + 2, 0xC7); // Enable FIFO, clear them, with 14-byte threshold in uart_init()
297io_out8(port + 4, 0x08); // IRQs enabled, RTS/DSR clear (现代计算机上一般都不需要hardware flow control,因此不需要置位… in uart_init()
298 io_out8(port + 4, 0x1E); // Set in loopback mode, test the serial chip in uart_init()
299io_out8(port + 0, 0xAE); // Test serial chip (send byte 0xAE and check if serial returns same byte) in uart_init()
308 io_out8(port + 4, 0x08); in uart_init()
348 io_out8(port, c); in uart_send()
377 io_out8(port, c); in c_uart_send()
417 io_out8(port + 1, 0x00); // Disable all interrupts in c_uart_init()
418 io_out8(port + 3, 0x80); // Enable DLAB (set baud rate divisor) in c_uart_init()
422 io_out8(port + 0, (divisor & 0xff) as u8); // Set divisor (lo byte) in c_uart_init()
423io_out8(port + 1, ((divisor >> 8) & 0xff) as u8); // CompatibleTable(hi byte) in c_uart_init()
424 io_out8(port + 3, 0x03); // 8 bits, no parity, one stop bit in c_uart_init()
425 io_out8(port + 2, 0xC7); // Enable FIFO, clear them, with 14-byte threshold in c_uart_init()
426io_out8(port + 4, 0x08); // IRQs enabled, RTS/DSR clear (现代计算机上一般都不需要hardware flow control,因此不需要置位… in c_uart_init()
427 io_out8(port + 4, 0x1E); // Set in loopback mode, test the serial chip in c_uart_init()
428io_out8(port + 0, 0xAE); // Test serial chip (send byte 0xAE and check if serial returns same byte) in c_uart_init()
437 io_out8(port + 4, 0x08); in c_uart_init()