Searched refs:hdrtype (Results 1 - 10 of 10) sorted by relevance

/freebsd-9.3-release/sys/powerpc/ofw/
H A Dofw_pcibus.c248 uint8_t hdrtype; local
257 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1);
258 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
260 if (hdrtype & PCIM_MFDEV)
/freebsd-9.3-release/sys/x86/pci/
H A Dpci_bus.c380 uint8_t hdrtype; local
404 hdrtype = legacy_pcib_read_config(0, bus, slot, func,
412 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
414 if ((hdrtype & PCIM_MFDEV) &&
415 (!found_orion || hdrtype != 0xff))
/freebsd-9.3-release/sys/dev/fdt/
H A Dfdt_pci.c396 maxbar = (hdrtype & PCIM_HDRTYPE) ? 1 : 6;
497 uint8_t hdrtype;
501 hdrtype = PCIB_READ_CONFIG(dev, bus, slot, func,
503 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
505 if (func == 0 && (hdrtype & PCIM_MFDEV))
513 if ((hdrtype & PCIM_HDRTYPE) == PCIM_HDRTYPE_NORMAL)
/freebsd-9.3-release/sys/mips/cavium/
H A Doctopci.c554 uint8_t hdrtype; local
557 hdrtype = octopci_read_config(dev, b, s, f, PCIR_HDRTYPE, 1);
569 switch (hdrtype & PCIM_HDRTYPE) {
581 b, s, f, hdrtype);
710 uint8_t hdrtype; local
717 hdrtype = octopci_read_config(dev, b, s, f, PCIR_HDRTYPE, 1);
719 if (hdrtype == 0xff) {
727 if (f == 0 && (hdrtype & PCIM_MFDEV) == 0)
/freebsd-9.3-release/sys/arm/mv/
H A Dmv_pci.c441 uint8_t hdrtype, command, class, subclass; local
446 hdrtype = mv_pcib_read_config(sc->sc_dev, bus, slot,
449 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
452 if (func == 0 && (hdrtype & PCIM_MFDEV))
462 hdrtype);
494 int func, int hdrtype)
498 maxbar = (hdrtype & PCIM_HDRTYPE) ? 0 : 6;
493 mv_pcib_init_all_bars(struct mv_pcib_softc *sc, int bus, int slot, int func, int hdrtype) argument
/freebsd-9.3-release/sys/dev/pci/
H A Dpci.c89 (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \
90 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1))
540 if ((cfg->hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL)
545 cfg->hdrtype = PCIM_HDRTYPE_BRIDGE;
554 switch (cfg->hdrtype & PCIM_HDRTYPE) {
604 cfg->hdrtype = REG(PCIR_HDRTYPE, 1);
613 cfg->mfdev = (cfg->hdrtype & PCIM_MFDEV) != 0;
614 cfg->hdrtype &= ~PCIM_MFDEV;
629 devlist_entry->conf.pc_hdr = cfg->hdrtype;
659 switch (cfg->hdrtype
3215 uint8_t hdrtype; local
[all...]
H A Dpcivar.h146 uint8_t hdrtype; /* chip config header type */ member in struct:pcicfg
155 uint8_t mfdev; /* multi-function device (from hdrtype reg) */
/freebsd-9.3-release/sys/powerpc/mpc85xx/
H A Dpci_fdt.c585 uint8_t command, hdrtype, class, subclass; local
592 hdrtype = fsl_pcib_read_config(sc->sc_dev, bus, slot,
595 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
598 if (func == 0 && (hdrtype & PCIM_MFDEV))
621 maxbar = (hdrtype & PCIM_HDRTYPE) ? 1 : 6;
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_sendrecv.c1343 * uses a special header (with a hdrtype field of DMU_COMPOUNDSTREAM)
3158 int hdrtype; local
3211 hdrtype = DMU_GET_STREAM_HDRTYPE(drrb->drr_versioninfo);
3214 (hdrtype != DMU_SUBSTREAM && hdrtype != DMU_COMPOUNDSTREAM)) {
/freebsd-9.3-release/sys/dev/cxgb/
H A Dcxgb_main.c1156 switch (cfg->hdrtype & PCIM_HDRTYPE) {

Completed in 187 milliseconds