Lines Matching full:gear

406 	 * If the HS-G5 PHY gear is used, update host_params->hs_rate to Rate-A,  in ufs_qcom_power_up_sequence()
512 * @gear: Current operating gear
519 static int ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear, in ufs_qcom_cfg_timers() argument
537 if (gear == 0) { in ufs_qcom_cfg_timers()
538 dev_err(hba->dev, "%s: invalid gear = %d\n", __func__, gear); in ufs_qcom_cfg_timers()
749 int gear = max_t(u32, p->gear_rx, p->gear_tx); in ufs_qcom_get_bw_table() local
752 if (WARN_ONCE(gear > QCOM_UFS_MAX_GEAR, in ufs_qcom_get_bw_table()
753 "ICC scaling for UFS Gear (%d) not supported. Using Gear (%d) bandwidth\n", in ufs_qcom_get_bw_table()
754 gear, QCOM_UFS_MAX_GEAR)) in ufs_qcom_get_bw_table()
755 gear = QCOM_UFS_MAX_GEAR; in ufs_qcom_get_bw_table()
764 return ufs_qcom_bw_table[MODE_HS_RB][gear][lane]; in ufs_qcom_get_bw_table()
766 return ufs_qcom_bw_table[MODE_HS_RA][gear][lane]; in ufs_qcom_get_bw_table()
768 return ufs_qcom_bw_table[MODE_PWM][gear][lane]; in ufs_qcom_get_bw_table()
805 * During UFS driver probe, always update the PHY gear to match the negotiated in ufs_qcom_pwr_change_notify()
806 * gear, so that, if quirk UFSHCD_QUIRK_REINIT_AFTER_MAX_GEAR_SWITCH is enabled, in ufs_qcom_pwr_change_notify()
808 * the first init with either the minimum or the maximum support gear. in ufs_qcom_pwr_change_notify()
812 * Skip REINIT if the negotiated gear matches with the in ufs_qcom_pwr_change_notify()
814 * program the optimal gear setting during REINIT. in ufs_qcom_pwr_change_notify()
945 * Default to powering up the PHY to the max gear possible, which is in ufs_qcom_set_phy_gear()
948 * gear is lower a reinit will be performed to program the PHY in ufs_qcom_set_phy_gear()
949 * to the ideal gear for this combo of controller and device. in ufs_qcom_set_phy_gear()
957 * gear, UFS_HS_G2). in ufs_qcom_set_phy_gear()
966 * REINIT quirk as the negotiated gear won't change during boot. in ufs_qcom_set_phy_gear()
974 * PHY gear to save power. in ufs_qcom_set_phy_gear()
988 /* This driver only supports symmetic gear setting i.e., hs_tx_gear == hs_rx_gear */ in ufs_qcom_set_host_params()