Searched refs:PCI_CLASS_DEVICE (Results 1 – 12 of 12) 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/hw/vfio/ |
H A D | pci.h | 194 uint16_t class = pci_get_word(pdev->config + PCI_CLASS_DEVICE); in vfio_is_vga()
|
H A D | pci-quirks.c | 1556 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 | 130 int class = pci_get_word(d->config + PCI_CLASS_DEVICE); in pcibus_dev_print()
|
H A D | pci.c | 857 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 D | i440fx-test.c | 67 g_assert_cmpint(qpci_config_readw(dev, PCI_CLASS_DEVICE), ==, 0x0600); in test_i440fx_defaults()
|
/qemu/hw/remote/ |
H A D | proxy.c | 307 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 | 763 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 D | pci_regs.h | 74 #define PCI_CLASS_DEVICE 0x0a /* Device class */ macro
|
/qemu/include/hw/pci/ |
H A D | pci.h | 481 pci_set_word(&pci_config[PCI_CLASS_DEVICE], val); in pci_config_set_class()
|