Lines Matching refs:dynid
58 struct pci_dynid *dynid; in pci_add_dynid() local
60 dynid = kzalloc(sizeof(*dynid), GFP_KERNEL); in pci_add_dynid()
61 if (!dynid) in pci_add_dynid()
64 dynid->id.vendor = vendor; in pci_add_dynid()
65 dynid->id.device = device; in pci_add_dynid()
66 dynid->id.subvendor = subvendor; in pci_add_dynid()
67 dynid->id.subdevice = subdevice; in pci_add_dynid()
68 dynid->id.class = class; in pci_add_dynid()
69 dynid->id.class_mask = class_mask; in pci_add_dynid()
70 dynid->id.driver_data = driver_data; in pci_add_dynid()
73 list_add_tail(&dynid->node, &drv->dynids.list); in pci_add_dynid()
82 struct pci_dynid *dynid, *n; in pci_free_dynids() local
85 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in pci_free_dynids()
86 list_del(&dynid->node); in pci_free_dynids()
87 kfree(dynid); in pci_free_dynids()
138 struct pci_dynid *dynid; in pci_match_device() local
147 list_for_each_entry(dynid, &drv->dynids.list, node) { in pci_match_device()
148 if (pci_match_one_device(&dynid->id, dev)) { in pci_match_device()
149 found_id = &dynid->id; in pci_match_device()
258 struct pci_dynid *dynid, *n; in remove_id_store() local
272 list_for_each_entry_safe(dynid, n, &pdrv->dynids.list, node) { in remove_id_store()
273 struct pci_device_id *id = &dynid->id; in remove_id_store()
279 list_del(&dynid->node); in remove_id_store()
280 kfree(dynid); in remove_id_store()