Lines Matching full:vendor
82 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) in match_id() argument
87 if (pdev->vendor == vendor && pdev->device == device) in match_id()
90 for (id = drv ? drv->id_table : NULL; id && id->vendor; id++) in match_id()
91 if (id->vendor == vendor && id->device == device) in match_id()
94 return id && id->vendor; in match_id()
97 static bool probe_list(struct pci_dev *pdev, unsigned short vendor, in probe_list() argument
106 if (device && match_id(pdev, vendor, device)) in probe_list()
122 unsigned short offset, vendor, device, list, rev; in find_oprom() local
132 if (get_kernel_nofault(vendor, rom + offset + 0x4) != 0) in find_oprom()
138 if (match_id(pdev, vendor, device)) { in find_oprom()
146 probe_list(pdev, vendor, rom + offset + list)) { in find_oprom()