Home
last modified time | relevance | path

Searched refs:hdrtype (Results 1 – 14 of 14) sorted by relevance

/freebsd-13.1/sys/tools/
H A Darm_kernel_boothdr.awk41 if (hdrtype != "v7jump" &&
42 hdrtype != "v8jump" &&
43 hdrtype != "v8booti") {
50 gHdrType = hdrtype
/freebsd-13.1/sys/arm/annapurna/alpine/
H A Dalpine_pci.c124 uint8_t hdrtype; in al_pcib_fixup() local
132 hdrtype = PCIB_READ_CONFIG(dev, bus, slot, func, in al_pcib_fixup()
135 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in al_pcib_fixup()
138 if (func == 0 && (hdrtype & PCIM_MFDEV) != 0) in al_pcib_fixup()
/freebsd-13.1/sys/powerpc/ofw/
H A Dofw_pcibus.c245 uint8_t hdrtype; in ofw_pcibus_enum_bus() local
254 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1); in ofw_pcibus_enum_bus()
255 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in ofw_pcibus_enum_bus()
257 if (hdrtype & PCIM_MFDEV) in ofw_pcibus_enum_bus()
/freebsd-13.1/sys/x86/pci/
H A Dpci_bus.c381 uint8_t hdrtype; in legacy_pcib_identify() local
404 hdrtype = legacy_pcib_read_config(0, bus, slot, func, in legacy_pcib_identify()
412 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in legacy_pcib_identify()
414 if ((hdrtype & PCIM_MFDEV) && in legacy_pcib_identify()
415 (!found_orion || hdrtype != 0xff)) in legacy_pcib_identify()
/freebsd-13.1/sys/mips/cavium/
H A Doctopci.c558 uint8_t hdrtype; in octopci_init_device() local
561 hdrtype = octopci_read_config(dev, b, s, f, PCIR_HDRTYPE, 1); in octopci_init_device()
573 switch (hdrtype & PCIM_HDRTYPE) { in octopci_init_device()
585 b, s, f, hdrtype); in octopci_init_device()
714 uint8_t hdrtype; in octopci_init_bus() local
721 hdrtype = octopci_read_config(dev, b, s, f, PCIR_HDRTYPE, 1); in octopci_init_bus()
723 if (hdrtype == 0xff) { in octopci_init_bus()
731 if (f == 0 && (hdrtype & PCIM_MFDEV) == 0) in octopci_init_bus()
/freebsd-13.1/sys/mips/nlm/
H A Dxlp_pci.c89 uint8_t hdrtype; in xlp_pci_attach() local
101 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1); in xlp_pci_attach()
102 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in xlp_pci_attach()
104 if (hdrtype & PCIM_MFDEV) in xlp_pci_attach()
/freebsd-13.1/sys/dev/pci/
H A Dpci.c638 cfg->hdrtype = PCIM_HDRTYPE_BRIDGE; in pci_fixancient()
647 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_hdrtypedata()
724 cfg->hdrtype = REG(PCIR_HDRTYPE, 1); in pci_fill_devinfo()
731 cfg->hdrtype &= ~PCIM_MFDEV; in pci_fill_devinfo()
852 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_read_cap()
4150 uint8_t hdrtype; in pci_add_children() local
4178 hdrtype = REG(PCIR_HDRTYPE, 1); in pci_add_children()
4181 if (hdrtype & PCIM_MFDEV) in pci_add_children()
4197 uint8_t hdrtype; in pci_rescan_method() local
4222 hdrtype = REG(PCIR_HDRTYPE, 1); in pci_rescan_method()
[all …]
H A Dpcivar.h196 uint8_t hdrtype; /* chip config header type */ member
/freebsd-13.1/sys/arm/mv/
H A Dmv_pci.c810 uint8_t hdrtype, command, class, subclass; in mv_pcib_init() local
815 hdrtype = mv_pcib_read_config(sc->sc_dev, bus, slot, in mv_pcib_init()
818 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in mv_pcib_init()
821 if (func == 0 && (hdrtype & PCIM_MFDEV)) in mv_pcib_init()
831 hdrtype); in mv_pcib_init()
863 int func, int hdrtype) in mv_pcib_init_all_bars() argument
867 maxbar = (hdrtype & PCIM_HDRTYPE) ? 0 : 6; in mv_pcib_init_all_bars()
/freebsd-13.1/sys/conf/
H A DMakefile.arm6498 ${AWK} -f $S/tools/arm_kernel_boothdr.awk -v hdrtype=v8booti && \
/freebsd-13.1/sys/dev/hyperv/pcib/
H A Dvmbus_pcib.c660 uint8_t hdrtype; in pci_rescan() local
686 hdrtype = REG(PCIR_HDRTYPE, 1); in pci_rescan()
687 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in pci_rescan()
689 if (hdrtype & PCIM_MFDEV) in pci_rescan()
/freebsd-13.1/sys/amd64/vmm/io/
H A Dppt.c141 if ((dinfo->cfg.hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL) in ppt_probe()
/freebsd-13.1/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_sendrecv.c5013 int hdrtype; in zfs_receive_impl() local
5077 hdrtype = DMU_GET_STREAM_HDRTYPE(drrb->drr_versioninfo); in zfs_receive_impl()
5080 (hdrtype != DMU_SUBSTREAM && hdrtype != DMU_COMPOUNDSTREAM)) { in zfs_receive_impl()
/freebsd-13.1/sys/dev/cxgb/
H A Dcxgb_main.c1169 switch (cfg->hdrtype & PCIM_HDRTYPE) { in t3_os_find_pci_capability()