/openbsd/sys/arch/i386/pci/ |
H A D | pci_bus_fixup.c | 69 if (PCI_VENDOR(reg) == PCI_VENDOR_INVALID) in pci_bus_check() 72 if (PCI_VENDOR(reg) == 0) in pci_bus_check() 75 qd = pci_lookup_quirkdata(PCI_VENDOR(reg), PCI_PRODUCT(reg)); in pci_bus_check() 90 if (PCI_VENDOR(reg) == PCI_VENDOR_INVALID) in pci_bus_check() 93 if (PCI_VENDOR(reg) == 0) in pci_bus_check() 176 if (PCI_VENDOR(reg) == PCI_VENDOR_INVALID) in pci_bus_assign() 179 if (PCI_VENDOR(reg) == 0) in pci_bus_assign() 182 qd = pci_lookup_quirkdata(PCI_VENDOR(reg), PCI_PRODUCT(reg)); in pci_bus_assign() 197 if (PCI_VENDOR(reg) == PCI_VENDOR_INVALID) in pci_bus_assign() 200 if (PCI_VENDOR(reg) == 0) in pci_bus_assign() [all …]
|
H A D | pci_intr_fixup.c | 248 if (PCI_VENDOR(id) == piit->piit_vendor && in pciintr_icu_lookup() 721 PCI_VENDOR(id), PCI_PRODUCT(id), '@' + ihp->pin, l->clink, in pci_intr_header_fixup() 787 if (PCI_VENDOR(icuid) == PCI_VENDOR_INVALID) in pci_intr_fixup() 790 if (PCI_VENDOR(icuid) == 0) in pci_intr_fixup() 793 qd = pci_lookup_quirkdata(PCI_VENDOR(icuid), in pci_intr_fixup() 808 if (PCI_VENDOR(icuid) == PCI_VENDOR_INVALID) in pci_intr_fixup() 811 if (PCI_VENDOR(icuid) == 0) in pci_intr_fixup() 832 PCI_VENDOR(pirh->compat_router), in pci_intr_fixup()
|
H A D | pcibios.c | 527 if (PCI_VENDOR(id) == PCI_VENDOR_INVALID) in pci_device_foreach() 530 if (PCI_VENDOR(id) == 0) in pci_device_foreach() 533 qd = pci_lookup_quirkdata(PCI_VENDOR(id), in pci_device_foreach() 549 if (PCI_VENDOR(id) == PCI_VENDOR_INVALID) in pci_device_foreach() 555 if (PCI_VENDOR(id) == 0) in pci_device_foreach()
|
/openbsd/sys/dev/pci/ |
H A D | aac_pci.c | 208 if (m->vendor == PCI_VENDOR(pa->pa_id) && in aac_pci_probe() 212 if (m->subvendor == PCI_VENDOR(subsysid) && in aac_pci_probe() 237 if ((PCI_VENDOR(pa->pa_id) != PCI_VENDOR(subsysid)) || in aac_pci_attach() 241 if (subid->subvendor == PCI_VENDOR(subsysid) && in aac_pci_attach() 281 if (m->vendor == PCI_VENDOR(pa->pa_id) && in aac_pci_attach() 283 if (m->subvendor == PCI_VENDOR(subsysid) && in aac_pci_attach()
|
H A D | sdhc_pci.c | 82 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_REALTEK && in sdhc_pci_match() 90 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_RICOH && in sdhc_pci_match() 119 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_TI && in sdhc_pci_attach() 125 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ENE && in sdhc_pci_attach() 130 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_RICOH && in sdhc_pci_attach() 198 if (PCI_VENDOR(sc->sc_id) == PCI_VENDOR_RICOH && in sdhc_pci_activate()
|
H A D | xhci_pci.c | 147 switch (PCI_VENDOR(pa->pa_id)) { in xhci_pci_attach() 182 psc->sc.sc_id_vendor = PCI_VENDOR(pa->pa_id); in xhci_pci_attach() 187 "vendor 0x%04x", PCI_VENDOR(pa->pa_id)); in xhci_pci_attach() 197 if (PCI_VENDOR(psc->sc_id) == PCI_VENDOR_INTEL) in xhci_pci_attach() 241 if (PCI_VENDOR(psc->sc_id) == PCI_VENDOR_INTEL) in xhci_pci_activate()
|
H A D | if_dc_pci.c | 129 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_DEC && in dc_pci_match() 137 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_DEC && in dc_pci_match() 143 if ((PCI_VENDOR(pa->pa_id) == t->dc_vid) && in dc_pci_match() 215 if ((PCI_VENDOR(pa->pa_id) == PCI_VENDOR_LITEON && in dc_pci_attach() 218 else if ((PCI_VENDOR(pa->pa_id) == PCI_VENDOR_XIRCOM && in dc_pci_attach() 224 switch (PCI_VENDOR(pa->pa_id)) { in dc_pci_attach() 392 PCI_VENDOR(pa->pa_id), PCI_PRODUCT(pa->pa_id)); in dc_pci_attach()
|
H A D | puc.c | 110 desc = puc_find_description(PCI_VENDOR(pa->pa_id), in puc_pci_match() 111 PCI_PRODUCT(pa->pa_id), PCI_VENDOR(subsys), PCI_PRODUCT(subsys)); in puc_pci_match() 160 sc->sc_desc = puc_find_description(PCI_VENDOR(pa->pa_id), in puc_pci_attach() 161 PCI_PRODUCT(pa->pa_id), PCI_VENDOR(subsys), PCI_PRODUCT(subsys)); in puc_pci_attach() 163 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_EXAR && in puc_pci_attach()
|
H A D | ehci_pci.c | 131 switch (PCI_VENDOR(pa->pa_id)) { in ehci_pci_attach() 200 sc->sc.sc_id_vendor = PCI_VENDOR(pa->pa_id); in ehci_pci_attach() 205 "vendor 0x%04x", PCI_VENDOR(pa->pa_id)); in ehci_pci_attach() 340 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ATI && in ehci_sb700_match()
|
H A D | if_ti_pci.c | 159 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ALTEON && in ti_pci_attach() 163 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_NETGEAR && in ti_pci_attach()
|
H A D | mmuagp.c | 142 switch (PCI_VENDOR(pa->pa_id)) { in mmuagp_probe() 202 if (PCI_VENDOR(reg) != PCI_VENDOR_NVIDIA || PCI_PRODUCT(reg) != devid) in mmuagp_nvidia_match() 222 if (PCI_VENDOR(reg) != PCI_VENDOR_VIATECH || in mmuagp_via_match() 254 if (PCI_VENDOR(id) == PCI_VENDOR_AMD && in mmuagp_attach() 287 switch (PCI_VENDOR(pa->pa_id)) { in mmuagp_attach()
|
H A D | if_re_pci.c | 101 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_REALTEK && in re_pci_probe() 106 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_LINKSYS && in re_pci_probe() 188 if (!(PCI_VENDOR(pa->pa_id) == PCI_VENDOR_REALTEK && in re_pci_attach()
|
H A D | iha_pci.c | 67 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INITIO) in iha_pci_probe() 75 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_DTCTECH) in iha_pci_probe()
|
H A D | pci_subr.c | 292 pci_vendor_id_t vendor = PCI_VENDOR(id_reg); in pci_findvendor() 311 pci_vendor_id_t vendor = PCI_VENDOR(id_reg); in pci_findproduct() 346 vendor = PCI_VENDOR(id_reg); in pci_devinfo()
|
H A D | piixpm.c | 140 if ((PCI_VENDOR(pa->pa_id) == PCI_VENDOR_AMD && in piixpm_attach() 142 (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_AMD && in piixpm_attach() 144 (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ATI && in piixpm_attach() 164 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_AMD && in piixpm_attach()
|
/openbsd/sys/arch/alpha/pci/ |
H A D | sio.c | 112 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_CONTAQ && 117 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL && 121 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ALI && 125 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ALI && 139 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL && 159 sc->sc_haseisa = (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL &&
|
/openbsd/sys/dev/cardbus/ |
H A D | puc_cardbus.c | 63 if (PCI_VENDOR(ca->ca_id) == PCI_VENDOR_OXFORD2 && in puc_cardbus_match() 68 if (puc_find_description(PCI_VENDOR(ca->ca_id), in puc_cardbus_match() 69 PCI_PRODUCT(ca->ca_id), PCI_VENDOR(reg), PCI_PRODUCT(reg))) in puc_cardbus_match() 94 sc->sc_desc = puc_find_description(PCI_VENDOR(ca->ca_id), in puc_cardbus_attach() 95 PCI_PRODUCT(ca->ca_id), PCI_VENDOR(reg), PCI_PRODUCT(reg)); in puc_cardbus_attach()
|
H A D | ehci_cardbus.c | 133 sc->sc.sc_id_vendor = PCI_VENDOR(ca->ca_id); in ehci_cardbus_attach() 138 "vendor 0x%04x", PCI_VENDOR(ca->ca_id)); in ehci_cardbus_attach()
|
/openbsd/sys/arch/macppc/macppc/ |
H A D | rbus_machdep.c | 74 if (PCI_VENDOR(x) == PCI_VENDOR_TI && in macppc_cardbus_init() 86 if (PCI_VENDOR(x) == PCI_VENDOR_MOT && in macppc_cardbus_init() 95 if (PCI_VENDOR(x) == PCI_VENDOR_TI && in macppc_cardbus_init()
|
/openbsd/sys/arch/i386/i386/ |
H A D | mpbios_intr_fixup.c | 59 if (PCI_VENDOR(id) == mpit->mpit_vendor && in mpbios_icu_lookup() 200 if (PCI_VENDOR(icuid) == PCI_VENDOR_INVALID) in mpbios_intr_fixup() 203 qd = pci_lookup_quirkdata(PCI_VENDOR(icuid), in mpbios_intr_fixup() 218 if (PCI_VENDOR(icuid) == PCI_VENDOR_INVALID) in mpbios_intr_fixup()
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | mpbios_intr_fixup.c | 59 if (PCI_VENDOR(id) == mpit->mpit_vendor && in mpbios_icu_lookup() 200 if (PCI_VENDOR(icuid) == PCI_VENDOR_INVALID) in mpbios_intr_fixup() 203 qd = pci_lookup_quirkdata(PCI_VENDOR(icuid), in mpbios_intr_fixup() 218 if (PCI_VENDOR(icuid) == PCI_VENDOR_INVALID) in mpbios_intr_fixup()
|
/openbsd/sys/arch/amd64/pci/ |
H A D | acpipci.c | 201 PCI_VENDOR(id) == PCI_VENDOR_QUMRANET) in acpipci_attach_bus() 213 PCI_VENDOR(id) != PCI_VENDOR_AMD && in acpipci_attach_bus() 214 PCI_VENDOR(id) != PCI_VENDOR_NVIDIA && in acpipci_attach_bus() 215 PCI_VENDOR(id) != PCI_VENDOR_INTEL) in acpipci_attach_bus()
|
/openbsd/sys/arch/macppc/pci/ |
H A D | kauaiata.c | 77 switch(PCI_VENDOR(pa->pa_id)) { in kauaiatamatch() 128 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_APPLE && in kauaiataattach()
|
/openbsd/sys/arch/loongson/loongson/ |
H A D | wscons_machdep.c | 131 if (id == 0 || PCI_VENDOR(id) == PCI_VENDOR_INVALID) in wscnprobe() 182 if (id == 0 || PCI_VENDOR(id) == PCI_VENDOR_INVALID) in wscninit()
|
/openbsd/sys/arch/loongson/dev/ |
H A D | ohci_voyager.c | 137 sc->sc.sc_id_vendor = PCI_VENDOR(pa->pa_id); in ohci_voyager_attach() 142 "vendor 0x%04x", PCI_VENDOR(pa->pa_id)); in ohci_voyager_attach()
|