Lines Matching refs:pm_lock
198 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_ready_state_transition()
201 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_ready_state_transition()
210 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_ready_state_transition()
245 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_ready_state_transition()
250 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_ready_state_transition()
262 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_m0_transition()
265 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_m0_transition()
273 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_pm_m0_transition()
319 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_pm_m0_transition()
335 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_m1_transition()
341 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_m1_transition()
353 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_pm_m1_transition()
356 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_pm_m1_transition()
361 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_m1_transition()
371 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_m3_transition()
374 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_m3_transition()
396 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_mission_mode_transition()
402 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_mission_mode_transition()
407 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_mission_mode_transition()
420 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_pm_mission_mode_transition()
446 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_pm_mission_mode_transition()
454 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_pm_mission_mode_transition()
458 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_pm_mission_mode_transition()
564 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_disable_transition()
566 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_disable_transition()
599 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_sys_error_transition()
602 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_sys_error_transition()
635 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_sys_error_transition()
638 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_sys_error_transition()
704 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_sys_error_transition()
706 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_sys_error_transition()
783 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_st_worker()
786 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_st_worker()
790 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_st_worker()
792 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_st_worker()
806 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_st_worker()
808 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_st_worker()
846 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_pm_suspend()
848 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_pm_suspend()
856 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_pm_suspend()
858 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_pm_suspend()
866 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_pm_suspend()
870 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_suspend()
877 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_suspend()
887 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_pm_suspend()
947 write_lock_irq(&mhi_cntrl->pm_lock); in __mhi_pm_resume()
950 write_unlock_irq(&mhi_cntrl->pm_lock); in __mhi_pm_resume()
960 write_unlock_irq(&mhi_cntrl->pm_lock); in __mhi_pm_resume()
996 read_lock_bh(&mhi_cntrl->pm_lock); in __mhi_device_get_sync()
998 read_unlock_bh(&mhi_cntrl->pm_lock); in __mhi_device_get_sync()
1004 read_unlock_bh(&mhi_cntrl->pm_lock); in __mhi_device_get_sync()
1012 read_lock_bh(&mhi_cntrl->pm_lock); in __mhi_device_get_sync()
1014 read_unlock_bh(&mhi_cntrl->pm_lock); in __mhi_device_get_sync()
1106 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_async_power_up()
1111 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_async_power_up()
1177 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_power_down()
1180 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_power_down()
1204 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_power_down()
1263 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_device_get()
1268 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_device_get()
1290 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_device_put()
1295 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_device_put()