Searched refs:dynids (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/usb/serial/ |
H 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()
|
H 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/ |
H A 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/drivers/pci/ |
H A D | pci-driver.c | 73 spin_lock(&drv->dynids.lock); in pci_add_dynid() 74 list_add_tail(&dynid->node, &drv->dynids.list); in pci_add_dynid() 75 spin_unlock(&drv->dynids.lock); in pci_add_dynid() 85 spin_lock(&drv->dynids.lock); in pci_free_dynids() 86 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in pci_free_dynids() 90 spin_unlock(&drv->dynids.lock); in pci_free_dynids() 147 spin_lock(&drv->dynids.lock); in pci_match_device() 148 list_for_each_entry(dynid, &drv->dynids.list, node) { in pci_match_device() 154 spin_unlock(&drv->dynids.lock); in pci_match_device() 272 spin_lock(&pdrv->dynids.lock); in remove_id_store() [all …]
|
/linux/drivers/pcmcia/ |
H 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() 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() 911 mutex_lock(&p_drv->dynids.lock); in pcmcia_bus_match() 912 list_for_each_entry(dynid, &p_drv->dynids.list, node) { in pcmcia_bus_match() [all …]
|
/linux/drivers/hv/ |
H A D | vmbus_drv.c | 670 spin_lock(&drv->dynids.lock); in hv_vmbus_dynid_match() 671 list_for_each_entry(dynid, &drv->dynids.list, node) { in hv_vmbus_dynid_match() 677 spin_unlock(&drv->dynids.lock); in hv_vmbus_dynid_match() 721 spin_lock(&drv->dynids.lock); in vmbus_add_dynid() 722 list_add_tail(&dynid->node, &drv->dynids.list); in vmbus_add_dynid() 723 spin_unlock(&drv->dynids.lock); in vmbus_add_dynid() 732 spin_lock(&drv->dynids.lock); in vmbus_free_dynids() 733 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in vmbus_free_dynids() 737 spin_unlock(&drv->dynids.lock); in vmbus_free_dynids() 784 spin_lock(&drv->dynids.lock); in remove_id_store() [all …]
|
/linux/include/pcmcia/ |
H A D | ds.h | 58 struct pcmcia_dynids dynids; member
|
/linux/include/linux/ |
H A D | usb.h | 1142 extern ssize_t usb_store_new_id(struct usb_dynids *dynids, 1147 extern ssize_t usb_show_dynids(struct usb_dynids *dynids, char *buf); 1239 struct usb_dynids dynids; member
|
H A D | hyperv.h | 1293 } dynids; member
|
H A D | pci.h | 962 struct pci_dynids dynids; member
|
/linux/include/linux/usb/ |
H A D | serial.h | 240 struct usb_dynids dynids; member
|