Lines Matching refs:out8
136 CurrentPortIOArch::out8(port + 1, 0x00); // Disable all interrupts in init()
140 … CurrentPortIOArch::out8(port + 2, 0xC7); // Enable FIFO, clear them, with 14-byte threshold in init()
141 …CurrentPortIOArch::out8(port + 4, 0x08); // IRQs enabled, RTS/DSR clear (现代计算机上一般都不需要hardware flow… in init()
142 CurrentPortIOArch::out8(port + 4, 0x1E); // Set in loopback mode, test the serial chip in init()
143 …CurrentPortIOArch::out8(port, 0xAE); // Test serial chip (send byte 0xAE and check if serial retur… in init()
153 CurrentPortIOArch::out8(port + 4, 0x0b); in init()
155 CurrentPortIOArch::out8(port + 1, 0x01); // Enable interrupts in init()
230 unsafe { CurrentPortIOArch::out8(self.iobase as u16 + offset as u16, value as u8) } in serial_out()
243 CurrentPortIOArch::out8(port + 3, 0x80); // Enable DLAB (set baud rate divisor) in set_divisor()
247 CurrentPortIOArch::out8(port, (divisor & 0xff) as u8); // Set divisor (lo byte) in set_divisor()
248 CurrentPortIOArch::out8(port + 1, ((divisor >> 8) & 0xff) as u8); // (hi byte) in set_divisor()
249 CurrentPortIOArch::out8(port + 3, 0x03); // 8 bits, no parity, one stop bit in set_divisor()