Searched refs:dev_req_params (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/ufs/host/ |
H A D | ufs-qcom.c | 727 struct ufs_pa_layer_attr *dev_req_params) in ufs_qcom_pwr_change_notify() argument 733 if (!dev_req_params) { in ufs_qcom_pwr_change_notify() 759 if (host->phy_gear == dev_req_params->gear_tx) in ufs_qcom_pwr_change_notify() 762 host->phy_gear = dev_req_params->gear_tx; in ufs_qcom_pwr_change_notify() 767 ufshcd_is_hs_mode(dev_req_params)) in ufs_qcom_pwr_change_notify() 772 dev_req_params->gear_tx, in ufs_qcom_pwr_change_notify() 778 dev_req_params->pwr_rx, in ufs_qcom_pwr_change_notify() 779 dev_req_params->hs_rate, false, false)) { in ufs_qcom_pwr_change_notify() 791 memcpy(&host->dev_req_params, in ufs_qcom_pwr_change_notify() 792 dev_req_params, sizeof(*dev_req_params)); in ufs_qcom_pwr_change_notify() [all …]
|
H A D | ufs-mediatek.c | 1064 struct ufs_pa_layer_attr *dev_req_params) in ufs_mtk_pmc_via_fastauto() argument 1072 if (dev_req_params->pwr_tx != FAST_MODE && in ufs_mtk_pmc_via_fastauto() 1073 dev_req_params->gear_tx < UFS_HS_G4) in ufs_mtk_pmc_via_fastauto() 1076 if (dev_req_params->pwr_rx != FAST_MODE && in ufs_mtk_pmc_via_fastauto() 1077 dev_req_params->gear_rx < UFS_HS_G4) in ufs_mtk_pmc_via_fastauto() 1085 struct ufs_pa_layer_attr *dev_req_params) in ufs_mtk_pre_pwr_change() argument 1109 dev_req_params->lane_tx); in ufs_mtk_pre_pwr_change() 1111 dev_req_params->lane_rx); in ufs_mtk_pre_pwr_change() 1113 dev_req_params->hs_rate); in ufs_mtk_pre_pwr_change() 1129 dev_req_params->gear_tx, in ufs_mtk_pre_pwr_change() [all …]
|
H A D | ufs-sprd.c | 165 struct ufs_pa_layer_attr *dev_req_params) in sprd_ufs_pwr_change_notify() argument 170 memcpy(dev_req_params, dev_max_params, in sprd_ufs_pwr_change_notify() 173 ufshcd_dme_configure_adapt(hba, dev_req_params->gear_tx, in sprd_ufs_pwr_change_notify()
|
H A D | ufshcd-pci.c | 161 struct ufs_pa_layer_attr *dev_req_params) in ufs_intel_lkf_pwr_change_notify() argument 170 memcpy(dev_req_params, dev_max_params, sizeof(*dev_req_params)); in ufs_intel_lkf_pwr_change_notify() 173 if (ufshcd_is_hs_mode(dev_req_params)) { in ufs_intel_lkf_pwr_change_notify()
|
H A D | ufs-exynos.c | 776 struct ufs_pa_layer_attr *dev_req_params) in exynos_ufs_pre_pwr_mode() argument 783 if (!dev_req_params) { in exynos_ufs_pre_pwr_mode() 791 ret = ufshcd_negotiate_pwr_params(&host_params, dev_max_params, dev_req_params); in exynos_ufs_pre_pwr_mode() 798 ufs->drv_data->pre_pwr_change(ufs, dev_req_params); in exynos_ufs_pre_pwr_mode() 800 if (ufshcd_is_hs_mode(dev_req_params)) { in exynos_ufs_pre_pwr_mode() 801 exynos_ufs_config_sync_pattern_mask(ufs, dev_req_params); in exynos_ufs_pre_pwr_mode() 803 switch (dev_req_params->hs_rate) { in exynos_ufs_pre_pwr_mode() 1528 if (ufshcd_is_hs_mode(&ufs->dev_req_params)) in exynos_ufs_post_hibern8() 1612 struct ufs_pa_layer_attr *dev_req_params) in exynos_ufs_pwr_change_notify() argument 1619 dev_req_params); in exynos_ufs_pwr_change_notify() [all …]
|
H A D | ufs-hisi.c | 366 struct ufs_pa_layer_attr *dev_req_params) in ufs_hisi_pwr_change_notify() argument 371 if (!dev_req_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 D | ufs-qcom.h | 188 struct ufs_pa_layer_attr dev_req_params; member
|
H A D | ufs-exynos.h | 228 struct ufs_pa_layer_attr dev_req_params; member
|
/linux/drivers/ufs/core/ |
H A D | ufshcd-priv.h | 163 struct ufs_pa_layer_attr *dev_req_params) in ufshcd_vops_pwr_change_notify() argument 167 dev_max_params, dev_req_params); in ufshcd_vops_pwr_change_notify()
|