/freebsd-10.2-release/sys/powerpc/ofw/ |
H A D | ofw_pcibus.c | 223 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 D | octopci.c | 556 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 D | pci_bus.c | 379 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 D | mv_pci.c | 758 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 D | pci_mpc85xx.c | 515 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 D | pci.c | 74 (((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 D | pcivar.h | 165 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 D | xlp_pci.c | 285 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 D | ppt.c | 130 if ((dinfo->cfg.hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL)
|
/freebsd-10.2-release/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 1367 * 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 D | cxgb_main.c | 1156 switch (cfg->hdrtype & PCIM_HDRTYPE) {
|