Searched refs:dynid (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/usb/core/ |
A D | driver.c | 47 struct usb_dynid *dynid; in usb_store_new_id() local 60 dynid = kzalloc(sizeof(*dynid), GFP_KERNEL); in usb_store_new_id() 61 if (!dynid) in usb_store_new_id() 109 kfree(dynid); in usb_store_new_id() 116 struct usb_dynid *dynid; in usb_show_dynids() local 122 dynid->id.idVendor, dynid->id.idProduct, in usb_show_dynids() 126 dynid->id.idVendor, dynid->id.idProduct); in usb_show_dynids() 170 kfree(dynid); in remove_id_store() 225 list_del(&dynid->node); in usb_free_dynids() 226 kfree(dynid); in usb_free_dynids() [all …]
|
/linux-6.3-rc2/drivers/pci/ |
A D | pci-driver.c | 59 struct pci_dynid *dynid; in pci_add_dynid() local 61 dynid = kzalloc(sizeof(*dynid), GFP_KERNEL); in pci_add_dynid() 62 if (!dynid) in pci_add_dynid() 65 dynid->id.vendor = vendor; in pci_add_dynid() 66 dynid->id.device = device; in pci_add_dynid() 69 dynid->id.class = class; in pci_add_dynid() 87 list_del(&dynid->node); in pci_free_dynids() 88 kfree(dynid); in pci_free_dynids() 139 struct pci_dynid *dynid; in pci_match_device() local 150 found_id = &dynid->id; in pci_match_device() [all …]
|
/linux-6.3-rc2/drivers/usb/serial/ |
A D | bus.c | 137 struct usb_dynid *dynid, *n; in free_dynids() local 140 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in free_dynids() 141 list_del(&dynid->node); in free_dynids() 142 kfree(dynid); in free_dynids()
|
A D | usb-serial.c | 708 struct usb_dynid *dynid; in match_dynamic_id() local 711 list_for_each_entry(dynid, &drv->dynids.list, node) { in match_dynamic_id() 712 if (usb_match_one_id(intf, &dynid->id)) { in match_dynamic_id() 714 return &dynid->id; in match_dynamic_id()
|
/linux-6.3-rc2/drivers/pcmcia/ |
A D | ds.c | 97 struct pcmcia_dynid *dynid; in new_id_store() local 112 if (!dynid) in new_id_store() 116 dynid->id.manf_id = manf_id; in new_id_store() 117 dynid->id.card_id = card_id; in new_id_store() 118 dynid->id.func_id = func_id; in new_id_store() 119 dynid->id.function = function; in new_id_store() 120 dynid->id.device_no = device_no; in new_id_store() 138 struct pcmcia_dynid *dynid, *n; in pcmcia_free_dynids() local 142 list_del(&dynid->node); in pcmcia_free_dynids() 143 kfree(dynid); in pcmcia_free_dynids() [all …]
|
/linux-6.3-rc2/drivers/hv/ |
A D | vmbus_drv.c | 739 struct vmbus_dynid *dynid; in hv_vmbus_dynid_match() local 744 id = &dynid->id; in hv_vmbus_dynid_match() 784 struct vmbus_dynid *dynid; in vmbus_add_dynid() local 786 dynid = kzalloc(sizeof(*dynid), GFP_KERNEL); in vmbus_add_dynid() 787 if (!dynid) in vmbus_add_dynid() 790 dynid->id.guid = *guid; in vmbus_add_dynid() 801 struct vmbus_dynid *dynid, *n; in vmbus_free_dynids() local 805 list_del(&dynid->node); in vmbus_free_dynids() 806 kfree(dynid); in vmbus_free_dynids() 860 list_del(&dynid->node); in remove_id_store() [all …]
|
/linux-6.3-rc2/drivers/hid/ |
A D | hid-core.c | 2493 struct hid_dynid *dynid; in new_id_store() local 2503 dynid = kzalloc(sizeof(*dynid), GFP_KERNEL); in new_id_store() 2504 if (!dynid) in new_id_store() 2507 dynid->id.bus = bus; in new_id_store() 2509 dynid->id.vendor = vendor; in new_id_store() 2510 dynid->id.product = product; in new_id_store() 2531 struct hid_dynid *dynid, *n; in hid_free_dynids() local 2535 list_del(&dynid->list); in hid_free_dynids() 2536 kfree(dynid); in hid_free_dynids() 2544 struct hid_dynid *dynid; in hid_match_device() local [all …]
|
Completed in 26 milliseconds