Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/input/joystick/
Dpxrc.c27 struct mutex pm_mutex; member
88 guard(mutex)(&pxrc->pm_mutex); in pxrc_open()
105 guard(mutex)(&pxrc->pm_mutex); in pxrc_close()
142 mutex_init(&pxrc->pm_mutex); in pxrc_probe()
208 guard(mutex)(&pxrc->pm_mutex); in pxrc_suspend()
219 guard(mutex)(&pxrc->pm_mutex); in pxrc_resume()
230 mutex_lock(&pxrc->pm_mutex); in pxrc_pre_reset()
243 mutex_unlock(&pxrc->pm_mutex); in pxrc_post_reset()
/linux-6.12.1/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 scoped_guard(mutex, &dev->pm_mutex) { in bcm5974_open()
853 scoped_guard(mutex, &dev->pm_mutex) { in bcm5974_close()
865 guard(mutex)(&dev->pm_mutex); in bcm5974_suspend()
877 guard(mutex)(&dev->pm_mutex); in bcm5974_resume()
909 mutex_init(&dev->pm_mutex); in bcm5974_probe()
/linux-6.12.1/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-6.12.1/drivers/bus/mhi/host/
Dpm.c485 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_pm_disable_transition()
530 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_pm_disable_transition()
545 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_pm_disable_transition()
592 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_pm_disable_transition()
614 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_pm_sys_error_transition()
677 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_pm_sys_error_transition()
684 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_pm_sys_error_transition()
741 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_pm_sys_error_transition()
1120 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_async_power_up()
1176 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_async_power_up()
[all …]
Dinit.c960 mutex_init(&mhi_cntrl->pm_mutex); in mhi_register_controller()
1127 mutex_lock(&mhi_cntrl->pm_mutex); in mhi_prepare_for_power_up()
1189 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_prepare_for_power_up()
1197 mutex_unlock(&mhi_cntrl->pm_mutex); in mhi_prepare_for_power_up()
/linux-6.12.1/drivers/input/touchscreen/
Dusbtouchscreen.c96 struct mutex pm_mutex; /* serialize access to open/suspend */ member
1330 guard(mutex)(&usbtouch->pm_mutex); in usbtouch_start_io()
1364 scoped_guard(mutex, &usbtouch->pm_mutex) { in usbtouch_close()
1389 guard(mutex)(&usbtouch->pm_mutex); in usbtouch_resume()
1414 guard(mutex)(&usbtouch->pm_mutex); in usbtouch_reset_resume()
1466 mutex_init(&usbtouch->pm_mutex); in usbtouch_probe()
/linux-6.12.1/drivers/net/ethernet/sun/
Dcassini.c4186 mutex_lock(&cp->pm_mutex); in cas_open()
4241 mutex_unlock(&cp->pm_mutex); in cas_open()
4250 mutex_unlock(&cp->pm_mutex); in cas_open()
4263 mutex_lock(&cp->pm_mutex); in cas_close()
4280 mutex_unlock(&cp->pm_mutex); in cas_close()
4724 mutex_lock(&cp->pm_mutex); in cas_ioctl()
4750 mutex_unlock(&cp->pm_mutex); in cas_ioctl()
4965 mutex_init(&cp->pm_mutex); in cas_init_one()
5072 mutex_lock(&cp->pm_mutex); in cas_init_one()
5075 mutex_unlock(&cp->pm_mutex); in cas_init_one()
[all …]
Dcassini.h2758 struct mutex pm_mutex; /* open/close/suspend/resume */ member
/linux-6.12.1/Documentation/driver-api/pm/
Dnotifiers.rst66 The hibernation and suspend notifiers are called with :c:data:`pm_mutex` held.
/linux-6.12.1/include/linux/
Dmhi.h406 struct mutex pm_mutex; member