Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/firmware/efi/libstub/
H A Dpci.c77 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 Dbios.c191 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 Dpci_auto.c155 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 Dpci_auto_old.c165 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 Dpci_ftpci100.c202 PCI_CLASS_DEVICE, &data32); in pci_bus_scan()
H A Dpci.c375 pci_hose_read_config_word(hose, dev, PCI_CLASS_DEVICE, &class); in pci_hose_scan_bus()
H A Dpcie_layerscape.c299 writew(PCI_CLASS_BRIDGE_PCI, pcie->dbi + PCI_CLASS_DEVICE); in ls_pcie_fix_class()
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dcfg_space.c332 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 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()
/openbmc/linux/drivers/platform/x86/
H A Dp2sb.c153 pci_bus_read_config_word(bus, devfn_p2sb, PCI_CLASS_DEVICE, &class); in p2sb_cache_resources()
/openbmc/linux/arch/x86/pci/
H A Ddirect.c208 if (o->read(0, 0, devfn, PCI_CLASS_DEVICE, 2, &x)) in pci_sanity_check()
/openbmc/qemu/hw/vfio/
H A Dpci.h195 uint16_t class = pci_get_word(pdev->config + PCI_CLASS_DEVICE); in vfio_is_vga()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-sis96x.c253 pci_read_config_word(dev, PCI_CLASS_DEVICE, &ww); in sis96x_probe()
/openbmc/qemu/tests/qtest/
H A Driscv-iommu-test.c48 classid = qpci_config_readw(dev, PCI_CLASS_DEVICE); in test_pci_config()
H A Di440fx-test.c67 g_assert_cmpint(qpci_config_readw(dev, PCI_CLASS_DEVICE), ==, 0x0600); in test_i440fx_defaults()
/openbmc/u-boot/drivers/misc/
H A Dswap_case.c82 case PCI_CLASS_DEVICE: in sandbox_swap_case_read_config()
/openbmc/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()
/openbmc/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.c140 int class = pci_get_word(d->config + PCI_CLASS_DEVICE); in pcibus_dev_print()
H A Dpci.c875 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 Dfsl_uli1575.c284 pci_write_config_byte(dev, PCI_CLASS_DEVICE, 0x06); in hpcd_quirk_uli5288()
/openbmc/qemu/hw/remote/
H A Dproxy.c307 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 Dpcie-cadence-host.c213 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 Dpegasos2.c792 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 Dpci.h520 pci_set_word(&pci_config[PCI_CLASS_DEVICE], val); in pci_config_set_class()

12