Lines Matching refs:pltfrm_param
294 int ufshcd_get_pwr_dev_param(struct ufs_dev_params *pltfrm_param, in ufshcd_get_pwr_dev_param() argument
306 if (pltfrm_param->desired_working_mode == UFS_HS_MODE) { in ufshcd_get_pwr_dev_param()
308 min_pltfrm_gear = min_t(u32, pltfrm_param->hs_rx_gear, in ufshcd_get_pwr_dev_param()
309 pltfrm_param->hs_tx_gear); in ufshcd_get_pwr_dev_param()
311 min_pltfrm_gear = min_t(u32, pltfrm_param->pwm_rx_gear, in ufshcd_get_pwr_dev_param()
312 pltfrm_param->pwm_tx_gear); in ufshcd_get_pwr_dev_param()
331 agreed_pwr->pwr_rx = pltfrm_param->rx_pwr_hs; in ufshcd_get_pwr_dev_param()
340 agreed_pwr->pwr_rx = pltfrm_param->rx_pwr_pwm; in ufshcd_get_pwr_dev_param()
350 pltfrm_param->tx_lanes); in ufshcd_get_pwr_dev_param()
352 pltfrm_param->rx_lanes); in ufshcd_get_pwr_dev_param()
376 agreed_pwr->hs_rate = pltfrm_param->hs_rate; in ufshcd_get_pwr_dev_param()