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