Home
last modified time | relevance | path

Searched refs:pm_mutex (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/input/joystick/
Dpxrc.c25 struct mutex pm_mutex; member
86 mutex_lock(&pxrc->pm_mutex); in pxrc_open()
99 mutex_unlock(&pxrc->pm_mutex); in pxrc_open()
107 mutex_lock(&pxrc->pm_mutex); in pxrc_close()
110 mutex_unlock(&pxrc->pm_mutex); in pxrc_close()
145 mutex_init(&pxrc->pm_mutex); in pxrc_probe()
211 mutex_lock(&pxrc->pm_mutex); in pxrc_suspend()
214 mutex_unlock(&pxrc->pm_mutex); in pxrc_suspend()
224 mutex_lock(&pxrc->pm_mutex); in pxrc_resume()
228 mutex_unlock(&pxrc->pm_mutex); in pxrc_resume()
[all …]
/Linux-v4.19/drivers/input/tablet/
Dpegasus_notetaker.c82 struct mutex pm_mutex; member
225 mutex_lock(&pegasus->pm_mutex); in pegasus_open()
237 mutex_unlock(&pegasus->pm_mutex); in pegasus_open()
244 mutex_unlock(&pegasus->pm_mutex); in pegasus_open()
253 mutex_lock(&pegasus->pm_mutex); in pegasus_close()
257 mutex_unlock(&pegasus->pm_mutex); in pegasus_close()
291 mutex_init(&pegasus->pm_mutex); in pegasus_probe()
407 mutex_lock(&pegasus->pm_mutex); in pegasus_suspend()
410 mutex_unlock(&pegasus->pm_mutex); in pegasus_suspend()
420 mutex_lock(&pegasus->pm_mutex); in pegasus_resume()
[all …]
/Linux-v4.19/drivers/input/mouse/
Dsynaptics_usb.c86 struct mutex pm_mutex; member
259 mutex_lock(&synusb->pm_mutex); in synusb_open()
273 mutex_unlock(&synusb->pm_mutex); in synusb_open()
285 mutex_lock(&synusb->pm_mutex); in synusb_close()
289 mutex_unlock(&synusb->pm_mutex); in synusb_close()
328 mutex_init(&synusb->pm_mutex); in synusb_probe()
481 mutex_lock(&synusb->pm_mutex); in synusb_suspend()
483 mutex_unlock(&synusb->pm_mutex); in synusb_suspend()
493 mutex_lock(&synusb->pm_mutex); in synusb_resume()
500 mutex_unlock(&synusb->pm_mutex); in synusb_resume()
[all …]
Dbcm5974.c294 struct mutex pm_mutex; /* serialize access to open/suspend */ member
851 mutex_lock(&dev->pm_mutex); in bcm5974_open()
857 mutex_unlock(&dev->pm_mutex); in bcm5974_open()
869 mutex_lock(&dev->pm_mutex); in bcm5974_close()
874 mutex_unlock(&dev->pm_mutex); in bcm5974_close()
883 mutex_lock(&dev->pm_mutex); in bcm5974_suspend()
888 mutex_unlock(&dev->pm_mutex); in bcm5974_suspend()
898 mutex_lock(&dev->pm_mutex); in bcm5974_resume()
903 mutex_unlock(&dev->pm_mutex); in bcm5974_resume()
932 mutex_init(&dev->pm_mutex); in bcm5974_probe()
/Linux-v4.19/drivers/input/misc/
Dcm109.c124 struct mutex pm_mutex; member
562 mutex_lock(&dev->pm_mutex); in cm109_input_open()
581 mutex_unlock(&dev->pm_mutex); in cm109_input_open()
593 mutex_lock(&dev->pm_mutex); in cm109_input_close()
603 mutex_unlock(&dev->pm_mutex); in cm109_input_close()
717 mutex_init(&dev->pm_mutex); in cm109_usb_probe()
830 mutex_lock(&dev->pm_mutex); in cm109_usb_suspend()
832 mutex_unlock(&dev->pm_mutex); in cm109_usb_suspend()
843 mutex_lock(&dev->pm_mutex); in cm109_usb_resume()
845 mutex_unlock(&dev->pm_mutex); in cm109_usb_resume()
[all …]
/Linux-v4.19/drivers/input/touchscreen/
Dusbtouchscreen.c111 struct mutex pm_mutex; /* serialize access to open/suspend */ member
1550 mutex_lock(&usbtouch->pm_mutex); in usbtouch_open()
1561 mutex_unlock(&usbtouch->pm_mutex); in usbtouch_open()
1572 mutex_lock(&usbtouch->pm_mutex); in usbtouch_close()
1576 mutex_unlock(&usbtouch->pm_mutex); in usbtouch_close()
1599 mutex_lock(&usbtouch->pm_mutex); in usbtouch_resume()
1602 mutex_unlock(&usbtouch->pm_mutex); in usbtouch_resume()
1624 mutex_lock(&usbtouch->pm_mutex); in usbtouch_reset_resume()
1627 mutex_unlock(&usbtouch->pm_mutex); in usbtouch_reset_resume()
/Linux-v4.19/drivers/net/ethernet/sun/
Dcassini.c4248 mutex_lock(&cp->pm_mutex); in cas_open()
4303 mutex_unlock(&cp->pm_mutex); in cas_open()
4312 mutex_unlock(&cp->pm_mutex); in cas_open()
4325 mutex_lock(&cp->pm_mutex); in cas_close()
4342 mutex_unlock(&cp->pm_mutex); in cas_close()
4786 mutex_lock(&cp->pm_mutex); in cas_ioctl()
4812 mutex_unlock(&cp->pm_mutex); in cas_ioctl()
5041 mutex_init(&cp->pm_mutex); in cas_init_one()
5149 mutex_lock(&cp->pm_mutex); in cas_init_one()
5152 mutex_unlock(&cp->pm_mutex); in cas_init_one()
[all …]
Dcassini.h2771 struct mutex pm_mutex; /* open/close/suspend/resume */ member
/Linux-v4.19/Documentation/driver-api/pm/
Dnotifiers.rst62 The hibernation and suspend notifiers are called with :c:data:`pm_mutex` held.