Home
last modified time | relevance | path

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

/freebsd-12.1/usr.sbin/pciconf/
H A Dcap.c157 if ((p->pc_hdr & PCIM_HDRTYPE) == 1) in cap_pcix()
159 if ((p->pc_hdr & PCIM_HDRTYPE) != 1 || (status & (PCIXM_STATUS_133CAP | in cap_pcix()
175 if ((p->pc_hdr & PCIM_HDRTYPE) == 1) in cap_pcix()
671 if ((p->pc_hdr & PCIM_HDRTYPE) == PCIM_HDRTYPE_BRIDGE) { in cap_ea()
735 switch (p->pc_hdr & PCIM_HDRTYPE) { in list_caps()
1036 switch (p->pc_hdr & PCIM_HDRTYPE) { in pci_find_cap()
H A Dpciconf.c465 switch (p->pc_hdr & PCIM_HDRTYPE) { in list_bridge()
482 switch (p->pc_hdr & PCIM_HDRTYPE) { in list_bars()
/freebsd-12.1/sys/arm/annapurna/alpine/
H A Dalpine_pci.c135 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in al_pcib_fixup()
/freebsd-12.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-12.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-12.1/sys/sparc64/pci/
H A Dofw_pcibus.c154 if ((CS_READ(PCIR_HDRTYPE, 1) & PCIM_HDRTYPE) == in ofw_pcibus_setup_device()
H A Dschizo.c1235 PCIM_HDRTYPE) != PCIM_HDRTYPE_BRIDGE && in schizo_setup_device()
/freebsd-12.1/sys/powerpc/ofw/
H A Dofw_pcibus.c251 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in ofw_pcibus_enum_bus()
/freebsd-12.1/sys/dev/pci/
H A Dpci.c615 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_hdrtypedata()
820 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_read_cap()
916 if ((cfg->hdrtype & PCIM_HDRTYPE) == in pci_read_cap()
931 if ((cfg->hdrtype & PCIM_HDRTYPE) == in pci_read_cap()
1481 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_find_cap_method()
3631 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_reserve_secbus()
3740 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_alloc_secbus()
4089 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in pci_add_children()
4133 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in pci_rescan_method()
5936 switch (dinfo->cfg.hdrtype & PCIM_HDRTYPE) { in pci_cfg_restore()
[all …]
H A Dpcireg.h118 #define PCIM_HDRTYPE 0x7f macro
H A Dpci_pci.c606 switch (pci_read_config(dev, PCIR_HDRTYPE, 1) & PCIM_HDRTYPE) { in pcib_setup_secbus()
/freebsd-12.1/sys/mips/nlm/
H A Dxlp_pci.c102 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in xlp_pci_attach()
/freebsd-12.1/sys/x86/pci/
H A Dpci_bus.c413 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in legacy_pcib_identify()
/freebsd-12.1/sys/arm/mv/
H A Dmv_pci.c820 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in mv_pcib_init()
869 maxbar = (hdrtype & PCIM_HDRTYPE) ? 0 : 6; in mv_pcib_init_all_bars()
/freebsd-12.1/sys/i386/pci/
H A Dpci_pir.c271 if ((value & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in pci_pir_search_irq()
/freebsd-12.1/sys/amd64/vmm/io/
H A Dppt.c140 if ((dinfo->cfg.hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL) in ppt_probe()
/freebsd-12.1/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c574 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in fsl_pcib_init()
/freebsd-12.1/sys/mips/cavium/
H A Doctopci.c573 switch (hdrtype & PCIM_HDRTYPE) { in octopci_init_device()
/freebsd-12.1/sys/dev/acpica/
H A Dacpi_pci_link.c581 if ((value & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in acpi_pci_link_search_irq()
/freebsd-12.1/sys/dev/hyperv/pcib/
H A Dvmbus_pcib.c641 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in pci_rescan()
/freebsd-12.1/sys/dev/aacraid/
H A Daacraid.c1927 switch (status & PCIM_HDRTYPE) { in aac_find_pci_capability()
/freebsd-12.1/sys/dev/cxgb/
H A Dcxgb_main.c1163 switch (cfg->hdrtype & PCIM_HDRTYPE) { in t3_os_find_pci_capability()