/openbmc/linux/arch/powerpc/platforms/chrp/ |
H A D | pci.c | 345 pci_read_config_byte(sl82c105, PCI_CLASS_PROG, &progif); in chrp_pci_fixup_winbond_ata() 346 pci_write_config_byte(sl82c105, PCI_CLASS_PROG, progif | 0x05); in chrp_pci_fixup_winbond_ata() 381 pci_read_config_byte(viaide, PCI_CLASS_PROG, &progif); in chrp_pci_fixup_vt8231_ata() 382 pci_write_config_byte(viaide, PCI_CLASS_PROG, progif & ~0x5); in chrp_pci_fixup_vt8231_ata()
|
/openbmc/qemu/hw/ide/ |
H A D | via.c | 165 uint8_t mode = pd->config[PCI_CLASS_PROG]; in via_ide_cfg_read() 192 if (range_covers_byte(addr, len, PCI_CLASS_PROG)) { in via_ide_cfg_write() 206 dev->wmask[PCI_CLASS_PROG] = 5; in via_ide_realize()
|
H A D | piix.c | 157 pci_conf[PCI_CLASS_PROG] = 0x80; // legacy ATA mode in pci_piix_ide_realize()
|
H A D | cmd646.c | 257 pci_conf[PCI_CLASS_PROG] = 0x8f; in pci_cmd646_ide_realize()
|
H A D | pci.c | 111 uint8_t mode = d->config[PCI_CLASS_PROG]; in pci_ide_update_mode()
|
/openbmc/linux/arch/powerpc/platforms/ |
H A D | fsl_uli1575.c | 77 pci_write_config_byte(dev, PCI_CLASS_PROG, 0x01); in early_uli5249() 283 pci_write_config_byte(dev, PCI_CLASS_PROG, 0x01); in hpcd_quirk_uli5288()
|
/openbmc/qemu/hw/sd/ |
H A D | sdhci-pci.c | 41 dev->config[PCI_CLASS_PROG] = 0x01; /* Standard Host supported DMA */ in sdhci_pci_realize()
|
/openbmc/linux/drivers/parisc/ |
H A D | superio.c | 438 pci_write_config_byte(pdev, PCI_CLASS_PROG, pdev->class); in superio_fixup_pci() 440 pci_read_config_byte(pdev, PCI_CLASS_PROG, &prog); in superio_fixup_pci()
|
/openbmc/qemu/hw/char/ |
H A D | serial-pci.c | 56 pci->dev.config[PCI_CLASS_PROG] = pci->prog_if; in OBJECT_DECLARE_SIMPLE_TYPE()
|
H A D | serial-pci-multi.c | 101 pci->dev.config[PCI_CLASS_PROG] = pci->prog_if; in multi_serial_pci_realize()
|
/openbmc/u-boot/drivers/bios_emulator/ |
H A D | bios.c | 189 dm_pci_read_config8(_BE_env.vgaInfo.pcidev, PCI_CLASS_PROG, 196 pci_read_config_byte(_BE_env.vgaInfo.pcidev, PCI_CLASS_PROG,
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-ohci-pci.c | 67 dev->config[PCI_CLASS_PROG] = 0x10; /* OHCI */ in usb_ohci_realize_pci()
|
H A D | hcd-ehci-pci.c | 39 pci_set_byte(&pci_conf[PCI_CLASS_PROG], 0x20); in usb_ehci_pci_realize()
|
H A D | hcd-uhci-pci.c | 77 pci_conf[PCI_CLASS_PROG] = 0x00; in usb_uhci_common_realize_pci()
|
H A D | hcd-xhci-pci.c | 114 dev->config[PCI_CLASS_PROG] = 0x30; /* xHCI */ in usb_xhci_pci_realize()
|
/openbmc/qemu/hw/pci-host/ |
H A D | grackle.c | 94 d->config[PCI_CLASS_PROG] = 0x01; in grackle_pci_realize()
|
/openbmc/linux/arch/powerpc/platforms/powermac/ |
H A D | pci.c | 1123 pci_read_config_byte(dev, PCI_CLASS_PROG, &progif); in pmac_pci_fixup_pciata() 1127 (void) pci_write_config_byte(dev, PCI_CLASS_PROG, progif|5); in pmac_pci_fixup_pciata() 1128 if (pci_read_config_byte(dev, PCI_CLASS_PROG, &progif) || in pmac_pci_fixup_pciata()
|
/openbmc/linux/drivers/ata/ |
H A D | pata_sis.c | 690 pci_read_config_byte(pdev, PCI_CLASS_PROG, ®); in sis_fixup() 692 pci_write_config_byte(pdev, PCI_CLASS_PROG, reg & 0xF0); in sis_fixup()
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | cfg_space.c | 334 vgpu_cfg_space(vgpu)[PCI_CLASS_PROG] = in intel_vgpu_init_cfg_space()
|
/openbmc/qemu/tests/qtest/ |
H A D | i440fx-test.c | 66 g_assert_cmpint(qpci_config_readb(dev, PCI_CLASS_PROG), ==, 0x00); in test_i440fx_defaults()
|
/openbmc/linux/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-host.c | 212 cdns_pcie_rp_writeb(pcie, PCI_CLASS_PROG, 0); in cdns_pcie_host_init_root_port()
|
/openbmc/qemu/include/hw/pci/ |
H A D | pci.h | 526 pci_set_byte(&pci_config[PCI_CLASS_PROG], val); in pci_config_set_prog_interface()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 73 #define PCI_CLASS_PROG 0x09 /* Reg. Level Programming Interface */ macro
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 73 #define PCI_CLASS_PROG 0x09 /* Reg. Level Programming Interface */ macro
|
/openbmc/u-boot/cmd/ |
H A D | pci.c | 177 { "programming interface", PCI_SIZE_8, PCI_CLASS_PROG },
|