Searched refs:dynids (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/usb/serial/ |
A D | bus.c | 110 ssize_t retval = usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, in new_id_store() 114 retval = usb_store_new_id(&usb_drv->usb_driver->dynids, in new_id_store() 125 return usb_show_dynids(&usb_drv->dynids, buf); in new_id_show() 139 spin_lock(&drv->dynids.lock); in free_dynids() 140 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in free_dynids() 144 spin_unlock(&drv->dynids.lock); in free_dynids() 160 spin_lock_init(&driver->dynids.lock); in usb_serial_bus_register() 161 INIT_LIST_HEAD(&driver->dynids.list); in usb_serial_bus_register()
|
A D | usb-serial.c | 709 spin_lock(&drv->dynids.lock); in match_dynamic_id() 710 list_for_each_entry(dynid, &drv->dynids.list, node) { in match_dynamic_id() 712 spin_unlock(&drv->dynids.lock); in match_dynamic_id() 716 spin_unlock(&drv->dynids.lock); in match_dynamic_id()
|
/linux/drivers/usb/core/ |
A D | driver.c | 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() 163 spin_lock(&usb_driver->dynids.lock); in remove_id_store() 174 spin_unlock(&usb_driver->dynids.lock); in remove_id_store() 223 spin_lock(&usb_drv->dynids.lock); in usb_free_dynids() 228 spin_unlock(&usb_drv->dynids.lock); in usb_free_dynids() 236 spin_lock(&drv->dynids.lock); in usb_match_dynamic_id() 239 spin_unlock(&drv->dynids.lock); in usb_match_dynamic_id() 243 spin_unlock(&drv->dynids.lock); in usb_match_dynamic_id() [all …]
|
/linux/drivers/pci/ |
A 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() 89 spin_unlock(&drv->dynids.lock); in pci_free_dynids() 146 spin_lock(&drv->dynids.lock); in pci_match_device() 153 spin_unlock(&drv->dynids.lock); in pci_match_device() 271 spin_lock(&pdrv->dynids.lock); in remove_id_store() 285 spin_unlock(&pdrv->dynids.lock); in remove_id_store() 1401 spin_lock_init(&drv->dynids.lock); in __pci_register_driver() [all …]
|
/linux/drivers/pcmcia/ |
A 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() 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() 907 mutex_lock(&p_drv->dynids.lock); in pcmcia_bus_match() 908 list_for_each_entry(dynid, &p_drv->dynids.list, node) { in pcmcia_bus_match() 912 mutex_unlock(&p_drv->dynids.lock); in pcmcia_bus_match() [all …]
|
/linux/drivers/hv/ |
A D | vmbus_drv.c | 739 spin_lock(&drv->dynids.lock); in hv_vmbus_dynid_match() 746 spin_unlock(&drv->dynids.lock); in hv_vmbus_dynid_match() 790 spin_lock(&drv->dynids.lock); in vmbus_add_dynid() 791 list_add_tail(&dynid->node, &drv->dynids.list); in vmbus_add_dynid() 792 spin_unlock(&drv->dynids.lock); in vmbus_add_dynid() 801 spin_lock(&drv->dynids.lock); in vmbus_free_dynids() 806 spin_unlock(&drv->dynids.lock); in vmbus_free_dynids() 853 spin_lock(&drv->dynids.lock); in remove_id_store() 864 spin_unlock(&drv->dynids.lock); in remove_id_store() 1628 spin_lock_init(&hv_driver->dynids.lock); in __vmbus_driver_register() [all …]
|
/linux/include/pcmcia/ |
A D | ds.h | 58 struct pcmcia_dynids dynids; member
|
/linux/include/linux/ |
A D | usb.h | 1107 extern ssize_t usb_store_new_id(struct usb_dynids *dynids, 1112 extern ssize_t usb_show_dynids(struct usb_dynids *dynids, char *buf); 1211 struct usb_dynids dynids; member
|
A D | hyperv.h | 1238 } dynids; member
|
A D | pci.h | 902 struct pci_dynids dynids; member
|
/linux/include/linux/usb/ |
A D | serial.h | 245 struct usb_dynids dynids; member
|
Completed in 42 milliseconds