Home
last modified time | relevance | path

Searched refs:hdrtype (Results 1 – 4 of 4) sorted by relevance

/dragonfly/sys/bus/pci/x86_64/
HDpci_bus.c328 u_int8_t hdrtype; in legacy_pcib_identify() local
351 hdrtype = legacy_pcib_read_config(0, bus, slot, func, in legacy_pcib_identify()
359 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in legacy_pcib_identify()
361 if ((hdrtype & PCIM_MFDEV) && in legacy_pcib_identify()
362 (!found_orion || hdrtype != 0xff)) in legacy_pcib_identify()
/dragonfly/sys/bus/pci/
HDpci.c501 if (cfg->hdrtype != 0) in pci_fixancient()
506 cfg->hdrtype = 1; in pci_fixancient()
515 switch (cfg->hdrtype) { in pci_hdrtypedata()
563 cfg->hdrtype = REG(PCIR_HDRTYPE, 1); in pci_read_device()
572 cfg->mfdev = (cfg->hdrtype & PCIM_MFDEV) != 0; in pci_read_device()
573 cfg->hdrtype &= ~PCIM_MFDEV; in pci_read_device()
586 devlist_entry->conf.pc_hdr = cfg->hdrtype; in pci_read_device()
771 if ((cfg->hdrtype & PCIM_HDRTYPE) == 1) { in pci_read_cap_subvendor()
792 if ((cfg->hdrtype & PCIM_HDRTYPE) == 1) in pci_read_cap_pcix()
811 if (cfg->hdrtype != 1) in pcie_slotimpl()
[all …]
HDpcivar.h154 uint8_t hdrtype; /* chip config header type */ member
/dragonfly/sys/dev/acpica/
HDacpi_pci.c362 if (device_is_attached(child) && dinfo->cfg.hdrtype == 0) { in acpi_pci_suspend()
395 dinfo->cfg.hdrtype == 0) { in acpi_pci_resume()