Lines Matching refs:normalized
277 u16 normalized; in setggain() local
279 normalized = gainify(global_gain); in setggain()
282 normalized, global_gain); in setggain()
284 reg_w(gspca_dev, normalized, REG_GREEN1_GAIN); in setggain()
285 reg_w(gspca_dev, normalized, REG_GREEN2_GAIN); in setggain()
291 u16 normalized; in setbgain() local
293 normalized = global_gain + in setbgain()
295 if (normalized > GAIN_MAX) { in setbgain()
297 GAIN_MAX, normalized); in setbgain()
298 normalized = GAIN_MAX; in setbgain()
300 normalized = gainify(normalized); in setbgain()
302 REG_BLUE_GAIN, normalized, gain); in setbgain()
304 reg_w(gspca_dev, normalized, REG_BLUE_GAIN); in setbgain()
310 u16 normalized; in setrgain() local
312 normalized = global_gain + in setrgain()
314 if (normalized > GAIN_MAX) { in setrgain()
316 GAIN_MAX, normalized); in setrgain()
317 normalized = GAIN_MAX; in setrgain()
319 normalized = gainify(normalized); in setrgain()
321 REG_RED_GAIN, normalized, gain); in setrgain()
323 reg_w(gspca_dev, normalized, REG_RED_GAIN); in setrgain()