Lines Matching full:thresh
130 unsigned int reg, rreg, mask, thresh; member
157 int min, int thresh, in tda7419_vol_get_value() argument
161 if (val < thresh) { in tda7419_vol_get_value()
164 } else if (val > thresh) { in tda7419_vol_get_value()
166 val = val - thresh; in tda7419_vol_get_value()
168 val = thresh - val; in tda7419_vol_get_value()
187 int thresh = tvc->thresh; in tda7419_vol_get() local
193 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get()
198 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get()
204 static inline int tda7419_vol_put_value(int val, int thresh, in tda7419_vol_put_value() argument
211 val = thresh - val; in tda7419_vol_put_value()
213 val += thresh; in tda7419_vol_put_value()
229 int thresh = tvc->thresh; in tda7419_vol_put() local
235 thresh, invert); in tda7419_vol_put()
243 thresh, invert); in tda7419_vol_put()
254 .max = xmax, .thresh = xthresh, .invert = xinvert})
260 .max = xmax, .thresh = xthresh, .invert = xinvert})