Lines Matching refs:ufshcd_state

496 	dev_err(hba->dev, "UFS Host state=%d\n", hba->ufshcd_state);  in ufshcd_print_host_state()
1023 if (hba->ufshcd_state != UFSHCD_STATE_OPERATIONAL) { in ufshcd_wait_for_doorbell_clr()
1618 || hba->ufshcd_state != UFSHCD_STATE_OPERATIONAL in ufshcd_gate_work()
1672 || hba->ufshcd_state != UFSHCD_STATE_OPERATIONAL in __ufshcd_release()
2414 switch (hba->ufshcd_state) { in ufshcd_queuecommand()
2427 __func__, hba->ufshcd_state); in ufshcd_queuecommand()
3855 hba->ufshcd_state = UFSHCD_STATE_RESET; in ufshcd_link_recovery()
3863 hba->ufshcd_state = UFSHCD_STATE_ERROR; in ufshcd_link_recovery()
5283 if (hba->ufshcd_state == UFSHCD_STATE_RESET) in ufshcd_err_handler()
5286 hba->ufshcd_state = UFSHCD_STATE_RESET; in ufshcd_err_handler()
5367 hba->ufshcd_state = UFSHCD_STATE_ERROR; in ufshcd_err_handler()
5380 hba->ufshcd_state = UFSHCD_STATE_OPERATIONAL; in ufshcd_err_handler()
5512 if (hba->ufshcd_state == UFSHCD_STATE_OPERATIONAL) { in ufshcd_check_errors()
5516 hba->ufshcd_state = UFSHCD_STATE_EH_SCHEDULED; in ufshcd_check_errors()
6211 if (!err && (hba->ufshcd_state != UFSHCD_STATE_OPERATIONAL)) in ufshcd_host_reset_and_restore()
6278 hba->ufshcd_state == UFSHCD_STATE_RESET || in ufshcd_eh_host_reset_handler()
6279 hba->ufshcd_state == UFSHCD_STATE_EH_SCHEDULED)) in ufshcd_eh_host_reset_handler()
6286 hba->ufshcd_state = UFSHCD_STATE_RESET; in ufshcd_eh_host_reset_handler()
6295 hba->ufshcd_state = UFSHCD_STATE_OPERATIONAL; in ufshcd_eh_host_reset_handler()
6298 hba->ufshcd_state = UFSHCD_STATE_ERROR; in ufshcd_eh_host_reset_handler()
6935 hba->ufshcd_state = UFSHCD_STATE_OPERATIONAL; in ufshcd_probe_hba()