Home
last modified time | relevance | path

Searched refs:vuart_idx (Results 1 – 3 of 3) sorted by relevance

/hypervisor/dm/vpci/
A Dvmcs9900.c115 struct acrn_vuart *vu = &vm->vuart[pci_cfg->vuart_idx]; in init_vmcs9900()
146 pr_info("init acrn_vuart[%d]", pci_cfg->vuart_idx); in init_vmcs9900()
173 uint16_t vuart_idx = *((uint16_t*)(dev->args)); in create_vmcs9900_vdev() local
177 if (dev_config->vuart_idx == vuart_idx) { in create_vmcs9900_vdev()
192 pr_err("Failed: create VM%d vuart_idx=%d", vm->vm_id, vuart_idx); in create_vmcs9900_vdev()
/hypervisor/dm/
A Dvuart.c649 static bool vuart_register_io_handler(struct acrn_vm *vm, uint16_t port_base, uint32_t vuart_idx) in vuart_register_io_handler() argument
657 if (vuart_idx < MAX_VUART_NUM_PER_VM) { in vuart_register_io_handler()
658 register_pio_emulation_handler(vm, UART_PIO_IDX0 + vuart_idx, &range, vuart_read, vuart_write); in vuart_register_io_handler()
660 printf("Not support vuart index %d, will not register \n", vuart_idx); in vuart_register_io_handler()
666 static void setup_vuart(struct acrn_vm *vm, uint16_t vuart_idx) in setup_vuart() argument
669 struct acrn_vuart *vu = &vm->vuart[vuart_idx]; in setup_vuart()
706 const struct vuart_config *vu_config, uint16_t vuart_idx) in vuart_setup_connection() argument
710 vu = &vm->vuart[vuart_idx]; in vuart_setup_connection()
868 uint16_t idx = pci_cfg->vuart_idx; in init_pci_vuart()
880 if (pci_cfg->vuart_idx != 0U) { in init_pci_vuart()
/hypervisor/include/arch/x86/asm/
A Dvm_config.h147 uint16_t vuart_idx; member

Completed in 7 milliseconds