Home
last modified time | relevance | path

Searched refs:pwr_rx (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/ufs/host/
H A Dufshcd-pltfrm.c355 if (dev_max->pwr_rx == FAST_MODE) in ufshcd_negotiate_pwr_params()
382 agreed_pwr->pwr_rx = host_params->rx_pwr_hs; in ufshcd_negotiate_pwr_params()
383 agreed_pwr->pwr_tx = agreed_pwr->pwr_rx; in ufshcd_negotiate_pwr_params()
391 agreed_pwr->pwr_rx = host_params->rx_pwr_pwm; in ufshcd_negotiate_pwr_params()
392 agreed_pwr->pwr_tx = agreed_pwr->pwr_rx; in ufshcd_negotiate_pwr_params()
H A Dufs-amd-versal2.c459 dev_req_params->pwr_rx = SLOW_MODE; in ufs_versal2_pwr_change_notify()
464 if (dev_req_params->pwr_rx == SLOW_MODE || dev_req_params->pwr_rx == SLOWAUTO_MODE) in ufs_versal2_pwr_change_notify()
H A Dufs-mediatek.c1333 if (dev_req_params->pwr_rx != FAST_MODE && in ufs_mtk_pmc_via_fastauto()
1338 dev_req_params->pwr_rx == SLOW_MODE) in ufs_mtk_pmc_via_fastauto()
1386 if (dev_max_params->pwr_rx == SLOW_MODE || in ufs_mtk_pre_pwr_change()
1451 dev_req_params->pwr_rx == hba->pwr_info.pwr_rx && in ufs_mtk_pre_pwr_change()
1457 if (dev_req_params->pwr_rx == FAST_MODE || in ufs_mtk_pre_pwr_change()
1458 dev_req_params->pwr_rx == FASTAUTO_MODE) { in ufs_mtk_pre_pwr_change()
/linux/include/ufs/
H A Dufshcd.h280 u32 pwr_rx; member
1416 return (pwr_info->pwr_rx == FAST_MODE || in ufshcd_is_hs_mode()
1417 pwr_info->pwr_rx == FASTAUTO_MODE) && in ufshcd_is_hs_mode()
/linux/drivers/ufs/core/
H A Dufshcd.c738 names[hba->pwr_info.pwr_rx], in ufshcd_print_pwr_info()
4244 orig_pwr_info.pwr_rx == FAST_MODE) { in ufshcd_dme_get_attr()
4246 temp_pwr_info.pwr_rx = FASTAUTO_MODE; in ufshcd_dme_get_attr()
4249 orig_pwr_info.pwr_rx == SLOW_MODE) { in ufshcd_dme_get_attr()
4251 temp_pwr_info.pwr_rx = SLOWAUTO_MODE; in ufshcd_dme_get_attr()
4576 hba->pwr_info.pwr_rx = SLOWAUTO_MODE; in ufshcd_init_pwr_info()
4596 pwr_info->pwr_rx = FASTAUTO_MODE; in ufshcd_get_max_pwr_mode()
4599 pwr_info->pwr_rx = FAST_MODE; in ufshcd_get_max_pwr_mode()
4639 pwr_info->pwr_rx = SLOW_MODE; in ufshcd_get_max_pwr_mode()
4670 pwr_mode->pwr_rx == hba->pwr_info.pwr_rx && in ufshcd_change_power_mode()
[all …]
H A Dufs-sysfs.c990 return sysfs_emit(buf, "%s\n", ufs_pa_pwr_mode_to_string(hba->pwr_info.pwr_rx)); in mode_show()