Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/input/tablet/
Dpegasus_notetaker.c83 struct mutex pm_mutex; member
226 mutex_lock(&pegasus->pm_mutex); in pegasus_open()
238 mutex_unlock(&pegasus->pm_mutex); in pegasus_open()
245 mutex_unlock(&pegasus->pm_mutex); in pegasus_open()
254 mutex_lock(&pegasus->pm_mutex); in pegasus_close()
258 mutex_unlock(&pegasus->pm_mutex); in pegasus_close()
292 mutex_init(&pegasus->pm_mutex); in pegasus_probe()
414 mutex_lock(&pegasus->pm_mutex); in pegasus_suspend()
417 mutex_unlock(&pegasus->pm_mutex); in pegasus_suspend()
427 mutex_lock(&pegasus->pm_mutex); in pegasus_resume()
[all …]
/Linux-v6.6/drivers/input/mouse/
Dsynaptics_usb.c82 struct mutex pm_mutex; member
255 mutex_lock(&synusb->pm_mutex); in synusb_open()
269 mutex_unlock(&synusb->pm_mutex); in synusb_open()
281 mutex_lock(&synusb->pm_mutex); in synusb_close()
285 mutex_unlock(&synusb->pm_mutex); in synusb_close()
324 mutex_init(&synusb->pm_mutex); in synusb_probe()
477 mutex_lock(&synusb->pm_mutex); in synusb_suspend()
479 mutex_unlock(&synusb->pm_mutex); in synusb_suspend()
489 mutex_lock(&synusb->pm_mutex); in synusb_resume()
496 mutex_unlock(&synusb->pm_mutex); in synusb_resume()
[all …]
Dbcm5974.c280 struct mutex pm_mutex; /* serialize access to open/suspend */ member
837 mutex_lock(&dev->pm_mutex); in bcm5974_open()
843 mutex_unlock(&dev->pm_mutex); in bcm5974_open()
855 mutex_lock(&dev->pm_mutex); in bcm5974_close()
860 mutex_unlock(&dev->pm_mutex); in bcm5974_close()
869 mutex_lock(&dev->pm_mutex); in bcm5974_suspend()
874 mutex_unlock(&dev->pm_mutex); in bcm5974_suspend()
884 mutex_lock(&dev->pm_mutex); in bcm5974_resume()
889 mutex_unlock(&dev->pm_mutex); in bcm5974_resume()
918 mutex_init(&dev->pm_mutex); in bcm5974_probe()
/Linux-v6.6/drivers/input/misc/
Dcm109.c121 struct mutex pm_mutex; member
559 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()
713 mutex_init(&dev->pm_mutex); in cm109_usb_probe()
826 mutex_lock(&dev->pm_mutex); in cm109_usb_suspend()
828 mutex_unlock(&dev->pm_mutex); in cm109_usb_suspend()
839 mutex_lock(&dev->pm_mutex); in cm109_usb_resume()
841 mutex_unlock(&dev->pm_mutex); in cm109_usb_resume()
[all …]
/Linux-v6.6/drivers/bus/mhi/host/
Dpm.c469 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_pm_disable_transition()
514 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_pm_disable_transition()
521 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_pm_disable_transition()
568 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_pm_disable_transition()
590 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_pm_sys_error_transition()
647 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_pm_sys_error_transition()
654 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_pm_sys_error_transition()
711 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_pm_sys_error_transition()
1088 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_async_power_up()
1143 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_async_power_up()
[all …]
Dinit.c931 mutex_init(&mhi_cntrl->pm_mutex); in mhi_register_controller()
1100 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_prepare_for_power_up()
1162 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_prepare_for_power_up()
1170 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_prepare_for_power_up()
/Linux-v6.6/drivers/input/touchscreen/
Dusbtouchscreen.c98 struct mutex pm_mutex; /* serialize access to open/suspend */ member
1541 mutex_lock(&usbtouch->pm_mutex); in usbtouch_open()
1552 mutex_unlock(&usbtouch->pm_mutex); in usbtouch_open()
1563 mutex_lock(&usbtouch->pm_mutex); in usbtouch_close()
1567 mutex_unlock(&usbtouch->pm_mutex); in usbtouch_close()
1590 mutex_lock(&usbtouch->pm_mutex); in usbtouch_resume()
1593 mutex_unlock(&usbtouch->pm_mutex); in usbtouch_resume()
1615 mutex_lock(&usbtouch->pm_mutex); in usbtouch_reset_resume()
1618 mutex_unlock(&usbtouch->pm_mutex); in usbtouch_reset_resume()
1669 mutex_init(&usbtouch->pm_mutex); in usbtouch_probe()
/Linux-v6.6/drivers/net/ethernet/sun/
Dcassini.c4185 mutex_lock(&cp->pm_mutex); in cas_open()
4240 mutex_unlock(&cp->pm_mutex); in cas_open()
4249 mutex_unlock(&cp->pm_mutex); in cas_open()
4262 mutex_lock(&cp->pm_mutex); in cas_close()
4279 mutex_unlock(&cp->pm_mutex); in cas_close()
4723 mutex_lock(&cp->pm_mutex); in cas_ioctl()
4749 mutex_unlock(&cp->pm_mutex); in cas_ioctl()
4964 mutex_init(&cp->pm_mutex); in cas_init_one()
5071 mutex_lock(&cp->pm_mutex); in cas_init_one()
5074 mutex_unlock(&cp->pm_mutex); in cas_init_one()
[all …]
Dcassini.h2758 struct mutex pm_mutex; /* open/close/suspend/resume */ member
/Linux-v6.6/Documentation/driver-api/pm/
Dnotifiers.rst66 The hibernation and suspend notifiers are called with :c:data:`pm_mutex` held.
/Linux-v6.6/include/linux/
Dmhi.h419 struct mutex pm_mutex; member