Lines Matching refs:pwr_info

535 		 hba->pwr_info.gear_rx, hba->pwr_info.gear_tx,  in ufshcd_print_pwr_info()
536 hba->pwr_info.lane_rx, hba->pwr_info.lane_tx, in ufshcd_print_pwr_info()
537 names[hba->pwr_info.pwr_rx], in ufshcd_print_pwr_info()
538 names[hba->pwr_info.pwr_tx], in ufshcd_print_pwr_info()
539 hba->pwr_info.hs_rate); in ufshcd_print_pwr_info()
1083 memcpy(&new_pwr_info, &hba->pwr_info, in ufshcd_scale_gear()
1086 if (hba->pwr_info.gear_tx > UFS_MIN_GEAR_TO_SCALE_DOWN in ufshcd_scale_gear()
1087 || hba->pwr_info.gear_rx > UFS_MIN_GEAR_TO_SCALE_DOWN) { in ufshcd_scale_gear()
1090 &hba->pwr_info, in ufshcd_scale_gear()
1105 hba->pwr_info.gear_tx, hba->pwr_info.gear_rx, in ufshcd_scale_gear()
3684 orig_pwr_info = hba->pwr_info; in ufshcd_dme_get_attr()
3963 hba->pwr_info.gear_rx = UFS_PWM_G1; in ufshcd_init_pwr_info()
3964 hba->pwr_info.gear_tx = UFS_PWM_G1; in ufshcd_init_pwr_info()
3965 hba->pwr_info.lane_rx = 1; in ufshcd_init_pwr_info()
3966 hba->pwr_info.lane_tx = 1; in ufshcd_init_pwr_info()
3967 hba->pwr_info.pwr_rx = SLOWAUTO_MODE; in ufshcd_init_pwr_info()
3968 hba->pwr_info.pwr_tx = SLOWAUTO_MODE; in ufshcd_init_pwr_info()
3969 hba->pwr_info.hs_rate = 0; in ufshcd_init_pwr_info()
3978 struct ufs_pa_layer_attr *pwr_info = &hba->max_pwr_info.info; in ufshcd_get_max_pwr_mode() local
3983 pwr_info->pwr_tx = FAST_MODE; in ufshcd_get_max_pwr_mode()
3984 pwr_info->pwr_rx = FAST_MODE; in ufshcd_get_max_pwr_mode()
3985 pwr_info->hs_rate = PA_HS_MODE_B; in ufshcd_get_max_pwr_mode()
3989 &pwr_info->lane_rx); in ufshcd_get_max_pwr_mode()
3991 &pwr_info->lane_tx); in ufshcd_get_max_pwr_mode()
3993 if (!pwr_info->lane_rx || !pwr_info->lane_tx) { in ufshcd_get_max_pwr_mode()
3996 pwr_info->lane_rx, in ufshcd_get_max_pwr_mode()
3997 pwr_info->lane_tx); in ufshcd_get_max_pwr_mode()
4006 ufshcd_dme_get(hba, UIC_ARG_MIB(PA_MAXRXHSGEAR), &pwr_info->gear_rx); in ufshcd_get_max_pwr_mode()
4007 if (!pwr_info->gear_rx) { in ufshcd_get_max_pwr_mode()
4009 &pwr_info->gear_rx); in ufshcd_get_max_pwr_mode()
4010 if (!pwr_info->gear_rx) { in ufshcd_get_max_pwr_mode()
4012 __func__, pwr_info->gear_rx); in ufshcd_get_max_pwr_mode()
4015 pwr_info->pwr_rx = SLOW_MODE; in ufshcd_get_max_pwr_mode()
4019 &pwr_info->gear_tx); in ufshcd_get_max_pwr_mode()
4020 if (!pwr_info->gear_tx) { in ufshcd_get_max_pwr_mode()
4022 &pwr_info->gear_tx); in ufshcd_get_max_pwr_mode()
4023 if (!pwr_info->gear_tx) { in ufshcd_get_max_pwr_mode()
4025 __func__, pwr_info->gear_tx); in ufshcd_get_max_pwr_mode()
4028 pwr_info->pwr_tx = SLOW_MODE; in ufshcd_get_max_pwr_mode()
4041 if (pwr_mode->gear_rx == hba->pwr_info.gear_rx && in ufshcd_change_power_mode()
4042 pwr_mode->gear_tx == hba->pwr_info.gear_tx && in ufshcd_change_power_mode()
4043 pwr_mode->lane_rx == hba->pwr_info.lane_rx && in ufshcd_change_power_mode()
4044 pwr_mode->lane_tx == hba->pwr_info.lane_tx && in ufshcd_change_power_mode()
4045 pwr_mode->pwr_rx == hba->pwr_info.pwr_rx && in ufshcd_change_power_mode()
4046 pwr_mode->pwr_tx == hba->pwr_info.pwr_tx && in ufshcd_change_power_mode()
4047 pwr_mode->hs_rate == hba->pwr_info.hs_rate) { in ufshcd_change_power_mode()
4093 memcpy(&hba->pwr_info, pwr_mode, in ufshcd_change_power_mode()
6960 &hba->pwr_info, in ufshcd_probe_hba()