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

/freebsd-11-stable/sys/powerpc/ofw/
H A Dofw_pcibus.c239 uint8_t hdrtype; local
248 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1);
249 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
251 if (hdrtype & PCIM_MFDEV)
/freebsd-11-stable/sys/mips/nlm/
H A Dxlp_pci.c86 uint8_t hdrtype; local
98 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1);
99 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
101 if (hdrtype & PCIM_MFDEV)
/freebsd-11-stable/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-11-stable/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-11-stable/sys/mips/rt305x/
H A Drt305x_pci.c720 int hdrtype)
724 maxbar = (hdrtype & PCIM_HDRTYPE) ? 0 : 6;
807 uint8_t hdrtype, command, class, subclass; local
812 hdrtype = rt305x_pci_read_config(dev, bus, slot, func,
815 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
818 if (func == 0 && (hdrtype & PCIM_MFDEV))
828 hdrtype);
719 rt305x_pcib_init_all_bars(device_t dev, int bus, int slot, int func, int hdrtype) argument
/freebsd-11-stable/sys/arm/mv/
H A Dmv_pci.c753 uint8_t hdrtype, command, class, subclass; local
758 hdrtype = mv_pcib_read_config(sc->sc_dev, bus, slot,
761 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
764 if (func == 0 && (hdrtype & PCIM_MFDEV))
774 hdrtype);
806 int func, int hdrtype)
810 maxbar = (hdrtype & PCIM_HDRTYPE) ? 0 : 6;
805 mv_pcib_init_all_bars(struct mv_pcib_softc *sc, int bus, int slot, int func, int hdrtype) argument
/freebsd-11-stable/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c563 uint8_t command, hdrtype, subclass; local
569 hdrtype = fsl_pcib_read_config(sc->sc_dev, bus, slot,
572 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
575 if (func == 0 && (hdrtype & PCIM_MFDEV))
604 if (hdrtype != PCIM_HDRTYPE_BRIDGE)
/freebsd-11-stable/sys/dev/pci/
H A Dpci.c80 (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \
81 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1))
601 if ((cfg->hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL)
606 cfg->hdrtype = PCIM_HDRTYPE_BRIDGE;
615 switch (cfg->hdrtype & PCIM_HDRTYPE) {
691 cfg->hdrtype = REG(PCIR_HDRTYPE, 1);
697 cfg->mfdev = (cfg->hdrtype & PCIM_MFDEV) != 0;
698 cfg->hdrtype &= ~PCIM_MFDEV;
715 devlist_entry->conf.pc_hdr = cfg->hdrtype;
761 if ((cfg->hdrtype
4058 uint8_t hdrtype; local
4102 uint8_t hdrtype; local
[all...]
H A Dpcivar.h195 uint8_t hdrtype; /* chip config header type */ member in struct:pcicfg
204 uint8_t mfdev; /* multi-function device (from hdrtype reg) */
/freebsd-11-stable/sys/dev/hyperv/pcib/
H A Dvmbus_pcib.c614 uint8_t hdrtype; local
640 hdrtype = REG(PCIR_HDRTYPE, 1);
641 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
643 if (hdrtype & PCIM_MFDEV)
/freebsd-11-stable/sys/amd64/vmm/io/
H A Dppt.c138 if ((dinfo->cfg.hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL)
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_sendrecv.c1757 * uses a special header (with a hdrtype field of DMU_COMPOUNDSTREAM)
3747 int hdrtype; local
3807 hdrtype = DMU_GET_STREAM_HDRTYPE(drrb->drr_versioninfo);
3810 (hdrtype != DMU_SUBSTREAM && hdrtype != DMU_COMPOUNDSTREAM)) {
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_main.c1154 switch (cfg->hdrtype & PCIM_HDRTYPE) {

Completed in 393 milliseconds