• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/

Lines Matching refs:id

184 	struct pci_device_id *id = data;
186 if (pci_match_one_device(id, pdev))
192 * pci_get_dev_by_id - begin or continue searching for a PCI device by id
193 * @id: pointer to struct pci_device_id to match for the device
197 * with a matching id a pointer to its device structure is returned, and the
207 static struct pci_dev *pci_get_dev_by_id(const struct pci_device_id *id,
217 dev = bus_find_device(&pci_bus_type, dev_start, (void *)id,
227 * pci_get_subsys - begin or continue searching for a PCI device by vendor/subvendor/device/subdevice id
228 * @vendor: PCI vendor id to match, or %PCI_ANY_ID to match all vendor ids
229 * @device: PCI device id to match, or %PCI_ANY_ID to match all device ids
230 * @ss_vendor: PCI subsystem vendor id to match, or %PCI_ANY_ID to match all vendor ids
231 * @ss_device: PCI subsystem device id to match, or %PCI_ANY_ID to match all device ids
247 struct pci_device_id *id;
258 id = kzalloc(sizeof(*id), GFP_KERNEL);
259 if (!id)
261 id->vendor = vendor;
262 id->device = device;
263 id->subvendor = ss_vendor;
264 id->subdevice = ss_device;
266 pdev = pci_get_dev_by_id(id, from);
267 kfree(id);
273 * pci_get_device - begin or continue searching for a PCI device by vendor/device id
274 * @vendor: PCI vendor id to match, or %PCI_ANY_ID to match all vendor ids
275 * @device: PCI device id to match, or %PCI_ANY_ID to match all device ids
309 struct pci_device_id *id;
311 id = kzalloc(sizeof(*id), GFP_KERNEL);
312 if (!id)
314 id->vendor = id->device = id->subvendor = id->subdevice = PCI_ANY_ID;
315 id->class_mask = PCI_ANY_ID;
316 id->class = class;
318 dev = pci_get_dev_by_id(id, from);
319 kfree(id);