Home
last modified time | relevance | path

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

/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()
/qemu/hw/sd/
H A Dsdhci-pci.c41 dev->config[PCI_CLASS_PROG] = 0x01; /* Standard Host supported DMA */ in sdhci_pci_realize()
/qemu/hw/char/
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.c55 pci->dev.config[PCI_CLASS_PROG] = 2; /* 16550 compatible */ 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()
/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-xhci-pci.c129 dev->config[PCI_CLASS_PROG] = 0x30; /* xHCI */ in usb_xhci_pci_realize()
H A Dhcd-uhci.c1189 pci_conf[PCI_CLASS_PROG] = 0x00; in usb_uhci_common_realize()
/qemu/hw/pci-host/
H A Dgrackle.c94 d->config[PCI_CLASS_PROG] = 0x01; in grackle_pci_realize()
/qemu/tests/qtest/
H A Di440fx-test.c66 g_assert_cmpint(qpci_config_readb(dev, PCI_CLASS_PROG), ==, 0x00); in test_i440fx_defaults()
/qemu/include/standard-headers/linux/
H A Dpci_regs.h73 #define PCI_CLASS_PROG 0x09 /* Reg. Level Programming Interface */ macro
/qemu/include/hw/pci/
H A Dpci.h850 pci_set_byte(&pci_config[PCI_CLASS_PROG], val); in pci_config_set_prog_interface()
/qemu/hw/ppc/
H A Dspapr_pci.c1340 uint32_t ccode = pci_default_read_config(dev, PCI_CLASS_PROG, 3); in spapr_pci_fw_dev_name()
1363 uint32_t ccode = pci_default_read_config(dev, PCI_CLASS_PROG, 3); in spapr_dt_pci_device()
H A Dpegasos2.c365 PCI_CLASS_PROG, 1, 0xf); in pegasos2_machine_reset()
/qemu/hw/audio/
H A Dac97.c1288 c[PCI_CLASS_PROG] = 0x00; /* pi programming interface ro */ in ac97_realize()
/qemu/hw/pci/
H A Dpci.c1015 dev->cmask[PCI_CLASS_PROG] = 0xff; in pci_init_cmask()