Searched refs:hdrtype (Results 1 - 10 of 10) sorted by relevance
/freebsd-9.3-release/sys/powerpc/ofw/ |
H A D | ofw_pcibus.c | 248 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 D | pci_bus.c | 380 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 D | fdt_pci.c | 396 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 D | octopci.c | 554 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 D | mv_pci.c | 441 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 D | pci.c | 89 (((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 D | pcivar.h | 146 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 D | pci_fdt.c | 585 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 D | libzfs_sendrecv.c | 1343 * 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 D | cxgb_main.c | 1156 switch (cfg->hdrtype & PCIM_HDRTYPE) {
|
Completed in 187 milliseconds