Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/ufs/host/
Dufs-qcom.c691 struct ufs_pa_layer_attr *p = &host->dev_req_params; in ufs_qcom_get_bw_table()
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()
740 ret = ufshcd_negotiate_pwr_params(host_params, dev_max_params, 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()
777 if (ufs_qcom_cfg_timers(hba, dev_req_params->gear_rx, in ufs_qcom_pwr_change_notify()
778 dev_req_params->pwr_rx, in ufs_qcom_pwr_change_notify()
[all …]
Dufs-mediatek.c1064 struct ufs_pa_layer_attr *dev_req_params) in ufs_mtk_pmc_via_fastauto() argument
1069 if (dev_req_params->hs_rate == hba->pwr_info.hs_rate) in ufs_mtk_pmc_via_fastauto()
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
1095 ret = ufshcd_negotiate_pwr_params(&host_params, dev_max_params, dev_req_params); in ufs_mtk_pre_pwr_change()
1101 if (ufs_mtk_pmc_via_fastauto(hba, dev_req_params)) { in ufs_mtk_pre_pwr_change()
1109 dev_req_params->lane_tx); in ufs_mtk_pre_pwr_change()
[all …]
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()
Dufshcd-pci.c161 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()
Dufs-exynos.c776 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 …]
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()
381 ret = ufshcd_negotiate_pwr_params(&host_params, dev_max_params, dev_req_params); in ufs_hisi_pwr_change_notify()
Dufs-qcom.h188 struct ufs_pa_layer_attr dev_req_params; member
Dufs-exynos.h228 struct ufs_pa_layer_attr dev_req_params; member
/linux-6.12.1/drivers/ufs/core/
Dufshcd-priv.h163 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()