Lines Matching refs:host_lock
1114 lockdep_assert_held(hba->host->host_lock); in ufshcd_pending_cmds()
1132 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1153 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1165 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1175 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_wait_for_doorbell_clr()
1320 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1322 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1326 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_suspend_work()
1337 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1339 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1343 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_clk_scaling_resume_work()
1365 spin_lock_irqsave(hba->host->host_lock, irq_flags); in ufshcd_devfreq_target()
1367 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_devfreq_target()
1375 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_devfreq_target()
1385 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_devfreq_target()
1389 spin_unlock_irqrestore(hba->host->host_lock, irq_flags); in ufshcd_devfreq_target()
1421 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_devfreq_get_dev_status()
1450 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_devfreq_get_dev_status()
1510 spin_lock_irqsave(hba->host->host_lock, flags); in __ufshcd_suspend_clkscaling()
1512 spin_unlock_irqrestore(hba->host->host_lock, flags); in __ufshcd_suspend_clkscaling()
1523 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_suspend_clkscaling()
1528 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_suspend_clkscaling()
1539 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_resume_clkscaling()
1544 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_resume_clkscaling()
1659 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_ungate_work()
1661 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_ungate_work()
1665 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_ungate_work()
1704 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_hold()
1725 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_hold()
1729 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_hold()
1765 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_hold()
1768 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_hold()
1775 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_hold()
1788 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_gate_work()
1809 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_gate_work()
1840 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_gate_work()
1847 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_gate_work()
1878 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_release()
1880 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_release()
1897 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_clkgate_delay_set()
1899 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_clkgate_delay_set()
1935 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_clkgate_enable_store()
1946 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_clkgate_enable_store()
2026 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_clk_scaling_start_busy()
2031 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_clk_scaling_start_busy()
2049 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_clk_scaling_start_busy()
2060 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_clk_scaling_update_busy()
2068 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_clk_scaling_update_busy()
2097 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_start_monitor()
2100 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_start_monitor()
2108 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_update_monitor()
2132 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_update_monitor()
2331 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_wait_for_uic_cmd()
2333 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_wait_for_uic_cmd()
2351 lockdep_assert_held(hba->host->host_lock); in __ufshcd_send_uic_cmd()
2387 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_send_uic_cmd()
2389 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_send_uic_cmd()
2859 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_queuecommand()
2861 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_queuecommand()
2890 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_clear_cmds()
2892 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_clear_cmds()
4050 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_uic_pwr_ctrl()
4066 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_uic_pwr_ctrl()
4105 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_uic_pwr_ctrl()
4115 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_uic_pwr_ctrl()
4161 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_link_recovery()
4164 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_link_recovery()
4171 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_link_recovery()
4175 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_link_recovery()
4244 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_auto_hibern8_update()
4249 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_auto_hibern8_update()
4581 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_hba_stop()
4583 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_hba_stop()
5110 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_slave_destroy()
5112 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_slave_destroy()
5117 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_slave_destroy()
5122 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_slave_destroy()
5308 spin_lock(hba->host->host_lock); in ufshcd_uic_cmd_compl()
5332 spin_unlock(hba->host->host_lock); in ufshcd_uic_cmd_compl()
5992 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_quirk_dl_nac_errors()
6011 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_quirk_dl_nac_errors()
6013 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_quirk_dl_nac_errors()
6031 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_quirk_dl_nac_errors()
6033 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_quirk_dl_nac_errors()
6047 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_quirk_dl_nac_errors()
6060 lockdep_assert_held(hba->host->host_lock); in ufshcd_schedule_eh_work()
6228 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_err_handler()
6232 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_err_handler()
6237 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_err_handler()
6241 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_err_handler()
6260 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_err_handler()
6263 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_err_handler()
6273 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_err_handler()
6279 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_err_handler()
6304 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_err_handler()
6307 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_err_handler()
6314 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_err_handler()
6337 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_err_handler()
6349 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_err_handler()
6365 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_err_handler()
6374 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_err_handler()
6381 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_err_handler()
6400 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_err_handler()
6514 spin_lock(hba->host->host_lock); in ufshcd_check_errors()
6573 spin_unlock(hba->host->host_lock); in ufshcd_check_errors()
6591 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_tmc_handler()
6601 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_tmc_handler()
6693 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_clear_tm_cmd()
6695 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_clear_tm_cmd()
6729 spin_lock_irqsave(host->host_lock, flags); in __ufshcd_issue_tm_cmd()
6747 spin_unlock_irqrestore(host->host_lock, flags); in __ufshcd_issue_tm_cmd()
6769 spin_lock_irqsave(hba->host->host_lock, flags); in __ufshcd_issue_tm_cmd()
6772 spin_unlock_irqrestore(hba->host->host_lock, flags); in __ufshcd_issue_tm_cmd()
7222 spin_lock_irqsave(host->host_lock, flags); in ufshcd_abort()
7225 spin_unlock_irqrestore(host->host_lock, flags); in ufshcd_abort()
7319 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_reset_and_restore()
7331 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_reset_and_restore()
7338 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_reset_and_restore()
7358 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_reset_and_restore()
7377 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_eh_host_reset_handler()
7381 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_eh_host_reset_handler()
7385 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_eh_host_reset_handler()
7388 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_eh_host_reset_handler()
8253 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_probe_hba()
8258 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_probe_hba()
8562 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_setup_clocks()
8566 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_setup_clocks()
8753 spin_lock_irqsave(hba->host->host_lock, flags); in ufshcd_set_dev_pwr_mode()
8764 spin_unlock_irqrestore(hba->host->host_lock, flags); in ufshcd_set_dev_pwr_mode()