Searched refs:ctrl_range (Results 1 – 1 of 1) sorted by relevance
47 int ctrl_range = (ctrl->maximum - ctrl->minimum) / ctrl->step; in autogain_adjust() local53 if (accel && abs(steps) >= 3 && ctrl_range > 256) in autogain_adjust()54 *value += steps * ctrl->step * (ctrl_range / 256); in autogain_adjust()57 else if (accel && ctrl_range > 1024) in autogain_adjust()58 *value += steps * ctrl->step * (ctrl_range / 1024); in autogain_adjust()