/openbmc/qemu/hw/ppc/ |
H A D | ppc440_bamboo.c | 224 if (serial_hd(0) != NULL) { in bamboo_init() 227 PPC_SERIAL_MM_BAUDBASE, serial_hd(0), in bamboo_init() 230 if (serial_hd(1) != NULL) { in bamboo_init() 233 PPC_SERIAL_MM_BAUDBASE, serial_hd(1), in bamboo_init()
|
H A D | sam460ex.c | 475 if (serial_hd(0) != NULL) { in sam460ex_init() 478 PPC_SERIAL_MM_BAUDBASE, serial_hd(0), in sam460ex_init() 481 if (serial_hd(1) != NULL) { in sam460ex_init() 484 PPC_SERIAL_MM_BAUDBASE, serial_hd(1), in sam460ex_init()
|
H A D | e500.c | 562 if (serial_hd(1)) { in ppce500_load_device_tree() 567 if (serial_hd(0)) { in ppce500_load_device_tree() 1008 if (serial_hd(0)) { in ppce500_init() 1011 serial_hd(0), DEVICE_BIG_ENDIAN); in ppce500_init() 1014 if (serial_hd(1)) { in ppce500_init() 1017 serial_hd(1), DEVICE_BIG_ENDIAN); in ppce500_init()
|
/openbmc/qemu/hw/hppa/ |
H A D | machine.c | 142 debugout = serial_hd(0); in io_cpu_write() 379 qdev_prop_set_chr(DEVICE(pci_dev), "chardev", serial_hd(0)); in machine_HP_common_init_tail() 389 if (serial_hd(1) && !lasi_dev) { in machine_HP_common_init_tail() 391 qdev_prop_set_chr(DEVICE(pci_dev), "chardev1", serial_hd(1)); in machine_HP_common_init_tail() 392 qdev_prop_set_chr(DEVICE(pci_dev), "chardev2", serial_hd(2)); in machine_HP_common_init_tail() 393 qdev_prop_set_chr(DEVICE(pci_dev), "chardev3", serial_hd(3)); in machine_HP_common_init_tail() 394 qdev_prop_set_chr(DEVICE(pci_dev), "chardev4", serial_hd(4)); in machine_HP_common_init_tail() 573 serial_hd(0), DEVICE_BIG_ENDIAN); in machine_HP_B160L_init() 577 serial_hd(1), DEVICE_BIG_ENDIAN); in machine_HP_B160L_init()
|
/openbmc/qemu/hw/xtensa/ |
H A D | sim.c | 90 if (serial_hd(0)) { in xtensa_sim_common_init() 91 xtensa_sim_open_console(serial_hd(0)); in xtensa_sim_common_init()
|
/openbmc/qemu/hw/arm/ |
H A D | kzm.c | 121 if (serial_hd(2)) { /* touchscreen */ in kzm_init() 124 14745600, serial_hd(2), DEVICE_NATIVE_ENDIAN); in kzm_init()
|
H A D | realview.c | 220 pl011_create(0x10009000, pic[12], serial_hd(0)); in realview_init() 221 pl011_create(0x1000a000, pic[13], serial_hd(1)); in realview_init() 222 pl011_create(0x1000b000, pic[14], serial_hd(2)); in realview_init() 223 pl011_create(0x1000c000, pic[15], serial_hd(3)); in realview_init()
|
H A D | versatilepb.c | 279 pl011_create(0x101f1000, pic[12], serial_hd(0)); in versatile_init() 280 pl011_create(0x101f2000, pic[13], serial_hd(1)); in versatile_init() 281 pl011_create(0x101f3000, pic[14], serial_hd(2)); in versatile_init() 282 pl011_create(0x10009000, sic[6], serial_hd(3)); in versatile_init()
|
H A D | fby35.c | 93 aspeed_soc_uart_set_chr(soc, ASPEED_DEV_UART5, serial_hd(0)); in fby35_bmc_init() 133 aspeed_soc_uart_set_chr(soc, ASPEED_DEV_UART5, serial_hd(1)); in fby35_bic_init()
|
H A D | allwinner-h3.c | 412 115200, serial_hd(0), DEVICE_NATIVE_ENDIAN); in allwinner_h3_realize() 416 115200, serial_hd(1), DEVICE_NATIVE_ENDIAN); in allwinner_h3_realize() 420 115200, serial_hd(2), DEVICE_NATIVE_ENDIAN); in allwinner_h3_realize() 424 115200, serial_hd(3), DEVICE_NATIVE_ENDIAN); in allwinner_h3_realize()
|
H A D | msf2-soc.c | 148 if (serial_hd(i)) { in m2sxxx_soc_realize() 151 115200, serial_hd(i), DEVICE_NATIVE_ENDIAN); in m2sxxx_soc_realize()
|
H A D | stm32l4x5_soc.c | 318 qdev_prop_set_chr(dev, "chardev", serial_hd(i)); in stm32l4x5_soc_realize() 334 qdev_prop_set_chr(dev, "chardev", serial_hd(STM_NUM_USARTS + i)); in stm32l4x5_soc_realize() 348 qdev_prop_set_chr(dev, "chardev", serial_hd(STM_NUM_USARTS + STM_NUM_UARTS)); in stm32l4x5_soc_realize()
|
H A D | microbit.c | 42 qdev_prop_set_chr(DEVICE(&s->nrf51), "serial0", serial_hd(0)); in OBJECT_DECLARE_SIMPLE_TYPE()
|
H A D | vexpress.c | 643 pl011_create(map[VE_UART0], pic[5], serial_hd(0)); in vexpress_common_init() 644 pl011_create(map[VE_UART1], pic[6], serial_hd(1)); in vexpress_common_init() 645 pl011_create(map[VE_UART2], pic[7], serial_hd(2)); in vexpress_common_init() 646 pl011_create(map[VE_UART3], pic[8], serial_hd(3)); in vexpress_common_init()
|
H A D | digic.c | 73 qdev_prop_set_chr(DEVICE(&s->uart), "chardev", serial_hd(0)); in digic_realize()
|
H A D | omap2.c | 2351 serial_hd(0)); in omap2420_mpu_init() 2360 serial_hd(0) ? serial_hd(1) : NULL); in omap2420_mpu_init() 2369 serial_hd(0) && serial_hd(1) ? serial_hd(2) : NULL); in omap2420_mpu_init() 2521 serial_hd(0) && serial_hd(1) && serial_hd(2) ? in omap2420_mpu_init() 2522 serial_hd(3) : NULL); in omap2420_mpu_init()
|
H A D | exynos4210.c | 722 EXYNOS4210_UART0_FIFO_SIZE, 0, serial_hd(0), in exynos4210_realize() 726 EXYNOS4210_UART1_FIFO_SIZE, 1, serial_hd(1), in exynos4210_realize() 730 EXYNOS4210_UART2_FIFO_SIZE, 2, serial_hd(2), in exynos4210_realize() 734 EXYNOS4210_UART3_FIFO_SIZE, 3, serial_hd(3), in exynos4210_realize()
|
/openbmc/qemu/hw/m68k/ |
H A D | mcf5208.c | 304 mcf_uart_create_mmap(0xfc060000, pic[26], serial_hd(0)); in mcf5208evb_init() 305 mcf_uart_create_mmap(0xfc064000, pic[27], serial_hd(1)); in mcf5208evb_init() 306 mcf_uart_create_mmap(0xfc068000, pic[28], serial_hd(2)); in mcf5208evb_init()
|
/openbmc/qemu/hw/riscv/ |
H A D | microchip_pfsoc.c | 348 serial_hd(0)); in microchip_pfsoc_soc_realize() 352 serial_hd(1)); in microchip_pfsoc_soc_realize() 356 serial_hd(2)); in microchip_pfsoc_soc_realize() 360 serial_hd(3)); in microchip_pfsoc_soc_realize() 364 serial_hd(4)); in microchip_pfsoc_soc_realize()
|
H A D | sifive_e.c | 263 serial_hd(0), qdev_get_gpio_in(DEVICE(s->plic), SIFIVE_E_UART0_IRQ)); in sifive_e_soc_realize() 269 serial_hd(1), qdev_get_gpio_in(DEVICE(s->plic), SIFIVE_E_UART1_IRQ)); in sifive_e_soc_realize()
|
/openbmc/qemu/hw/mips/ |
H A D | mipssim.c | 222 if (serial_hd(0)) { in mips_mipssim_init() 225 qdev_prop_set_chr(dev, "chardev", serial_hd(0)); in mips_mipssim_init()
|
/openbmc/qemu/hw/char/ |
H A D | serial-isa.c | 182 if (serial_hd(i)) { in serial_hds_isa_init() 183 serial_isa_init(bus, i, serial_hd(i)); in serial_hds_isa_init()
|
/openbmc/qemu/include/sysemu/ |
H A D | sysemu.h | 66 Chardev *serial_hd(int i);
|
/openbmc/qemu/hw/microblaze/ |
H A D | petalogix_s3adsp1800_mmu.c | 104 qdev_prop_set_chr(dev, "chardev", serial_hd(0)); in petalogix_s3adsp1800_init()
|
/openbmc/qemu/target/hppa/ |
H A D | sys_helper.c | 144 serial_port = serial_hd(0); in HELPER()
|