Lines Matching refs:gear
394 static int ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear, in ufs_qcom_cfg_timers() argument
434 if (gear == 0) { in ufs_qcom_cfg_timers()
435 dev_err(hba->dev, "%s: invalid gear = %d\n", __func__, gear); in ufs_qcom_cfg_timers()
469 if (gear > ARRAY_SIZE(hs_fr_table_rA)) { in ufs_qcom_cfg_timers()
472 __func__, gear, in ufs_qcom_cfg_timers()
476 tx_clk_cycles_per_us = hs_fr_table_rA[gear-1][1]; in ufs_qcom_cfg_timers()
478 if (gear > ARRAY_SIZE(hs_fr_table_rB)) { in ufs_qcom_cfg_timers()
481 __func__, gear, in ufs_qcom_cfg_timers()
485 tx_clk_cycles_per_us = hs_fr_table_rB[gear-1][1]; in ufs_qcom_cfg_timers()
494 if (gear > ARRAY_SIZE(pwm_fr_table)) { in ufs_qcom_cfg_timers()
497 __func__, gear, in ufs_qcom_cfg_timers()
501 tx_clk_cycles_per_us = pwm_fr_table[gear-1][1]; in ufs_qcom_cfg_timers()