Home
last modified time | relevance | path

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

/dragonfly/sys/bus/pci/x86_64/
H A Dpci_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/
H A Dpci.c501 if (cfg->hdrtype != 0) in pci_fixancient()
506 cfg->hdrtype = 1; in pci_fixancient()
515 switch (cfg->hdrtype) { in pci_hdrtypedata()
573 cfg->hdrtype &= ~PCIM_MFDEV; in pci_read_device()
811 if (cfg->hdrtype != 1) in pcie_slotimpl()
3081 uint8_t hdrtype; in pci_add_children() local
3090 hdrtype = REG(PCIR_HDRTYPE, 1); in pci_add_children()
3093 if (hdrtype & PCIM_MFDEV) in pci_add_children()
3223 dinfo->cfg.hdrtype == 0) { in pci_resume()
4232 if (dinfo->cfg.hdrtype != 0) in pci_cfg_restore()
[all …]
H A Dpcivar.h154 uint8_t hdrtype; /* chip config header type */ member
/dragonfly/sys/dev/acpica/
H A Dacpi_pci.c362 if (device_is_attached(child) && dinfo->cfg.hdrtype == 0) { in acpi_pci_suspend()
395 dinfo->cfg.hdrtype == 0) { in acpi_pci_resume()