Lines Matching refs:device
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()
91 if (id->vendor == vendor && id->device == device) in match_id()
100 unsigned short device; in probe_list() local
103 if (get_kernel_nofault(device, rom_list) != 0) in probe_list()
104 device = 0; in probe_list()
106 if (device && match_id(pdev, vendor, device)) in probe_list()
110 } while (device); in probe_list()
112 return !!device; in probe_list()
122 unsigned short offset, vendor, device, list, rev; in find_oprom() local
135 if (get_kernel_nofault(device, rom + offset + 0x6) != 0) in find_oprom()
138 if (match_id(pdev, vendor, device)) { in find_oprom()