Home
last modified time | relevance | path

Searched refs:pm_lock (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/bus/mhi/host/
H A Dpm.c198 write_lock_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()
273 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_pm_m0_transition()
420 read_lock_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()
846 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_pm_suspend()
856 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_pm_suspend()
[all …]
H A Dboot.c185 rwlock_t *pm_lock = &mhi_cntrl->pm_lock; in mhi_fw_load_bhie() local
189 read_lock_bh(pm_lock); in mhi_fw_load_bhie()
191 read_unlock_bh(pm_lock); in mhi_fw_load_bhie()
208 read_unlock_bh(pm_lock); in mhi_fw_load_bhie()
235 rwlock_t *pm_lock = &mhi_cntrl->pm_lock; in mhi_fw_load_bhi() local
248 read_lock_bh(pm_lock); in mhi_fw_load_bhi()
250 read_unlock_bh(pm_lock); in mhi_fw_load_bhi()
264 read_unlock_bh(pm_lock); in mhi_fw_load_bhi()
277 read_lock_bh(pm_lock); in mhi_fw_load_bhi()
288 read_unlock_bh(pm_lock); in mhi_fw_load_bhi()
[all …]
H A Dmain.c487 write_lock_irq(&mhi_cntrl->pm_lock); in mhi_intvec_threaded_handler()
505 write_unlock_irq(&mhi_cntrl->pm_lock); in mhi_intvec_threaded_handler()
967 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_process_ctrl_ev_ring()
972 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_process_ctrl_ev_ring()
1039 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_process_data_event_ring()
1044 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_process_data_event_ring()
1322 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_send_cmd()
1325 read_unlock_bh(&mhi_cntrl->pm_lock); in mhi_send_cmd()
1509 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_prepare_channel()
1626 read_lock_bh(&mhi_cntrl->pm_lock); in mhi_reset_chan()
[all …]
H A Dinit.c933 rwlock_init(&mhi_cntrl->pm_lock); in mhi_register_controller()
/openbmc/linux/sound/hda/
H A Dhdac_regmap.c245 int pm_lock = 0; in hda_reg_read() local
248 pm_lock = codec_pm_lock(codec); in hda_reg_read()
249 if (pm_lock < 0) in hda_reg_read()
275 codec_pm_unlock(codec, pm_lock); in hda_reg_read()
284 int pm_lock = 0; in hda_reg_write() local
294 pm_lock = codec_pm_lock(codec); in hda_reg_write()
295 if (pm_lock < 0) in hda_reg_write()
348 codec_pm_unlock(codec, pm_lock); in hda_reg_write()
/openbmc/linux/drivers/dma/qcom/
H A Dgpi.c516 rwlock_t pm_lock; member
1153 read_lock(&gpii->pm_lock); in gpi_ev_tasklet()
1155 read_unlock(&gpii->pm_lock); in gpi_ev_tasklet()
1166 read_unlock(&gpii->pm_lock); in gpi_ev_tasklet()
1219 write_lock_irq(&gpii->pm_lock); in gpi_reset_chan()
1245 write_lock_irq(&gpii->pm_lock); in gpi_start_chan()
1342 write_lock_irq(&gpii->pm_lock); in gpi_alloc_ev_chan()
1570 write_lock_irq(&gpii->pm_lock); in gpi_pause()
1604 write_lock_irq(&gpii->pm_lock); in gpi_resume()
1920 write_lock_irq(&gpii->pm_lock); in gpi_ch_init()
[all …]
/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dvenc.c610 mutex_lock(&core->pm_lock); in venc_pm_get()
612 mutex_unlock(&core->pm_lock); in venc_pm_get()
623 mutex_lock(&core->pm_lock); in venc_pm_put()
630 mutex_unlock(&core->pm_lock); in venc_pm_put()
641 mutex_lock(&core->pm_lock); in venc_pm_get_put()
652 mutex_unlock(&core->pm_lock); in venc_pm_get_put()
H A Dvdec.c631 mutex_lock(&core->pm_lock); in vdec_pm_get()
633 mutex_unlock(&core->pm_lock); in vdec_pm_get()
644 mutex_lock(&core->pm_lock); in vdec_pm_put()
651 mutex_unlock(&core->pm_lock); in vdec_pm_put()
662 mutex_lock(&core->pm_lock); in vdec_pm_get_put()
673 mutex_unlock(&core->pm_lock); in vdec_pm_get_put()
H A Dcore.c314 mutex_init(&core->pm_lock); in venus_probe()
449 mutex_destroy(&core->pm_lock); in venus_remove()
H A Dcore.h219 struct mutex pm_lock; member
/openbmc/linux/include/linux/
H A Dmhi.h420 rwlock_t pm_lock; member