Lines Matching full:vendor
81 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) in match_id() argument
86 if (pdev->vendor == vendor && pdev->device == device) in match_id()
89 for (id = drv ? drv->id_table : NULL; id && id->vendor; id++) in match_id()
90 if (id->vendor == vendor && id->device == device) in match_id()
93 return id && id->vendor; in match_id()
96 static bool probe_list(struct pci_dev *pdev, unsigned short vendor, in probe_list() argument
105 if (device && match_id(pdev, vendor, device)) in probe_list()
121 unsigned short offset, vendor, device, list, rev; in find_oprom() local
131 if (probe_kernel_address(rom + offset + 0x4, vendor) != 0) in find_oprom()
137 if (match_id(pdev, vendor, device)) { in find_oprom()
145 probe_list(pdev, vendor, rom + offset + list)) { in find_oprom()