Searched refs:PCIR_COMMAND (Results 1 – 5 of 5) sorted by relevance
| /hypervisor/debug/ |
| A D | uart16550.c | 180 uint16_t cmd = (uint16_t)pci_pdev_read_cfg(uart.bdf, PCIR_COMMAND, 2U); in uart16550_init() 185 pci_pdev_write_cfg(uart.bdf, PCIR_COMMAND, 2U, cmd | PCIM_CMD_PORTEN); in uart16550_init() 194 pci_pdev_write_cfg(uart.bdf, PCIR_COMMAND, 2U, cmd | PCIM_CMD_MEMEN); in uart16550_init()
|
| /hypervisor/hw/ |
| A D | pci.c | 317 cmd = pci_pdev_read_cfg(bdf, PCIR_COMMAND, 2U); in enable_disable_pci_intx() 325 pci_pdev_write_cfg(bdf, PCIR_COMMAND, 0x2U, new_cmd); in enable_disable_pci_intx() 549 val = pci_pdev_read_cfg(pdev->bdf, PCIR_COMMAND, 2U); in config_pci_bridge() 550 pci_pdev_write_cfg(pdev->bdf, PCIR_COMMAND, 2U, (uint16_t)val | PCIM_CMD_INTxDIS); in config_pci_bridge()
|
| /hypervisor/include/hw/ |
| A D | pci.h | 69 #define PCIR_COMMAND 0x04U macro
|
| /hypervisor/dm/vpci/ |
| A D | vpci.c | 485 if ((vdev->phyfun != NULL) && (offset == PCIR_COMMAND) && in read_cfg_header() 515 if (offset == PCIR_COMMAND) { in write_cfg_header() 517 uint16_t phys_cmd = (uint16_t)pci_pdev_read_cfg(vdev->pdev->bdf, PCIR_COMMAND, 2U); in write_cfg_header()
|
| A D | pci_pt.c | 622 pci_command = (uint16_t)pci_pdev_read_cfg(vdev->pdev->bdf, PCIR_COMMAND, 2U); in init_vdev_pt() 626 pci_pdev_write_cfg(vdev->pdev->bdf, PCIR_COMMAND, 2U, pci_command); in init_vdev_pt()
|
Completed in 11 milliseconds