Searched refs:out_min (Results 1 – 1 of 1) sorted by relevance
25 int16_t out_min; member122 int16_t out_range = axis_cfg->out_max - axis_cfg->out_min; in analog_axis_out_deadzone()127 return DIV_ROUND_CLOSEST(axis_cfg->out_max + axis_cfg->out_min, 2); 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()150 int16_t out_range = axis_cfg->out_max - axis_cfg->out_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()207 out = CLAMP(out, axis_cfg->out_min, axis_cfg->out_max); in analog_axis_loop()332 .out_min = (int16_t)DT_PROP(node_id, out_min), \