Searched refs:PCI_CLASS_DEVICE (Results 1 – 14 of 14) sorted by relevance
/qemu/hw/i386/xen/ |
H A D | xen_platform.c | 133 if (pci_get_word(d->config + PCI_CLASS_DEVICE) == in unplug_nic() 238 switch (pci_get_word(d->config + PCI_CLASS_DEVICE)) { in unplug_disks()
|
/qemu/tests/qtest/ |
H A D | riscv-iommu-test.c | 48 classid = qpci_config_readw(dev, PCI_CLASS_DEVICE); in test_pci_config()
|
H A D | i440fx-test.c | 67 g_assert_cmpint(qpci_config_readw(dev, PCI_CLASS_DEVICE), ==, 0x0600); in test_i440fx_defaults()
|
/qemu/hw/vfio/ |
H A D | pci.h | 208 uint16_t class = pci_get_word(pdev->config + PCI_CLASS_DEVICE); in vfio_is_vga()
|
H A D | pci-quirks.c | 1471 if (pci_get_byte(pdev->config + PCI_CLASS_DEVICE + 1) != in vfio_add_nv_gpudirect_cap()
|
/qemu/tests/qtest/libqos/ |
H A D | pci.c | 146 class = qpci_config_readw(dev, PCI_CLASS_DEVICE); in qpci_secondary_buses_rec() 159 class = qpci_config_readw(dev, PCI_CLASS_DEVICE); in qpci_secondary_buses_rec()
|
/qemu/hw/pci/ |
H A D | pci-qmp-cmds.c | 120 class = pci_get_word(dev->config + PCI_CLASS_DEVICE); in qmp_query_pci_device()
|
H A D | pci-hmp-cmds.c | 140 int class = pci_get_word(d->config + PCI_CLASS_DEVICE); in pcibus_dev_print()
|
H A D | pci.c | 1016 pci_set_word(dev->cmask + PCI_CLASS_DEVICE, 0xffff); in pci_init_cmask() 2312 class_id = pci_get_word(pci_dev->config + PCI_CLASS_DEVICE); in pci_qdev_realize() 2520 int class = pci_get_word(pdev->config + PCI_CLASS_DEVICE); in pci_add_option_rom() 2690 int class = pci_get_word(d->config + PCI_CLASS_DEVICE); in pci_dev_fw_name()
|
/qemu/hw/remote/ |
H A D | proxy.c | 306 config_op_send(pdev, PCI_CLASS_DEVICE, &val, 2, MPQEMU_CMD_PCI_CFGREAD); in probe_pci_info()
|
/qemu/hw/ppc/ |
H A D | pegasos2.c | 791 if (pci_get_word(&d->config[PCI_CLASS_DEVICE]) == in add_pci_device() 794 } else if (pci_get_word(&d->config[PCI_CLASS_DEVICE]) >> 8 == in add_pci_device()
|
/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 74 #define PCI_CLASS_DEVICE 0x0a /* Device class */ macro
|
/qemu/include/hw/pci/ |
H A D | pci.h | 844 pci_set_word(&pci_config[PCI_CLASS_DEVICE], val); in pci_config_set_class()
|
/qemu/hw/riscv/ |
H A D | riscv-iommu.c | 2598 return pci_get_word(pdev->config + PCI_CLASS_DEVICE) == 0x0806; in pci_is_iommu()
|