Lines Matching full:speedo
49 * cvb_mv = ((c2 * speedo / s_scale + c1) * speedo / s_scale + c0)
52 gk20a_volt_get_cvb_voltage(int speedo, int s_scale, const struct cvb_coef *coef) in gk20a_volt_get_cvb_voltage() argument
56 mv = DIV_ROUND_CLOSEST(coef->c2 * speedo, s_scale); in gk20a_volt_get_cvb_voltage()
57 mv = DIV_ROUND_CLOSEST((mv + coef->c1) * speedo, s_scale) + coef->c0; in gk20a_volt_get_cvb_voltage()
63 * ((c2 * speedo / s_scale + c1) * speedo / s_scale + c0) +
64 * ((c3 * speedo / s_scale + c4 + c5 * T / t_scale) * T / t_scale)
67 gk20a_volt_get_cvb_t_voltage(int speedo, int temp, int s_scale, int t_scale, in gk20a_volt_get_cvb_t_voltage() argument
72 cvb_mv = gk20a_volt_get_cvb_voltage(speedo, s_scale, coef); in gk20a_volt_get_cvb_t_voltage()
74 mv = DIV_ROUND_CLOSEST(coef->c3 * speedo, s_scale) + coef->c4 + in gk20a_volt_get_cvb_t_voltage()
81 gk20a_volt_calc_voltage(const struct cvb_coef *coef, int speedo) in gk20a_volt_calc_voltage() argument
86 mv = gk20a_volt_get_cvb_t_voltage(speedo, -10, 100, 10, coef); in gk20a_volt_calc_voltage()