Home
last modified time | relevance | path

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

/freebsd-14.2/sys/tools/
H A Darm_kernel_boothdr.awk40 if (hdrtype != "v7jump" &&
41 hdrtype != "v8jump" &&
42 hdrtype != "v8booti") {
49 gHdrType = hdrtype
/freebsd-14.2/sys/arm/annapurna/alpine/
H A Dalpine_pci.c120 uint8_t hdrtype; in al_pcib_fixup() local
128 hdrtype = PCIB_READ_CONFIG(dev, bus, slot, func, in al_pcib_fixup()
131 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in al_pcib_fixup()
134 if (func == 0 && (hdrtype & PCIM_MFDEV) != 0) in al_pcib_fixup()
/freebsd-14.2/sys/powerpc/ofw/
H A Dofw_pcibus.c241 uint8_t hdrtype; in ofw_pcibus_enum_bus() local
250 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1); in ofw_pcibus_enum_bus()
251 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in ofw_pcibus_enum_bus()
253 if (hdrtype & PCIM_MFDEV) in ofw_pcibus_enum_bus()
/freebsd-14.2/sys/x86/pci/
H A Dpci_bus.c379 uint8_t hdrtype; in legacy_pcib_identify() local
402 hdrtype = legacy_pcib_read_config(0, bus, slot, func, in legacy_pcib_identify()
410 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in legacy_pcib_identify()
412 if ((hdrtype & PCIM_MFDEV) && in legacy_pcib_identify()
413 (!found_orion || hdrtype != 0xff)) in legacy_pcib_identify()
/freebsd-14.2/sys/dev/pci/
H A Dpci.c640 cfg->hdrtype = PCIM_HDRTYPE_BRIDGE; in pci_fixancient()
649 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_hdrtypedata()
726 cfg->hdrtype = REG(PCIR_HDRTYPE, 1); in pci_fill_devinfo()
733 cfg->hdrtype &= ~PCIM_MFDEV; in pci_fill_devinfo()
854 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_read_cap()
4145 uint8_t hdrtype; in pci_add_children() local
4173 hdrtype = REG(PCIR_HDRTYPE, 1); in pci_add_children()
4176 if (hdrtype & PCIM_MFDEV) in pci_add_children()
4192 uint8_t hdrtype; in pci_rescan_method() local
4217 hdrtype = REG(PCIR_HDRTYPE, 1); in pci_rescan_method()
[all …]
H A Dpcivar.h199 uint8_t hdrtype; /* chip config header type */ member
/freebsd-14.2/sys/arm/mv/
H A Dmv_pci.c806 uint8_t hdrtype, command, class, subclass; in mv_pcib_init() local
811 hdrtype = mv_pcib_read_config(sc->sc_dev, bus, slot, in mv_pcib_init()
814 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in mv_pcib_init()
817 if (func == 0 && (hdrtype & PCIM_MFDEV)) in mv_pcib_init()
827 hdrtype); in mv_pcib_init()
859 int func, int hdrtype) in mv_pcib_init_all_bars() argument
863 maxbar = (hdrtype & PCIM_HDRTYPE) ? 0 : 6; in mv_pcib_init_all_bars()
/freebsd-14.2/sys/conf/
H A DMakefile.arm6498 ${AWK} -f $S/tools/arm_kernel_boothdr.awk -v hdrtype=v8booti && \
/freebsd-14.2/sys/amd64/vmm/io/
H A Dppt.c137 if ((dinfo->cfg.hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL) in ppt_probe()
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_sendrecv.c5432 int hdrtype; in zfs_receive_impl() local
5495 hdrtype = DMU_GET_STREAM_HDRTYPE(drrb->drr_versioninfo); in zfs_receive_impl()
5498 (hdrtype != DMU_SUBSTREAM && hdrtype != DMU_COMPOUNDSTREAM)) { in zfs_receive_impl()
/freebsd-14.2/sys/dev/cxgb/
H A Dcxgb_main.c1155 switch (cfg->hdrtype & PCIM_HDRTYPE) { in t3_os_find_pci_capability()