Searched refs:host_params (Results 1 – 7 of 7) sorted by relevance
| /drivers/ufs/host/ |
| A D | ufshcd-pltfrm.c | 358 if (host_params->desired_working_mode == UFS_HS_MODE) { in ufshcd_negotiate_pwr_params() 360 min_host_gear = min_t(u32, host_params->hs_rx_gear, in ufshcd_negotiate_pwr_params() 361 host_params->hs_tx_gear); in ufshcd_negotiate_pwr_params() 363 min_host_gear = min_t(u32, host_params->pwm_rx_gear, in ufshcd_negotiate_pwr_params() 364 host_params->pwm_tx_gear); in ufshcd_negotiate_pwr_params() 382 agreed_pwr->pwr_rx = host_params->rx_pwr_hs; in ufshcd_negotiate_pwr_params() 391 agreed_pwr->pwr_rx = host_params->rx_pwr_pwm; in ufshcd_negotiate_pwr_params() 401 host_params->tx_lanes); in ufshcd_negotiate_pwr_params() 403 host_params->rx_lanes); in ufshcd_negotiate_pwr_params() 427 agreed_pwr->hs_rate = host_params->hs_rate; in ufshcd_negotiate_pwr_params() [all …]
|
| A D | ufshcd-pltfrm.h | 28 int ufshcd_negotiate_pwr_params(const struct ufs_host_params *host_params, 31 void ufshcd_init_host_params(struct ufs_host_params *host_params);
|
| A D | ufs-qcom.c | 487 struct ufs_host_params *host_params = &host->host_params; in ufs_qcom_power_up_sequence() local 499 host_params->hs_rate = PA_HS_MODE_A; in ufs_qcom_power_up_sequence() 501 host_params->hs_rate = PA_HS_MODE_B; in ufs_qcom_power_up_sequence() 504 mode = host_params->hs_rate == PA_HS_MODE_B ? PHY_MODE_UFS_HS_B : PHY_MODE_UFS_HS_A; in ufs_qcom_power_up_sequence() 896 struct ufs_host_params *host_params = &host->host_params; in ufs_qcom_pwr_change_notify() local 906 ret = ufshcd_negotiate_pwr_params(host_params, dev_max_params, dev_req_params); in ufs_qcom_pwr_change_notify() 1059 struct ufs_host_params *host_params = &host->host_params; in ufs_qcom_set_phy_gear() local 1069 host->phy_gear = host_params->hs_tx_gear; in ufs_qcom_set_phy_gear() 1102 struct ufs_host_params *host_params = &host->host_params; in ufs_qcom_set_host_params() local 1104 ufshcd_init_host_params(host_params); in ufs_qcom_set_host_params() [all …]
|
| A D | ufs-hisi.c | 296 static void ufs_hisi_set_dev_cap(struct ufs_host_params *host_params) in ufs_hisi_set_dev_cap() argument 298 ufshcd_init_host_params(host_params); in ufs_hisi_set_dev_cap() 368 struct ufs_host_params host_params; in ufs_hisi_pwr_change_notify() local 380 ufs_hisi_set_dev_cap(&host_params); in ufs_hisi_pwr_change_notify() 381 ret = ufshcd_negotiate_pwr_params(&host_params, dev_max_params, dev_req_params); in ufs_hisi_pwr_change_notify()
|
| A D | ufs-qcom.h | 289 struct ufs_host_params host_params; member
|
| A D | ufs-mediatek.c | 1251 struct ufs_host_params host_params; in ufs_mtk_pre_pwr_change() local 1254 ufshcd_init_host_params(&host_params); in ufs_mtk_pre_pwr_change() 1255 host_params.hs_rx_gear = UFS_HS_G5; in ufs_mtk_pre_pwr_change() 1256 host_params.hs_tx_gear = UFS_HS_G5; in ufs_mtk_pre_pwr_change() 1258 ret = ufshcd_negotiate_pwr_params(&host_params, dev_max_params, dev_req_params); in ufs_mtk_pre_pwr_change()
|
| A D | ufs-exynos.c | 826 struct ufs_host_params host_params; in exynos_ufs_pre_pwr_mode() local 835 ufshcd_init_host_params(&host_params); in exynos_ufs_pre_pwr_mode() 838 host_params.hs_tx_gear = exynos_ufs_get_hs_gear(hba); in exynos_ufs_pre_pwr_mode() 839 host_params.hs_rx_gear = exynos_ufs_get_hs_gear(hba); in exynos_ufs_pre_pwr_mode() 841 ret = ufshcd_negotiate_pwr_params(&host_params, dev_max_params, dev_req_params); in exynos_ufs_pre_pwr_mode()
|
Completed in 20 milliseconds