Searched refs:sensor_val (Results 1 – 4 of 4) sorted by relevance
168 if (ad714x->sensor_val[i] > max_res) { in ad714x_cal_highest_stage()169 max_res = ad714x->sensor_val[i]; in ad714x_cal_highest_stage()184 a_param = ad714x->sensor_val[start_stage + 1]; in ad714x_cal_abs_pos()185 b_param = ad714x->sensor_val[start_stage] + in ad714x_cal_abs_pos()186 ad714x->sensor_val[start_stage + 1]; in ad714x_cal_abs_pos()188 a_param = ad714x->sensor_val[end_stage] * in ad714x_cal_abs_pos()190 ad714x->sensor_val[end_stage - 1] * in ad714x_cal_abs_pos()192 b_param = ad714x->sensor_val[end_stage] + in ad714x_cal_abs_pos()193 ad714x->sensor_val[end_stage - 1]; in ad714x_cal_abs_pos()195 a_param = ad714x->sensor_val[highest_stage] * in ad714x_cal_abs_pos()[all …]
29 unsigned short sensor_val[STAGE_NUM]; member
169 static inline u32 max31785_scale_pwm(u32 sensor_val) in max31785_scale_pwm() argument187 return (sensor_val * 100) / 255; in max31785_scale_pwm()
196 struct sensor_val { struct204 static const struct sensor_val cfg[] = { in stk1135_configure_mt9m112() argument