Lines Matching refs:uart
165 return bootloader.uart.type != ZBI_UART_NONE; in platform_serial_enabled()
173 bootloader.uart.type = ZBI_UART_NONE; in pc_init_debug_default_early()
182 bootloader.uart.type = ZBI_UART_NONE; in handle_serial_cmdline()
186 bootloader.uart.type = ZBI_UART_PC_PORT; in handle_serial_cmdline()
187 bootloader.uart.base = 0x3f8; in handle_serial_cmdline()
188 bootloader.uart.irq = ISA_IRQ_SERIAL1; in handle_serial_cmdline()
225 bootloader.uart.type = ZBI_UART_PC_PORT; in handle_serial_cmdline()
227 bootloader.uart.type = ZBI_UART_PC_MMIO; in handle_serial_cmdline()
239 bootloader.uart.base = strtoul(addr_buf, &endptr, 0); in handle_serial_cmdline()
253 bootloader.uart.irq = static_cast<uint32_t>(irq_val); in handle_serial_cmdline()
257 bootloader.uart.type = ZBI_UART_NONE; in handle_serial_cmdline()
264 switch (bootloader.uart.type) { in pc_init_debug_early()
266 uart_io_port = static_cast<uint32_t>(bootloader.uart.base); in pc_init_debug_early()
267 uart_irq = bootloader.uart.irq; in pc_init_debug_early()
270 uart_mem_addr = (uint64_t)paddr_to_physmap(bootloader.uart.base); in pc_init_debug_early()
271 uart_irq = bootloader.uart.irq; in pc_init_debug_early()
275 bootloader.uart.type = ZBI_UART_NONE; in pc_init_debug_early()