Home
last modified time | relevance | path

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

/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/qemu/hw/sd/
H A Dsdhci-pci.c41 dev->config[PCI_CLASS_PROG] = 0x01; /* Standard Host supported DMA */ in sdhci_pci_realize()
/openbmc/qemu/hw/char/
H A Dserial-pci.c55 pci->dev.config[PCI_CLASS_PROG] = 2; /* 16550 compatible */ in OBJECT_DECLARE_SIMPLE_TYPE()
H A Ddiva-gsp.c126 pci->dev.config[PCI_CLASS_PROG] = 2; /* 16550 compatible */ in diva_pci_realize()
229 pci->dev.config[PCI_CLASS_PROG] = 0x02; in OBJECT_DECLARE_SIMPLE_TYPE()
H A Dserial-pci-multi.c99 pci->dev.config[PCI_CLASS_PROG] = 2; /* 16550 compatible */ in multi_serial_pci_realize()
/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-uhci-pci.c
H A Dhcd-ehci-pci.c39 pci_set_byte(&pci_conf[PCI_CLASS_PROG], 0x20); in usb_ehci_pci_realize()
H A Dhcd-xhci-pci.c129 dev->config[PCI_CLASS_PROG] = 0x30; /* xHCI */ in usb_xhci_pci_realize()
H A Dhcd-uhci.c1195 pci_conf[PCI_CLASS_PROG] = 0x00; in usb_uhci_common_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/pci-host/
H A Dgrackle.c94 d->config[PCI_CLASS_PROG] = 0x01; in grackle_pci_realize()
/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/u-boot/cmd/
H A Dpci.c177 { "programming interface", PCI_SIZE_8, PCI_CLASS_PROG },
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h73 #define PCI_CLASS_PROG 0x09 /* Reg. Level Programming Interface */ macro
/openbmc/qemu/include/hw/pci/
H A Dpci.h863 pci_set_byte(&pci_config[PCI_CLASS_PROG], val);
/openbmc/u-boot/drivers/pci/
H A Dfsl_pci_init.c625 pci_hose_read_config_byte(hose, dev, PCI_CLASS_PROG, &prog_if); in fsl_is_pci_agent()
/openbmc/u-boot/include/
H A Dpci.h54 #define PCI_CLASS_PROG 0x09 /* Reg. Level Programming Interface */ macro
/openbmc/qemu/hw/ppc/
H A Dspapr_pci.c1331 uint32_t ccode = pci_default_read_config(dev, PCI_CLASS_PROG, 3); in spapr_dt_pci_bus()
1354 uint32_t ccode = pci_default_read_config(dev, PCI_CLASS_PROG, 3); in spapr_dt_pci_device()
H A Dpegasos2.c
/openbmc/qemu/hw/audio/
H A Dac97.c1285 c[PCI_CLASS_PROG] = 0x00; /* pi programming interface ro */ in ac97_realize()
/openbmc/qemu/hw/pci/
H A Dpci.c1033 dev->cmask[PCI_CLASS_PROG] = 0xff; in pci_init_wmask()