Home
last modified time | relevance | path

Searched refs:host_params (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/ufs/host/
H A Dufs-qcom.c490 struct ufs_host_params *host_params = &host->host_params; in ufs_qcom_power_up_sequence() local
501 host_params->hs_rate = PA_HS_MODE_A; in ufs_qcom_power_up_sequence()
503 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()
926 struct ufs_host_params *host_params = &host->host_params; in ufs_qcom_pwr_change_notify() local
936 ret = ufshcd_negotiate_pwr_params(host_params, dev_max_params, dev_req_params); in ufs_qcom_pwr_change_notify()
1086 struct ufs_host_params *host_params = &host->host_params; in ufs_qcom_set_phy_gear() local
1096 host->phy_gear = host_params->hs_tx_gear; in ufs_qcom_set_phy_gear()
1129 struct ufs_host_params *host_params = &host->host_params; in ufs_qcom_parse_gear_limits() local
1130 u32 hs_gear_old = host_params->hs_tx_gear; in ufs_qcom_parse_gear_limits()
1132 ufshcd_parse_gear_limits(hba, host_params); in ufs_qcom_parse_gear_limits()
[all …]
H A Dufs-hisi.c296 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()
H A Dufs-mediatek.c1379 struct ufs_host_params host_params; in ufs_mtk_pre_pwr_change() local
1382 ufshcd_init_host_params(&host_params); in ufs_mtk_pre_pwr_change()
1383 host_params.hs_rx_gear = UFS_HS_G5; in ufs_mtk_pre_pwr_change()
1384 host_params.hs_tx_gear = UFS_HS_G5; in ufs_mtk_pre_pwr_change()
1388 host_params.desired_working_mode = UFS_PWM_MODE; in ufs_mtk_pre_pwr_change()
1390 ret = ufshcd_negotiate_pwr_params(&host_params, dev_max_params, dev_req_params); in ufs_mtk_pre_pwr_change()