Home
last modified time | relevance | path

Searched refs:PCI_CLASS_DEVICE (Results 1 – 12 of 12) sorted by relevance

/qemu/hw/i386/xen/
H A Dxen_platform.c133 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/hw/vfio/
H A Dpci.h194 uint16_t class = pci_get_word(pdev->config + PCI_CLASS_DEVICE); in vfio_is_vga()
H A Dpci-quirks.c1556 if (pci_get_byte(pdev->config + PCI_CLASS_DEVICE + 1) != in vfio_add_nv_gpudirect_cap()
/qemu/tests/qtest/libqos/
H A Dpci.c146 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 Dpci-qmp-cmds.c120 class = pci_get_word(dev->config + PCI_CLASS_DEVICE); in qmp_query_pci_device()
H A Dpci-hmp-cmds.c130 int class = pci_get_word(d->config + PCI_CLASS_DEVICE); in pcibus_dev_print()
H A Dpci.c857 pci_set_word(dev->cmask + PCI_CLASS_DEVICE, 0xffff); in pci_init_cmask()
2127 class_id = pci_get_word(pci_dev->config + PCI_CLASS_DEVICE); in pci_qdev_realize()
2335 int class = pci_get_word(pdev->config + PCI_CLASS_DEVICE); in pci_add_option_rom()
2497 int class = pci_get_word(d->config + PCI_CLASS_DEVICE); in pci_dev_fw_name()
/qemu/tests/qtest/
H A Di440fx-test.c67 g_assert_cmpint(qpci_config_readw(dev, PCI_CLASS_DEVICE), ==, 0x0600); in test_i440fx_defaults()
/qemu/hw/remote/
H A Dproxy.c307 config_op_send(pdev, PCI_CLASS_DEVICE, &val, 2, MPQEMU_CMD_PCI_CFGREAD); in probe_pci_info()
/qemu/hw/ppc/
H A Dpegasos2.c763 if (pci_get_word(&d->config[PCI_CLASS_DEVICE]) == in add_pci_device()
766 } else if (pci_get_word(&d->config[PCI_CLASS_DEVICE]) >> 8 == in add_pci_device()
/qemu/include/standard-headers/linux/
H A Dpci_regs.h74 #define PCI_CLASS_DEVICE 0x0a /* Device class */ macro
/qemu/include/hw/pci/
H A Dpci.h481 pci_set_word(&pci_config[PCI_CLASS_DEVICE], val); in pci_config_set_class()