/Linux-v5.4/drivers/usb/serial/ |
D | bus.c | 127 ssize_t retval = usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, in new_id_store() 131 retval = usb_store_new_id(&usb_drv->usb_driver->dynids, in new_id_store() 142 return usb_show_dynids(&usb_drv->dynids, buf); in new_id_show() 156 spin_lock(&drv->dynids.lock); in free_dynids() 157 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in free_dynids() 161 spin_unlock(&drv->dynids.lock); in free_dynids() 177 spin_lock_init(&driver->dynids.lock); in usb_serial_bus_register() 178 INIT_LIST_HEAD(&driver->dynids.list); in usb_serial_bus_register()
|
D | usb-serial.c | 625 spin_lock(&drv->dynids.lock); in match_dynamic_id() 626 list_for_each_entry(dynid, &drv->dynids.list, node) { in match_dynamic_id() 628 spin_unlock(&drv->dynids.lock); in match_dynamic_id() 632 spin_unlock(&drv->dynids.lock); in match_dynamic_id()
|
/Linux-v5.4/drivers/usb/core/ |
D | driver.c | 42 ssize_t usb_store_new_id(struct usb_dynids *dynids, in usb_store_new_id() argument 98 spin_lock(&dynids->lock); in usb_store_new_id() 99 list_add_tail(&dynid->node, &dynids->list); in usb_store_new_id() 100 spin_unlock(&dynids->lock); in usb_store_new_id() 114 ssize_t usb_show_dynids(struct usb_dynids *dynids, char *buf) in usb_show_dynids() argument 119 list_for_each_entry(dynid, &dynids->list, node) in usb_show_dynids() 135 return usb_show_dynids(&usb_drv->dynids, buf); in new_id_show() 143 return usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, driver, buf, count); in new_id_store() 163 spin_lock(&usb_driver->dynids.lock); in remove_id_store() 164 list_for_each_entry_safe(dynid, n, &usb_driver->dynids.list, node) { in remove_id_store() [all …]
|
/Linux-v5.4/drivers/pci/ |
D | pci-driver.c | 70 spin_lock(&drv->dynids.lock); in pci_add_dynid() 71 list_add_tail(&dynid->node, &drv->dynids.list); in pci_add_dynid() 72 spin_unlock(&drv->dynids.lock); in pci_add_dynid() 82 spin_lock(&drv->dynids.lock); in pci_free_dynids() 83 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in pci_free_dynids() 87 spin_unlock(&drv->dynids.lock); in pci_free_dynids() 182 spin_lock(&pdrv->dynids.lock); in remove_id_store() 183 list_for_each_entry_safe(dynid, n, &pdrv->dynids.list, node) { in remove_id_store() 196 spin_unlock(&pdrv->dynids.lock); in remove_id_store() 262 spin_lock(&drv->dynids.lock); in pci_match_device() [all …]
|
/Linux-v5.4/drivers/pcmcia/ |
D | ds.c | 123 mutex_lock(&pdrv->dynids.lock); in new_id_store() 124 list_add_tail(&dynid->node, &pdrv->dynids.list); in new_id_store() 125 mutex_unlock(&pdrv->dynids.lock); in new_id_store() 140 mutex_lock(&drv->dynids.lock); in pcmcia_free_dynids() 141 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in pcmcia_free_dynids() 145 mutex_unlock(&drv->dynids.lock); in pcmcia_free_dynids() 182 mutex_init(&driver->dynids.lock); in pcmcia_register_driver() 183 INIT_LIST_HEAD(&driver->dynids.list); in pcmcia_register_driver() 912 mutex_lock(&p_drv->dynids.lock); in pcmcia_bus_match() 913 list_for_each_entry(dynid, &p_drv->dynids.list, node) { in pcmcia_bus_match() [all …]
|
/Linux-v5.4/drivers/hv/ |
D | vmbus_drv.c | 695 spin_lock(&drv->dynids.lock); in hv_vmbus_dynid_match() 696 list_for_each_entry(dynid, &drv->dynids.list, node) { in hv_vmbus_dynid_match() 702 spin_unlock(&drv->dynids.lock); in hv_vmbus_dynid_match() 746 spin_lock(&drv->dynids.lock); in vmbus_add_dynid() 747 list_add_tail(&dynid->node, &drv->dynids.list); in vmbus_add_dynid() 748 spin_unlock(&drv->dynids.lock); in vmbus_add_dynid() 757 spin_lock(&drv->dynids.lock); in vmbus_free_dynids() 758 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in vmbus_free_dynids() 762 spin_unlock(&drv->dynids.lock); in vmbus_free_dynids() 809 spin_lock(&drv->dynids.lock); in remove_id_store() [all …]
|
/Linux-v5.4/include/pcmcia/ |
D | ds.h | 58 struct pcmcia_dynids dynids; member
|
/Linux-v5.4/include/linux/ |
D | usb.h | 1100 extern ssize_t usb_store_new_id(struct usb_dynids *dynids, 1105 extern ssize_t usb_show_dynids(struct usb_dynids *dynids, char *buf); 1204 struct usb_dynids dynids; member
|
D | hyperv.h | 1157 } dynids; member
|
D | pci.h | 840 struct pci_dynids dynids; member
|
/Linux-v5.4/include/linux/usb/ |
D | serial.h | 245 struct usb_dynids dynids; member
|