Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufshcd-pltfrm.c350 min_dev_gear = min_t(u32, dev_max->gear_rx, dev_max->gear_tx); in ufshcd_get_pwr_dev_param()
362 agreed_pwr->gear_rx = in ufshcd_get_pwr_dev_param()
365 agreed_pwr->gear_rx = min_dev_gear; in ufshcd_get_pwr_dev_param()
367 agreed_pwr->gear_rx = min_pltfrm_gear; in ufshcd_get_pwr_dev_param()
369 agreed_pwr->gear_tx = agreed_pwr->gear_rx; in ufshcd_get_pwr_dev_param()
Dufshcd.c562 hba->pwr_info.gear_rx, hba->pwr_info.gear_tx, in ufshcd_print_pwr_info()
1120 || hba->pwr_info.gear_rx > UFS_MIN_GEAR_TO_SCALE_DOWN) { in ufshcd_scale_gear()
1128 new_pwr_info.gear_rx = UFS_MIN_GEAR_TO_SCALE_DOWN; in ufshcd_scale_gear()
1137 hba->pwr_info.gear_tx, hba->pwr_info.gear_rx, in ufshcd_scale_gear()
1138 new_pwr_info.gear_tx, new_pwr_info.gear_rx); in ufshcd_scale_gear()
4038 hba->pwr_info.gear_rx = UFS_PWM_G1; in ufshcd_init_pwr_info()
4081 ufshcd_dme_get(hba, UIC_ARG_MIB(PA_MAXRXHSGEAR), &pwr_info->gear_rx); in ufshcd_get_max_pwr_mode()
4082 if (!pwr_info->gear_rx) { in ufshcd_get_max_pwr_mode()
4084 &pwr_info->gear_rx); in ufshcd_get_max_pwr_mode()
4085 if (!pwr_info->gear_rx) { in ufshcd_get_max_pwr_mode()
[all …]
Dufs-qcom.c759 if (ufs_qcom_cfg_timers(hba, dev_req_params->gear_rx, in ufs_qcom_pwr_change_notify()
1231 dev_req_params->gear_rx, in ufs_qcom_clk_scale_notify()
Dufs-exynos.c575 u8 g = max_t(u32, pwr->gear_rx, pwr->gear_tx); in exynos_ufs_config_sync_pattern_mask()
673 int gear = max_t(u32, pwr_req->gear_rx, pwr_req->gear_tx); in exynos_ufs_post_pwr_mode()
Dufshcd.h253 u32 gear_rx; member
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch355031 + mode = 8 - pmp->gear_rx * 2 - pmp->hs_rate; /* mode[8 - gear * 2 - rate] */
355331 + ufshcd_dme_set_attr(hba, 0x15830000, 0x0, pwr_mode->gear_rx, DME_LOCAL);
355406 + mode = 8 - pmp->gear_rx * 2 - pmp->hs_rate; /* mode[8 - gear * 2 - rate] */
355409 + if (pmp->gear_rx == UFS_PWM_G1) {
355412 + } else if (pmp->gear_rx == UFS_PWM_G2) {
355415 + } else if (pmp->gear_rx == UFS_PWM_G3) {
355418 + } else if (pmp->gear_rx == UFS_PWM_G4) {
355495 + dev_req_params->gear_rx = hba->hc_gear;