/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/pci/ |
D | pci-driver.c | 72 spin_lock(&drv->dynids.lock); in pci_add_dynid() 73 list_add_tail(&dynid->node, &drv->dynids.list); in pci_add_dynid() 74 spin_unlock(&drv->dynids.lock); in pci_add_dynid() 84 spin_lock(&drv->dynids.lock); in pci_free_dynids() 85 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in pci_free_dynids() 89 spin_unlock(&drv->dynids.lock); in pci_free_dynids() 184 spin_lock(&pdrv->dynids.lock); in remove_id_store() 185 list_for_each_entry_safe(dynid, n, &pdrv->dynids.list, node) { in remove_id_store() 198 spin_unlock(&pdrv->dynids.lock); in remove_id_store() 264 spin_lock(&drv->dynids.lock); in pci_match_device() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/hv/ |
D | vmbus_drv.c | 716 spin_lock(&drv->dynids.lock); in hv_vmbus_dynid_match() 717 list_for_each_entry(dynid, &drv->dynids.list, node) { in hv_vmbus_dynid_match() 723 spin_unlock(&drv->dynids.lock); in hv_vmbus_dynid_match() 767 spin_lock(&drv->dynids.lock); in vmbus_add_dynid() 768 list_add_tail(&dynid->node, &drv->dynids.list); in vmbus_add_dynid() 769 spin_unlock(&drv->dynids.lock); in vmbus_add_dynid() 778 spin_lock(&drv->dynids.lock); in vmbus_free_dynids() 779 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in vmbus_free_dynids() 783 spin_unlock(&drv->dynids.lock); in vmbus_free_dynids() 830 spin_lock(&drv->dynids.lock); in remove_id_store() [all …]
|
/kernel/linux/linux-5.10/include/pcmcia/ |
D | ds.h | 58 struct pcmcia_dynids dynids; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | usb.h | 1108 extern ssize_t usb_store_new_id(struct usb_dynids *dynids, 1113 extern ssize_t usb_show_dynids(struct usb_dynids *dynids, char *buf); 1212 struct usb_dynids dynids; member
|
D | hyperv.h | 1207 } dynids; member
|
D | pci.h | 875 struct pci_dynids dynids; member
|
/kernel/linux/linux-5.10/include/linux/usb/ |
D | serial.h | 244 struct usb_dynids dynids; member
|