Home
last modified time | relevance | path

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

/freebsd/sys/tools/
H A Darm_kernel_boothdr.awk38 # The type of header we're writing is set using -v hdrtype= on
40 if (hdrtype != "v7jump" &&
41 hdrtype != "v8jump" &&
42 hdrtype != "v8booti") {
44 "missing or invalid '-v hdrtype=' argument" >"/dev/stderr"
49 gHdrType = hdrtype
/freebsd/sys/arm/annapurna/alpine/
H A Dalpine_pci.c119 uint8_t hdrtype; in al_pcib_fixup() local
127 hdrtype = PCIB_READ_CONFIG(dev, bus, slot, func, in al_pcib_fixup()
130 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in al_pcib_fixup()
133 if (func == 0 && (hdrtype & PCIM_MFDEV) != 0) in al_pcib_fixup()
/freebsd/sys/powerpc/ofw/
H A Dofw_pcibus.c240 uint8_t hdrtype; in ofw_pcibus_enum_bus() local
249 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1); in ofw_pcibus_enum_bus()
250 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in ofw_pcibus_enum_bus()
252 if (hdrtype & PCIM_MFDEV) in ofw_pcibus_enum_bus()
/freebsd/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/sys/dev/pci/
H A Dpci.c88 (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \
89 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1))
633 if ((cfg->hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL) in pci_fixancient()
638 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()
730 cfg->mfdev = (cfg->hdrtype & PCIM_MFDEV) != 0; in pci_fill_devinfo()
731 cfg->hdrtype &= ~PCIM_MFDEV; in pci_fill_devinfo()
748 devlist_entry->conf.pc_hdr = cfg->hdrtype; in pci_fill_devinfo()
794 if ((cfg->hdrtype & PCIM_HDRTYPE) == PCIM_HDRTYPE_BRIDGE) in pci_ea_fill_info()
[all …]
H A Dpcivar.h199 uint8_t hdrtype; /* chip config header type */ member
/freebsd/sys/conf/
H A DMakefile.arm99 ${AWK} -f $S/tools/arm_kernel_boothdr.awk -v hdrtype=v7jump && \
H A DMakefile.arm6492 ${AWK} -f $S/tools/arm_kernel_boothdr.awk -v hdrtype=v8booti && \
/freebsd/sys/amd64/vmm/io/
H A Dppt.c136 if ((dinfo->cfg.hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL) in ppt_probe()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_sendrecv.c5438 int hdrtype; in zfs_receive_impl() local
5501 hdrtype = DMU_GET_STREAM_HDRTYPE(drrb->drr_versioninfo); in zfs_receive_impl()
5504 (hdrtype != DMU_SUBSTREAM && hdrtype != DMU_COMPOUNDSTREAM)) { in zfs_receive_impl()
/freebsd/sys/dev/cxgb/
H A Dcxgb_main.c1155 switch (cfg->hdrtype & PCIM_HDRTYPE) { in t3_os_find_pci_capability()