Home
last modified time | relevance | path

Searched refs:PCI_CLASS_PROG (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/arch/powerpc/platforms/chrp/
H A Dpci.c345 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 Dvia.c165 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 Dpiix.c157 pci_conf[PCI_CLASS_PROG] = 0x80; // legacy ATA mode in pci_piix_ide_realize()
H A Dcmd646.c257 pci_conf[PCI_CLASS_PROG] = 0x8f; in pci_cmd646_ide_realize()
H A Dpci.c111 uint8_t mode = d->config[PCI_CLASS_PROG]; in pci_ide_update_mode()
/openbmc/linux/arch/powerpc/platforms/
H A Dfsl_uli1575.c77 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 Dsdhci-pci.c41 dev->config[PCI_CLASS_PROG] = 0x01; /* Standard Host supported DMA */ in sdhci_pci_realize()
/openbmc/linux/drivers/parisc/
H A Dsuperio.c438 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 Dserial-pci.c56 pci->dev.config[PCI_CLASS_PROG] = pci->prog_if; in OBJECT_DECLARE_SIMPLE_TYPE()
H A Dserial-pci-multi.c101 pci->dev.config[PCI_CLASS_PROG] = pci->prog_if; in multi_serial_pci_realize()
/openbmc/u-boot/drivers/bios_emulator/
H A Dbios.c189 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 Dhcd-ohci-pci.c67 dev->config[PCI_CLASS_PROG] = 0x10; /* OHCI */ in usb_ohci_realize_pci()
H A Dhcd-ehci-pci.c39 pci_set_byte(&pci_conf[PCI_CLASS_PROG], 0x20); in usb_ehci_pci_realize()
H A Dhcd-uhci-pci.c77 pci_conf[PCI_CLASS_PROG] = 0x00; in usb_uhci_common_realize_pci()
H A Dhcd-xhci-pci.c114 dev->config[PCI_CLASS_PROG] = 0x30; /* xHCI */ in usb_xhci_pci_realize()
/openbmc/qemu/hw/pci-host/
H A Dgrackle.c94 d->config[PCI_CLASS_PROG] = 0x01; in grackle_pci_realize()
/openbmc/linux/arch/powerpc/platforms/powermac/
H A Dpci.c1123 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 Dpata_sis.c690 pci_read_config_byte(pdev, PCI_CLASS_PROG, &reg); 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 Dcfg_space.c334 vgpu_cfg_space(vgpu)[PCI_CLASS_PROG] = in intel_vgpu_init_cfg_space()
/openbmc/qemu/tests/qtest/
H A Di440fx-test.c66 g_assert_cmpint(qpci_config_readb(dev, PCI_CLASS_PROG), ==, 0x00); in test_i440fx_defaults()
/openbmc/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence-host.c212 cdns_pcie_rp_writeb(pcie, PCI_CLASS_PROG, 0); in cdns_pcie_host_init_root_port()
/openbmc/qemu/include/hw/pci/
H A Dpci.h526 pci_set_byte(&pci_config[PCI_CLASS_PROG], val); in pci_config_set_prog_interface()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h73 #define PCI_CLASS_PROG 0x09 /* Reg. Level Programming Interface */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h73 #define PCI_CLASS_PROG 0x09 /* Reg. Level Programming Interface */ macro
/openbmc/u-boot/cmd/
H A Dpci.c177 { "programming interface", PCI_SIZE_8, PCI_CLASS_PROG },

12