/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | pci.c | 77 PCI_CLASS_DEVICE, 1, &class); in efi_pci_disable_bridge_busmaster() 94 PCI_CLASS_DEVICE, 1, &class); in efi_pci_disable_bridge_busmaster()
|
/openbmc/u-boot/drivers/bios_emulator/ |
H A D | bios.c | 191 dm_pci_read_config8(_BE_env.vgaInfo.pcidev, PCI_CLASS_DEVICE, 194 PCI_CLASS_DEVICE + 1, &baseclass); 198 pci_read_config_byte(_BE_env.vgaInfo.pcidev, PCI_CLASS_DEVICE, 201 PCI_CLASS_DEVICE + 1, &baseclass);
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_auto.c | 155 dm_pci_read_config16(dev, PCI_CLASS_DEVICE, &class); in dm_pciauto_setup_device() 331 dm_pci_read_config16(dev, PCI_CLASS_DEVICE, &class); in dm_pciauto_config_device()
|
H A D | pci_auto_old.c | 165 pci_hose_read_config_word(hose, dev, PCI_CLASS_DEVICE, &class); in pciauto_setup_device() 333 pci_hose_read_config_word(hose, dev, PCI_CLASS_DEVICE, &class); in pciauto_config_device()
|
H A D | pci_ftpci100.c | 202 PCI_CLASS_DEVICE, &data32); in pci_bus_scan()
|
H A D | pci.c | 375 pci_hose_read_config_word(hose, dev, PCI_CLASS_DEVICE, &class); in pci_hose_scan_bus()
|
H A D | pcie_layerscape.c | 299 writew(PCI_CLASS_BRIDGE_PCI, pcie->dbi + PCI_CLASS_DEVICE); in ls_pcie_fix_class()
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | cfg_space.c | 332 vgpu_cfg_space(vgpu)[PCI_CLASS_DEVICE] = in intel_vgpu_init_cfg_space() 386 bool primary = vgpu_cfg_space(vgpu)[PCI_CLASS_DEVICE] != in intel_vgpu_reset_cfg_space()
|
/openbmc/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()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | p2sb.c | 153 pci_bus_read_config_word(bus, devfn_p2sb, PCI_CLASS_DEVICE, &class); in p2sb_cache_resources()
|
/openbmc/linux/arch/x86/pci/ |
H A D | direct.c | 208 if (o->read(0, 0, devfn, PCI_CLASS_DEVICE, 2, &x)) in pci_sanity_check()
|
/openbmc/qemu/hw/vfio/ |
H A D | pci.h | 195 uint16_t class = pci_get_word(pdev->config + PCI_CLASS_DEVICE); in vfio_is_vga()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-sis96x.c | 253 pci_read_config_word(dev, PCI_CLASS_DEVICE, &ww); in sis96x_probe()
|
/openbmc/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()
|
/openbmc/u-boot/drivers/misc/ |
H A D | swap_case.c | 82 case PCI_CLASS_DEVICE: in sandbox_swap_case_read_config()
|
/openbmc/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()
|
/openbmc/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 | 875 pci_set_word(dev->cmask + PCI_CLASS_DEVICE, 0xffff); in pci_init_cmask() 2148 class_id = pci_get_word(pci_dev->config + PCI_CLASS_DEVICE); in pci_qdev_realize() 2356 int class = pci_get_word(pdev->config + PCI_CLASS_DEVICE); in pci_add_option_rom() 2518 int class = pci_get_word(d->config + PCI_CLASS_DEVICE); in pci_dev_fw_name()
|
/openbmc/linux/arch/powerpc/platforms/ |
H A D | fsl_uli1575.c | 284 pci_write_config_byte(dev, PCI_CLASS_DEVICE, 0x06); in hpcd_quirk_uli5288()
|
/openbmc/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()
|
/openbmc/linux/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-host.c | 213 cdns_pcie_rp_writew(pcie, PCI_CLASS_DEVICE, PCI_CLASS_BRIDGE_PCI); in cdns_pcie_host_init_root_port()
|
/openbmc/qemu/hw/ppc/ |
H A D | pegasos2.c | 792 if (pci_get_word(&d->config[PCI_CLASS_DEVICE]) == in add_pci_device() 795 } else if (pci_get_word(&d->config[PCI_CLASS_DEVICE]) >> 8 == in add_pci_device()
|
/openbmc/qemu/include/hw/pci/ |
H A D | pci.h | 520 pci_set_word(&pci_config[PCI_CLASS_DEVICE], val); in pci_config_set_class()
|