Searched refs:s_scale (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgk20a.c61 * cvb_mv = ((c2 * speedo / s_scale + c1) * speedo / s_scale + c0)
64 gk20a_volt_get_cvb_voltage(int speedo, int s_scale, const struct cvb_coef *coef) gk20a_volt_get_cvb_voltage() argument
68 mv = DIV_ROUND_CLOSEST(coef->c2 * speedo, s_scale); gk20a_volt_get_cvb_voltage()
69 mv = DIV_ROUND_CLOSEST((mv + coef->c1) * speedo, s_scale) + coef->c0; gk20a_volt_get_cvb_voltage()
75 * ((c2 * speedo / s_scale + c1) * speedo / s_scale + c0) +
76 * ((c3 * speedo / s_scale + c4 + c5 * T / t_scale) * T / t_scale)
79 gk20a_volt_get_cvb_t_voltage(int speedo, int temp, int s_scale, int t_scale, gk20a_volt_get_cvb_t_voltage() argument
84 cvb_mv = gk20a_volt_get_cvb_voltage(speedo, s_scale, coef); gk20a_volt_get_cvb_t_voltage()
86 mv = DIV_ROUND_CLOSEST(coef->c3 * speedo, s_scale) + coef->c4 + gk20a_volt_get_cvb_t_voltage()

Completed in 83 milliseconds