Lines Matching refs:clk_scaling_lock
1185 down_write(&hba->clk_scaling_lock); in ufshcd_clock_scaling_prepare()
1190 up_write(&hba->clk_scaling_lock); in ufshcd_clock_scaling_prepare()
1205 up_write(&hba->clk_scaling_lock); in ufshcd_clock_scaling_unprepare()
1207 up_read(&hba->clk_scaling_lock); in ufshcd_clock_scaling_unprepare()
1254 downgrade_write(&hba->clk_scaling_lock); in ufshcd_devfreq_scale()
2701 if (!down_read_trylock(&hba->clk_scaling_lock)) in ufshcd_queuecommand()
2783 up_read(&hba->clk_scaling_lock); in ufshcd_queuecommand()
2946 down_read(&hba->clk_scaling_lock); in ufshcd_exec_dev_cmd()
2982 up_read(&hba->clk_scaling_lock); in ufshcd_exec_dev_cmd()
5939 down_write(&hba->clk_scaling_lock); in ufshcd_clk_scaling_allow()
5941 up_write(&hba->clk_scaling_lock); in ufshcd_clk_scaling_allow()
5989 down_write(&hba->clk_scaling_lock); in ufshcd_err_handling_prepare()
5990 up_write(&hba->clk_scaling_lock); in ufshcd_err_handling_prepare()
6219 down_write(&hba->clk_scaling_lock); in ufshcd_err_handler()
6229 up_write(&hba->clk_scaling_lock); in ufshcd_err_handler()
6722 down_read(&hba->clk_scaling_lock); in ufshcd_issue_devman_upiu_cmd()
6807 up_read(&hba->clk_scaling_lock); in ufshcd_issue_devman_upiu_cmd()
9565 init_rwsem(&hba->clk_scaling_lock); in ufshcd_init()