Home
last modified time | relevance | path

Searched refs:dev_req_params (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/ufs/host/
Dufs-qcom.c858 struct ufs_pa_layer_attr *p = &host->dev_req_params; in ufs_qcom_get_bw_table()
884 struct ufs_pa_layer_attr *dev_req_params) in ufs_qcom_pwr_change_notify() argument
890 if (!dev_req_params) { in ufs_qcom_pwr_change_notify()
905 dev_req_params); in ufs_qcom_pwr_change_notify()
913 host->hs_gear = dev_req_params->gear_tx; in ufs_qcom_pwr_change_notify()
917 ufshcd_is_hs_mode(dev_req_params)) in ufs_qcom_pwr_change_notify()
922 dev_req_params->gear_tx, in ufs_qcom_pwr_change_notify()
927 if (ufs_qcom_cfg_timers(hba, dev_req_params->gear_rx, in ufs_qcom_pwr_change_notify()
928 dev_req_params->pwr_rx, in ufs_qcom_pwr_change_notify()
929 dev_req_params->hs_rate, false)) { in ufs_qcom_pwr_change_notify()
[all …]
Dufs-mediatek.c975 struct ufs_pa_layer_attr *dev_req_params) in ufs_mtk_pmc_via_fastauto() argument
980 if (dev_req_params->hs_rate == hba->pwr_info.hs_rate) in ufs_mtk_pmc_via_fastauto()
983 if (dev_req_params->pwr_tx != FAST_MODE && in ufs_mtk_pmc_via_fastauto()
984 dev_req_params->gear_tx < UFS_HS_G4) in ufs_mtk_pmc_via_fastauto()
987 if (dev_req_params->pwr_rx != FAST_MODE && in ufs_mtk_pmc_via_fastauto()
988 dev_req_params->gear_rx < UFS_HS_G4) in ufs_mtk_pmc_via_fastauto()
996 struct ufs_pa_layer_attr *dev_req_params) in ufs_mtk_pre_pwr_change() argument
1008 dev_req_params); in ufs_mtk_pre_pwr_change()
1014 if (ufs_mtk_pmc_via_fastauto(hba, dev_req_params)) { in ufs_mtk_pre_pwr_change()
1022 dev_req_params->lane_tx); in ufs_mtk_pre_pwr_change()
[all …]
Dufs-exynos.c764 struct ufs_pa_layer_attr *dev_req_params) in exynos_ufs_pre_pwr_mode() argument
771 if (!dev_req_params) { in exynos_ufs_pre_pwr_mode()
780 dev_max_params, dev_req_params); in exynos_ufs_pre_pwr_mode()
787 ufs->drv_data->pre_pwr_change(ufs, dev_req_params); in exynos_ufs_pre_pwr_mode()
789 if (ufshcd_is_hs_mode(dev_req_params)) { in exynos_ufs_pre_pwr_mode()
790 exynos_ufs_config_sync_pattern_mask(ufs, dev_req_params); in exynos_ufs_pre_pwr_mode()
792 switch (dev_req_params->hs_rate) { in exynos_ufs_pre_pwr_mode()
1272 if (ufshcd_is_hs_mode(&ufs->dev_req_params)) in exynos_ufs_post_hibern8()
1356 struct ufs_pa_layer_attr *dev_req_params) in exynos_ufs_pwr_change_notify() argument
1363 dev_req_params); in exynos_ufs_pwr_change_notify()
[all …]
Dufshcd-pci.c158 struct ufs_pa_layer_attr *dev_req_params) in ufs_intel_lkf_pwr_change_notify() argument
167 memcpy(dev_req_params, dev_max_params, sizeof(*dev_req_params)); in ufs_intel_lkf_pwr_change_notify()
170 if (ufshcd_is_hs_mode(dev_req_params)) { in ufs_intel_lkf_pwr_change_notify()
Dufs-sprd.c165 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()
Dufs-hisi.c366 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()
382 dev_max_params, dev_req_params); in ufs_hisi_pwr_change_notify()
Dufs-qcom.h202 struct ufs_pa_layer_attr dev_req_params; member
Dufs-exynos.h210 struct ufs_pa_layer_attr dev_req_params; member
/Linux-v6.6/drivers/ufs/core/
Dufshcd-priv.h168 struct ufs_pa_layer_attr *dev_req_params) in ufshcd_vops_pwr_change_notify() argument
172 dev_max_params, dev_req_params); in ufshcd_vops_pwr_change_notify()