Home
last modified time | relevance | path

Searched refs:vuart (Results 1 – 18 of 18) sorted by relevance

/xen/xen/arch/arm/
A Dvuart.c60 if ( !d->arch.vuart.info ) in domain_vuart_init()
63 spin_lock_init(&d->arch.vuart.lock); in domain_vuart_init()
64 d->arch.vuart.idx = 0; in domain_vuart_init()
67 if ( !d->arch.vuart.buf ) in domain_vuart_init()
71 d->arch.vuart.info->base_addr, in domain_vuart_init()
72 d->arch.vuart.info->size, in domain_vuart_init()
83 xfree(d->arch.vuart.buf); in domain_vuart_free()
89 struct vuart *uart = &d->arch.vuart; in vuart_print_char()
119 if ( offset == d->arch.vuart.info->status_off ) in vuart_mmio_read()
121 *r = d->arch.vuart.info->status; in vuart_mmio_read()
[all …]
A DMakefile64 obj-y += vuart.o
/xen/xen/drivers/char/
A Dcadence-uart.c37 struct vuart_info vuart; member
140 return &uart->vuart; in cuart_vuart()
191 uart->vuart.base_addr = addr; in cuart_init()
192 uart->vuart.size = size; in cuart_init()
193 uart->vuart.data_off = R_UART_RX; in cuart_init()
194 uart->vuart.status_off = R_UART_SR; in cuart_init()
195 uart->vuart.status = UART_SR_INTR_TEMPTY; in cuart_init()
A Dmeson-uart.c59 struct vuart_info vuart; member
158 return &uart->vuart; in meson_vuart_info()
240 uart->vuart.base_addr = addr; in meson_uart_init()
241 uart->vuart.size = size; in meson_uart_init()
242 uart->vuart.data_off = AML_UART_WFIFO_REG; in meson_uart_init()
243 uart->vuart.status_off = AML_UART_STATUS_REG; in meson_uart_init()
244 uart->vuart.status = AML_UART_RX_FIFO_EMPTY | AML_UART_TX_FIFO_EMPTY; in meson_uart_init()
A Dmvebu-uart.c62 struct vuart_info vuart; member
167 return &uart->vuart; in mvebu3700_vuart_info()
262 uart->vuart.base_addr = addr; in mvebu_uart_init()
263 uart->vuart.size = size; in mvebu_uart_init()
264 uart->vuart.data_off = UART_CTRL_REG; in mvebu_uart_init()
265 uart->vuart.status_off = UART_STATUS_REG; in mvebu_uart_init()
266 uart->vuart.status = STATUS_TX_RDY | STATUS_RX_RDY; in mvebu_uart_init()
A Dexynos4210-uart.c35 struct vuart_info vuart; member
281 return &uart->vuart; in exynos4210_vuart_info()
340 uart->vuart.base_addr = addr; in exynos4210_uart_init()
341 uart->vuart.size = size; in exynos4210_uart_init()
342 uart->vuart.data_off = UTXH; in exynos4210_uart_init()
343 uart->vuart.status_off = UTRSTAT; in exynos4210_uart_init()
344 uart->vuart.status = UTRSTAT_TXE | UTRSTAT_TXFE; in exynos4210_uart_init()
A Dpl011.c38 struct vuart_info vuart; member
193 return &uart->vuart; in pl011_vuart()
243 uart->vuart.base_addr = addr; in pl011_uart_init()
244 uart->vuart.size = size; in pl011_uart_init()
245 uart->vuart.data_off = DR; in pl011_uart_init()
246 uart->vuart.status_off = FR; in pl011_uart_init()
247 uart->vuart.status = 0; in pl011_uart_init()
A Domap-uart.c59 struct vuart_info vuart; member
304 return &uart->vuart; in omap_vuart_info()
371 uart->vuart.base_addr = addr; in omap_uart_init()
372 uart->vuart.size = size; in omap_uart_init()
373 uart->vuart.data_off = UART_THR; in omap_uart_init()
374 uart->vuart.status_off = UART_LSR << REG_SHIFT; in omap_uart_init()
375 uart->vuart.status = UART_LSR_THRE; in omap_uart_init()
A Dscif-uart.c42 struct vuart_info vuart; member
255 return &uart->vuart; in scif_vuart_info()
335 uart->vuart.base_addr = addr; in scif_uart_init()
336 uart->vuart.size = size; in scif_uart_init()
337 uart->vuart.data_off = uart->params->tx_fifo_reg; in scif_uart_init()
338 uart->vuart.status_off = uart->params->status_reg; in scif_uart_init()
339 uart->vuart.status = SCFSR_TDFE; in scif_uart_init()
A Dns16550.c78 struct vuart_info vuart; member
961 return &uart->vuart; in ns16550_vuart_info()
1595 uart->vuart.base_addr = uart->io_base; in ns16550_uart_dt_init()
1596 uart->vuart.size = uart->io_size; in ns16550_uart_dt_init()
1597 uart->vuart.data_off = UART_THR <<uart->reg_shift; in ns16550_uart_dt_init()
1598 uart->vuart.status_off = UART_LSR<<uart->reg_shift; in ns16550_uart_dt_init()
1599 uart->vuart.status = UART_LSR_THRE|UART_LSR_TEMT; in ns16550_uart_dt_init()
1684 uart->vuart.base_addr = uart->io_base;
1685 uart->vuart.size = uart->io_size;
1686 uart->vuart.data_off = UART_THR << uart->reg_shift;
[all …]
/xen/docs/misc/
A Dconsole.txt24 /local/domain/$DOMID/vuart/0
26 The vuart console provides access to a virtual SBSA UART on ARM systems.
27 To enable vuart the following line has to be added to the guest configuration
30 vuart = "sbsa_uart"
83 /local/domain/$DOMID/vuart/0/tty
116 parameter plus an optional console type (pv for PV consoles, vuart for
/xen/xen/include/asm-arm/
A Ddomain.h67 struct vuart { struct
73 } vuart; member
/xen/tools/libxl/
A Dlibxl_arm.c37 if (d_config->b_info.arch_arm.vuart == LIBXL_VUART_TYPE_SBSA_UART) { in libxl__arch_domain_prepare_config()
959 if (info->arch_arm.vuart == LIBXL_VUART_TYPE_SBSA_UART) in libxl__prepare_dtb()
1126 if (info->arch_arm.vuart != LIBXL_VUART_TYPE_SBSA_UART) { in libxl__arch_build_dom_finish()
A Dlibxl_create.c1730 libxl__device_console console, vuart; in domcreate_launch_dm() local
1743 if (d_config->b_info.arch_arm.vuart == LIBXL_VUART_TYPE_SBSA_UART) { in domcreate_launch_dm()
1744 init_console_info(gc, &vuart, 0); in domcreate_launch_dm()
1745 vuart.backend_domid = state->console_domid; in domcreate_launch_dm()
1746 libxl__device_vuart_add(gc, domid, &vuart, state); in domcreate_launch_dm()
1747 libxl__device_console_dispose(&vuart); in domcreate_launch_dm()
A Dlibxl_types.idl642 ("vuart", libxl_vuart_type),
/xen/docs/man/
A Dxl.cfg.5.pod.in1327 If vuart console is enabled then irq 32 is reserved for it. See
1328 L</vuart="uart"> to know how to enable vuart console.
2868 =item B<vuart="uart">
2870 To enable vuart console, user must specify the following option in the
2873 vuart = "sbsa_uart"
/xen/tools/xl/
A Dxl_parse.c1382 if (libxl_vuart_type_from_string(buf, &b_info->arch_arm.vuart)) { in parse_config_data()
/xen/tools/golang/xenlight/
A Dhelpers.gen.go1118 x.ArchArm.Vuart = VuartType(xc.arch_arm.vuart)
1593 xc.arch_arm.vuart = C.libxl_vuart_type(x.ArchArm.Vuart)

Completed in 36 milliseconds