Lines Matching +full:psci +full:- +full:0
3 * devices exposed from QEMU, e.g. pl011 and chr-testdev. That's
13 #include <chr-testdev.h>
15 #include <asm/psci.h>
36 * kvm-unit-tests uses the uart only for output. Both uart models have in uart0_init_fdt()
37 * the TX register at offset 0 from the base address, so there is no in uart0_init_fdt()
45 assert(ret >= 0 || ret == -FDT_ERR_NOTFOUND); in uart0_init_fdt()
47 if (ret == -FDT_ERR_NOTFOUND) { in uart0_init_fdt()
49 for (i = 0; i < ARRAY_SIZE(compatible); i++) { in uart0_init_fdt()
51 assert(ret == 0 || ret == -FDT_ERR_NOTFOUND); in uart0_init_fdt()
53 if (ret == 0) in uart0_init_fdt()
63 is_pl011_uart = (i == 0); in uart0_init_fdt()
67 ret = dt_pbus_translate_node(ret, 0, &base); in uart0_init_fdt()
68 assert(ret == 0); in uart0_init_fdt()
83 uart0_base = ioremap(spcr->serial_port.address, spcr->serial_port.bit_width); in uart0_init_acpi()
120 int c = -1; in __getchar()
125 if (!(readb(uart0_base + 6 * 4) & 0x10)) /* RX not empty? */ in __getchar()
128 if (readb(uart0_base + 5) & 0x01) /* RX data ready? */ in __getchar()
149 * up when chr-testdev is not present. in exit()