Home
last modified time | relevance | path

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

/trueos/sys/powerpc/ofw/
HDofw_pcibus.c223 uint8_t hdrtype; in ofw_pcibus_enum_bus() local
232 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1); in ofw_pcibus_enum_bus()
233 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in ofw_pcibus_enum_bus()
235 if (hdrtype & PCIM_MFDEV) in ofw_pcibus_enum_bus()
/trueos/sys/x86/pci/
HDpci_bus.c379 uint8_t hdrtype; in legacy_pcib_identify() local
403 hdrtype = legacy_pcib_read_config(0, bus, slot, func, in legacy_pcib_identify()
411 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in legacy_pcib_identify()
413 if ((hdrtype & PCIM_MFDEV) && in legacy_pcib_identify()
414 (!found_orion || hdrtype != 0xff)) in legacy_pcib_identify()
/trueos/sys/mips/cavium/
HDoctopci.c556 uint8_t hdrtype; in octopci_init_device() local
559 hdrtype = octopci_read_config(dev, b, s, f, PCIR_HDRTYPE, 1); in octopci_init_device()
571 switch (hdrtype & PCIM_HDRTYPE) { in octopci_init_device()
583 b, s, f, hdrtype); in octopci_init_device()
712 uint8_t hdrtype; in octopci_init_bus() local
719 hdrtype = octopci_read_config(dev, b, s, f, PCIR_HDRTYPE, 1); in octopci_init_bus()
721 if (hdrtype == 0xff) { in octopci_init_bus()
729 if (f == 0 && (hdrtype & PCIM_MFDEV) == 0) in octopci_init_bus()
/trueos/sys/arm/mv/
HDmv_pci.c758 uint8_t hdrtype, command, class, subclass; in mv_pcib_init() local
763 hdrtype = mv_pcib_read_config(sc->sc_dev, bus, slot, in mv_pcib_init()
766 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in mv_pcib_init()
769 if (func == 0 && (hdrtype & PCIM_MFDEV)) in mv_pcib_init()
779 hdrtype); in mv_pcib_init()
811 int func, int hdrtype) in mv_pcib_init_all_bars() argument
815 maxbar = (hdrtype & PCIM_HDRTYPE) ? 0 : 6; in mv_pcib_init_all_bars()
/trueos/sys/dev/pci/
HDpci.c74 (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \
75 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1))
570 if ((cfg->hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL) in pci_fixancient()
575 cfg->hdrtype = PCIM_HDRTYPE_BRIDGE; in pci_fixancient()
584 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_hdrtypedata()
646 cfg->hdrtype = REG(PCIR_HDRTYPE, 1); in pci_read_device()
652 cfg->mfdev = (cfg->hdrtype & PCIM_MFDEV) != 0; in pci_read_device()
653 cfg->hdrtype &= ~PCIM_MFDEV; in pci_read_device()
668 devlist_entry->conf.pc_hdr = cfg->hdrtype; in pci_read_device()
698 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_read_cap()
[all …]
HDpcivar.h174 uint8_t hdrtype; /* chip config header type */ member
/trueos/sys/powerpc/mpc85xx/
HDpci_mpc85xx.c515 uint8_t command, hdrtype, class, subclass; in fsl_pcib_init() local
521 hdrtype = fsl_pcib_read_config(sc->sc_dev, bus, slot, in fsl_pcib_init()
524 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in fsl_pcib_init()
527 if (func == 0 && (hdrtype & PCIM_MFDEV)) in fsl_pcib_init()
550 maxbar = (hdrtype & PCIM_HDRTYPE) ? 1 : 6; in fsl_pcib_init()
/trueos/sys/mips/nlm/
HDxlp_pci.c285 uint8_t hdrtype; in xlp_pci_attach() local
296 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1); in xlp_pci_attach()
297 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in xlp_pci_attach()
299 if (hdrtype & PCIM_MFDEV) in xlp_pci_attach()
/trueos/sys/amd64/vmm/io/
HDppt.c129 (dinfo->cfg.hdrtype & PCIM_HDRTYPE) == PCIM_HDRTYPE_NORMAL) in ppt_probe()
/trueos/cddl/contrib/opensolaris/lib/libzfs/common/
HDlibzfs_sendrecv.c3242 int hdrtype; in zfs_receive_impl() local
3295 hdrtype = DMU_GET_STREAM_HDRTYPE(drrb->drr_versioninfo); in zfs_receive_impl()
3298 (hdrtype != DMU_SUBSTREAM && hdrtype != DMU_COMPOUNDSTREAM)) { in zfs_receive_impl()
/trueos/sys/dev/cxgb/
HDcxgb_main.c1156 switch (cfg->hdrtype & PCIM_HDRTYPE) { in t3_os_find_pci_capability()