Home
last modified time | relevance | path

Searched refs:PCIM_HDRTYPE (Results 1 – 19 of 19) sorted by relevance

/freebsd-13.1/usr.sbin/pciconf/
H A Dcap.c159 if ((p->pc_hdr & PCIM_HDRTYPE) == 1) in cap_pcix()
161 if ((p->pc_hdr & PCIM_HDRTYPE) != 1 || (status & (PCIXM_STATUS_133CAP | in cap_pcix()
177 if ((p->pc_hdr & PCIM_HDRTYPE) == 1) in cap_pcix()
705 if ((p->pc_hdr & PCIM_HDRTYPE) == PCIM_HDRTYPE_BRIDGE) { in cap_ea()
771 switch (p->pc_hdr & PCIM_HDRTYPE) { in list_caps()
1131 switch (p->pc_hdr & PCIM_HDRTYPE) { in pci_find_cap()
H A Dpciconf.c483 switch (p->pc_hdr & PCIM_HDRTYPE) { in list_bridge()
500 switch (p->pc_hdr & PCIM_HDRTYPE) { in list_bars()
/freebsd-13.1/sys/arm/annapurna/alpine/
H A Dalpine_pci.c135 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in al_pcib_fixup()
/freebsd-13.1/sys/dev/proto/
H A Dproto_bus_pci.c70 if ((pci_read_config(dev, PCIR_HDRTYPE, 1) & PCIM_HDRTYPE) != 0) in proto_pci_probe()
/freebsd-13.1/sys/dev/puc/
H A Dpuc_pci.c122 if ((pci_read_config(dev, PCIR_HDRTYPE, 1) & PCIM_HDRTYPE) != 0) in puc_pci_probe()
/freebsd-13.1/sys/dev/pci/
H A Dpci.c647 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_hdrtypedata()
852 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_read_cap()
948 if ((cfg->hdrtype & PCIM_HDRTYPE) == in pci_read_cap()
963 if ((cfg->hdrtype & PCIM_HDRTYPE) == in pci_read_cap()
1543 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_find_cap_method()
3718 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_reserve_secbus()
3827 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_alloc_secbus()
4179 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in pci_add_children()
4223 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in pci_rescan_method()
6070 switch (dinfo->cfg.hdrtype & PCIM_HDRTYPE) { in pci_cfg_restore()
[all …]
H A Dpcireg.h117 #define PCIM_HDRTYPE 0x7f macro
H A Dpci_pci.c623 switch (pci_read_config(dev, PCIR_HDRTYPE, 1) & PCIM_HDRTYPE) { in pcib_setup_secbus()
/freebsd-13.1/sys/powerpc/ofw/
H A Dofw_pcibus.c255 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in ofw_pcibus_enum_bus()
/freebsd-13.1/sys/mips/nlm/
H A Dxlp_pci.c102 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in xlp_pci_attach()
/freebsd-13.1/sys/x86/pci/
H A Dpci_bus.c412 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in legacy_pcib_identify()
/freebsd-13.1/sys/arm/mv/
H A Dmv_pci.c818 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in mv_pcib_init()
867 maxbar = (hdrtype & PCIM_HDRTYPE) ? 0 : 6; in mv_pcib_init_all_bars()
/freebsd-13.1/sys/i386/pci/
H A Dpci_pir.c274 if ((value & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in pci_pir_search_irq()
/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/mips/cavium/
H A Doctopci.c573 switch (hdrtype & PCIM_HDRTYPE) { in octopci_init_device()
/freebsd-13.1/sys/dev/acpica/
H A Dacpi_pci_link.c587 if ((value & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in acpi_pci_link_search_irq()
/freebsd-13.1/sys/dev/hyperv/pcib/
H A Dvmbus_pcib.c687 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in pci_rescan()
/freebsd-13.1/sys/dev/aacraid/
H A Daacraid.c1948 switch (status & PCIM_HDRTYPE) { in aac_find_pci_capability()
/freebsd-13.1/sys/dev/cxgb/
H A Dcxgb_main.c1169 switch (cfg->hdrtype & PCIM_HDRTYPE) { in t3_os_find_pci_capability()