Searched refs:in_min (Results 1 – 3 of 3) sorted by relevance
121 int16_t in_range = cal->in_max - cal->in_min; in analog_axis_out_deadzone()123 int16_t in_mid = DIV_ROUND_CLOSEST(cal->in_min + cal->in_max, 2); in analog_axis_out_deadzone()124 int16_t in_min = cal->in_min; in analog_axis_out_deadzone() local131 in_min += cal->in_deadzone; in analog_axis_out_deadzone()138 return DIV_ROUND_CLOSEST((raw_val - in_min) * out_range, in_range) + axis_cfg->out_min; in analog_axis_out_deadzone()149 int16_t in_range = cal->in_max - cal->in_min; in analog_axis_out_linear()152 return DIV_ROUND_CLOSEST((raw_val - cal->in_min) * out_range, in_range) + axis_cfg->out_min; in analog_axis_out_linear()341 .in_min = (int16_t)DT_PROP(node_id, in_min), \
30 dev->name, i, cal.in_min, cal.in_max, cal.in_deadzone); in analog_axis_calibration_log()
29 int16_t in_min; member