Lines Matching refs:vendor
80 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) in match_id() argument
85 if (pdev->vendor == vendor && pdev->device == device) in match_id()
88 for (id = drv ? drv->id_table : NULL; id && id->vendor; id++) in match_id()
89 if (id->vendor == vendor && id->device == device) in match_id()
92 return id && id->vendor; in match_id()
95 static bool probe_list(struct pci_dev *pdev, unsigned short vendor, in probe_list() argument
104 if (device && match_id(pdev, vendor, device)) in probe_list()
120 unsigned short offset, vendor, device, list, rev; in find_oprom() local
130 if (probe_kernel_address(rom + offset + 0x4, vendor) != 0) in find_oprom()
136 if (match_id(pdev, vendor, device)) { in find_oprom()
144 probe_list(pdev, vendor, rom + offset + list)) { in find_oprom()