• Home
  • Raw
  • Download

Lines Matching refs:t_calc

567 				    struct rk3x_i2c_calced_timings *t_calc)  in rk3x_i2c_v0_calc_timings()  argument
658 t_calc->div_low = min_low_div; in rk3x_i2c_v0_calc_timings()
659 t_calc->div_high = min_high_div; in rk3x_i2c_v0_calc_timings()
688 t_calc->div_low = ideal_low_div; in rk3x_i2c_v0_calc_timings()
689 t_calc->div_high = min_high_div + (extra_div - extra_low_div); in rk3x_i2c_v0_calc_timings()
696 t_calc->div_low--; in rk3x_i2c_v0_calc_timings()
697 t_calc->div_high--; in rk3x_i2c_v0_calc_timings()
700 t_calc->tuning = 0; in rk3x_i2c_v0_calc_timings()
702 if (t_calc->div_low > 0xffff) { in rk3x_i2c_v0_calc_timings()
703 t_calc->div_low = 0xffff; in rk3x_i2c_v0_calc_timings()
707 if (t_calc->div_high > 0xffff) { in rk3x_i2c_v0_calc_timings()
708 t_calc->div_high = 0xffff; in rk3x_i2c_v0_calc_timings()
746 struct rk3x_i2c_calced_timings *t_calc) in rk3x_i2c_v1_calc_timings() argument
809 t_calc->div_low = min_low_div; in rk3x_i2c_v1_calc_timings()
810 t_calc->div_high = min_high_div; in rk3x_i2c_v1_calc_timings()
823 t_calc->div_low = min_low_div + extra_low_div; in rk3x_i2c_v1_calc_timings()
824 t_calc->div_high = min_high_div + (extra_div - extra_low_div); in rk3x_i2c_v1_calc_timings()
833 * (t_calc->div_low) + 1) in rk3x_i2c_v1_calc_timings()
836 * (t_calc->div_low) + 1) in rk3x_i2c_v1_calc_timings()
846 - 1000000, 8 * 1000000 * (t_calc->div_high)); in rk3x_i2c_v1_calc_timings()
851 - 1000000, 8 * 1000000 * (t_calc->div_high)); in rk3x_i2c_v1_calc_timings()
853 t_calc->tuning = REG_CON_SDA_CFG(--sda_update_cfg) | in rk3x_i2c_v1_calc_timings()
857 t_calc->div_low--; in rk3x_i2c_v1_calc_timings()
858 t_calc->div_high--; in rk3x_i2c_v1_calc_timings()
861 if (t_calc->div_low > 0xffff) { in rk3x_i2c_v1_calc_timings()
862 t_calc->div_low = 0xffff; in rk3x_i2c_v1_calc_timings()
866 if (t_calc->div_high > 0xffff) { in rk3x_i2c_v1_calc_timings()
867 t_calc->div_high = 0xffff; in rk3x_i2c_v1_calc_timings()