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

/freebsd-10.2-release/sys/powerpc/ofw/
H A Dofw_pcibus.c223 uint8_t hdrtype; local
232 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1);
233 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
235 if (hdrtype & PCIM_MFDEV)
/freebsd-10.2-release/sys/mips/cavium/
H A Doctopci.c556 uint8_t hdrtype; local
559 hdrtype = octopci_read_config(dev, b, s, f, PCIR_HDRTYPE, 1);
571 switch (hdrtype & PCIM_HDRTYPE) {
583 b, s, f, hdrtype);
712 uint8_t hdrtype; local
719 hdrtype = octopci_read_config(dev, b, s, f, PCIR_HDRTYPE, 1);
721 if (hdrtype == 0xff) {
729 if (f == 0 && (hdrtype & PCIM_MFDEV) == 0)
/freebsd-10.2-release/sys/x86/pci/
H A Dpci_bus.c379 uint8_t hdrtype; local
403 hdrtype = legacy_pcib_read_config(0, bus, slot, func,
411 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
413 if ((hdrtype & PCIM_MFDEV) &&
414 (!found_orion || hdrtype != 0xff))
/freebsd-10.2-release/sys/arm/mv/
H A Dmv_pci.c758 uint8_t hdrtype, command, class, subclass; local
763 hdrtype = mv_pcib_read_config(sc->sc_dev, bus, slot,
766 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
769 if (func == 0 && (hdrtype & PCIM_MFDEV))
779 hdrtype);
811 int func, int hdrtype)
815 maxbar = (hdrtype & PCIM_HDRTYPE) ? 0 : 6;
810 mv_pcib_init_all_bars(struct mv_pcib_softc *sc, int bus, int slot, int func, int hdrtype) argument
/freebsd-10.2-release/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c515 uint8_t command, hdrtype, class, subclass; local
521 hdrtype = fsl_pcib_read_config(sc->sc_dev, bus, slot,
524 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
527 if (func == 0 && (hdrtype & PCIM_MFDEV))
550 maxbar = (hdrtype & PCIM_HDRTYPE) ? 1 : 6;
/freebsd-10.2-release/sys/dev/pci/
H A Dpci.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)
575 cfg->hdrtype = PCIM_HDRTYPE_BRIDGE;
584 switch (cfg->hdrtype & PCIM_HDRTYPE) {
636 cfg->hdrtype = REG(PCIR_HDRTYPE, 1);
642 cfg->mfdev = (cfg->hdrtype & PCIM_MFDEV) != 0;
643 cfg->hdrtype &= ~PCIM_MFDEV;
658 devlist_entry->conf.pc_hdr = cfg->hdrtype;
688 switch (cfg->hdrtype
3501 uint8_t hdrtype; local
[all...]
H A Dpcivar.h165 uint8_t hdrtype; /* chip config header type */ member in struct:pcicfg
174 uint8_t mfdev; /* multi-function device (from hdrtype reg) */
/freebsd-10.2-release/sys/mips/nlm/
H A Dxlp_pci.c285 uint8_t hdrtype; local
296 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1);
297 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
299 if (hdrtype & PCIM_MFDEV)
/freebsd-10.2-release/sys/amd64/vmm/io/
H A Dppt.c130 if ((dinfo->cfg.hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL)
/freebsd-10.2-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_sendrecv.c1367 * uses a special header (with a hdrtype field of DMU_COMPOUNDSTREAM)
3195 int hdrtype; local
3248 hdrtype = DMU_GET_STREAM_HDRTYPE(drrb->drr_versioninfo);
3251 (hdrtype != DMU_SUBSTREAM && hdrtype != DMU_COMPOUNDSTREAM)) {
/freebsd-10.2-release/sys/dev/cxgb/
H A Dcxgb_main.c1156 switch (cfg->hdrtype & PCIM_HDRTYPE) {

Completed in 202 milliseconds