Home
last modified time | relevance | path

Searched refs:dev_mutex (Results 1 – 19 of 19) sorted by relevance

/linux-3.4.99/drivers/staging/keucr/
Dusb.c43 mutex_lock(&us->dev_mutex); in eucr_suspend()
54 mutex_unlock(&us->dev_mutex); in eucr_suspend()
65 mutex_lock(&us->dev_mutex); in eucr_resume()
72 mutex_unlock(&us->dev_mutex); in eucr_resume()
121 mutex_lock(&us->dev_mutex); in eucr_pre_reset()
135 mutex_unlock(&us->dev_mutex); in eucr_post_reset()
180 mutex_lock(&(us->dev_mutex)); in usb_stor_control_thread()
184 mutex_unlock(&us->dev_mutex); in usb_stor_control_thread()
195 mutex_unlock(&us->dev_mutex); in usb_stor_control_thread()
261 mutex_unlock(&us->dev_mutex); in usb_stor_control_thread()
[all …]
Dtransport.c411 mutex_unlock(&us->dev_mutex); in usb_stor_invoke_transport()
413 mutex_lock(&us->dev_mutex); in usb_stor_invoke_transport()
489 mutex_unlock(&us->dev_mutex); in ENE_stor_invoke_transport()
491 mutex_lock(&us->dev_mutex); in ENE_stor_invoke_transport()
Dscsiglue.c177 mutex_lock(&(us->dev_mutex)); in device_reset()
179 mutex_unlock(&us->dev_mutex); in device_reset()
Dusb.h125 struct mutex dev_mutex; /* protect pusb_dev */ member
/linux-3.4.99/drivers/staging/rts_pstor/
Drtsx.c358 mutex_lock(&(dev->dev_mutex)); in rtsx_suspend()
379 mutex_unlock(&dev->dev_mutex); in rtsx_suspend()
399 mutex_lock(&(dev->dev_mutex)); in rtsx_resume()
407 mutex_unlock(&dev->dev_mutex); in rtsx_resume()
419 mutex_unlock(&dev->dev_mutex); in rtsx_resume()
427 mutex_unlock(&dev->dev_mutex); in rtsx_resume()
474 mutex_lock(&(dev->dev_mutex)); in rtsx_control_thread()
479 mutex_unlock(&dev->dev_mutex); in rtsx_control_thread()
551 mutex_unlock(&dev->dev_mutex); in rtsx_control_thread()
593 mutex_lock(&(dev->dev_mutex)); in rtsx_polling_thread()
[all …]
Drtsx.h126 struct mutex dev_mutex; member
/linux-3.4.99/drivers/staging/rts5139/
Drts51x.c136 mutex_lock(&chip->usb->dev_mutex); in rts51x_suspend()
153 mutex_unlock(&chip->usb->dev_mutex); in rts51x_suspend()
164 mutex_lock(&chip->usb->dev_mutex); in rts51x_resume()
179 mutex_unlock(&chip->usb->dev_mutex); in rts51x_resume()
191 mutex_lock(&chip->usb->dev_mutex); in rts51x_reset_resume()
201 mutex_unlock(&chip->usb->dev_mutex); in rts51x_reset_resume()
232 mutex_lock(&chip->usb->dev_mutex); in rts51x_pre_reset()
248 mutex_unlock(&chip->usb->dev_mutex); in rts51x_post_reset()
267 mutex_lock(&(chip->usb->dev_mutex)); in rts51x_control_thread()
275 mutex_unlock(&chip->usb->dev_mutex); in rts51x_control_thread()
[all …]
Drts51x_fop.c198 mutex_lock(&(chip->usb->dev_mutex)); in rts51x_open()
204 mutex_unlock(&chip->usb->dev_mutex); in rts51x_open()
254 mutex_lock(&(chip->usb->dev_mutex)); in rts51x_ioctl()
293 mutex_unlock(&chip->usb->dev_mutex); in rts51x_ioctl()
Drts51x.h88 struct mutex dev_mutex; /* protect pusb_dev */ member
/linux-3.4.99/drivers/infiniband/hw/cxgb3/
Diwch.c64 static DEFINE_MUTEX(dev_mutex);
159 mutex_lock(&dev_mutex); in open_rnic_dev()
162 mutex_unlock(&dev_mutex); in open_rnic_dev()
171 mutex_unlock(&dev_mutex); in open_rnic_dev()
186 mutex_lock(&dev_mutex); in close_rnic_dev()
202 mutex_unlock(&dev_mutex); in close_rnic_dev()
/linux-3.4.99/drivers/usb/storage/
Dusb.c184 mutex_lock(&us->dev_mutex); in usb_stor_suspend()
193 mutex_unlock(&us->dev_mutex); in usb_stor_suspend()
202 mutex_lock(&us->dev_mutex); in usb_stor_resume()
208 mutex_unlock(&us->dev_mutex); in usb_stor_resume()
242 mutex_lock(&us->dev_mutex); in usb_stor_pre_reset()
259 mutex_unlock(&us->dev_mutex); in usb_stor_post_reset()
321 mutex_lock(&(us->dev_mutex)); in usb_stor_control_thread()
329 mutex_unlock(&us->dev_mutex); in usb_stor_control_thread()
417 mutex_unlock(&us->dev_mutex); in usb_stor_control_thread()
885 mutex_lock(&us->dev_mutex); in usb_stor_scan_dwork()
[all …]
Dusb.h107 struct mutex dev_mutex; /* protect pusb_dev */ member
Dscsiglue.c387 mutex_lock(&(us->dev_mutex)); in device_reset()
389 mutex_unlock(&us->dev_mutex); in device_reset()
Dtransport.c878 mutex_unlock(&us->dev_mutex); in usb_stor_invoke_transport()
880 mutex_lock(&us->dev_mutex); in usb_stor_invoke_transport()
Drealtek_cr.c991 mutex_lock(&us->dev_mutex); in realtek_cr_suspend()
995 mutex_unlock(&us->dev_mutex); in realtek_cr_suspend()
Dene_ub6250.c2355 mutex_lock(&us->dev_mutex); in ene_ub6250_resume()
2361 mutex_unlock(&us->dev_mutex); in ene_ub6250_resume()
/linux-3.4.99/drivers/infiniband/hw/cxgb4/
Ddevice.c48 static DEFINE_MUTEX(dev_mutex);
475 mutex_lock(&dev_mutex); in c4iw_uld_add()
477 mutex_unlock(&dev_mutex); in c4iw_uld_add()
617 mutex_lock(&dev_mutex); in c4iw_exit_module()
623 mutex_unlock(&dev_mutex); in c4iw_exit_module()
/linux-3.4.99/drivers/media/video/
Dmem2mem_testdev.c178 struct mutex dev_mutex; member
306 mutex_lock(&dev->dev_mutex); in m2mtest_lock()
313 mutex_unlock(&dev->dev_mutex); in m2mtest_unlock()
951 mutex_init(&dev->dev_mutex); in m2mtest_probe()
961 vfd->lock = &dev->dev_mutex; in m2mtest_probe()
Dmx2_emmaprp.c207 struct mutex dev_mutex; member
260 mutex_lock(&pcdev->dev_mutex); in emmaprp_lock()
267 mutex_unlock(&pcdev->dev_mutex); in emmaprp_unlock()
897 mutex_init(&pcdev->dev_mutex); in emmaprp_probe()
907 vfd->lock = &pcdev->dev_mutex; in emmaprp_probe()