Searched refs:GAIN (Results 1 - 14 of 14) sorted by relevance

/drivers/media/video/gspca/
H A Dautogain_functions.h38 orig_gain = gain = sd->ctrls[GAIN].val;
54 else if (gain > sd->ctrls[GAIN].def)
58 else if (gain > sd->ctrls[GAIN].min)
63 if (gain < sd->ctrls[GAIN].def)
71 else if (gain < sd->ctrls[GAIN].max)
79 sd->ctrls[GAIN].val = gain;
121 orig_gain = gain = sd->ctrls[GAIN].val;
124 gain_low = (sd->ctrls[GAIN].max - sd->ctrls[GAIN].min) / 5 * 2;
125 gain_low += sd->ctrls[GAIN]
[all...]
H A Dvicam.c45 GAIN, enumerator in enum:e_ctrl
87 [GAIN] = {
151 req_data[0] = sd->ctrls[GAIN].val;
H A Dsonixb.c62 GAIN, enumerator in enum:e_ctrl
170 [GAIN] = {
668 u8 gain = sd->ctrls[GAIN].val;
773 gain = sd->ctrls[GAIN].val >> 1;
779 gain = sd->ctrls[GAIN].val >> 4;
1044 (int) sd->ctrls[GAIN].val,
1068 gspca_dev->ctrl_inac = (1 << GAIN) | (1 << EXPOSURE);
1403 sd->ctrls[GAIN].val = sd->ctrls[GAIN].def;
1412 gspca_dev->ctrl_inac = (1 << GAIN) | (
[all...]
H A Dse401.c51 GAIN, enumerator in enum:e_ctrl
97 [GAIN] = {
242 u16 gain = 63 - sd->ctrls[GAIN].val;
H A Dpac7302.c84 GAIN, enumerator in enum:e_ctrl
195 [GAIN] = {
595 reg_w(gspca_dev, 0x10, sd->ctrls[GAIN].val >> 3);
652 sd->ctrls[GAIN].val = GAIN_DEF;
H A Dsn9c20x.c80 GAIN, enumerator in enum:e_ctrl
298 [GAIN] = {
1383 | (1 << GAIN);
1426 | (1 << GAIN);
1440 | (1 << GAIN);
1685 g = sd->ctrls[GAIN].val;
2203 if (sd->ctrls[GAIN].val + 1 <= 28) {
2204 sd->ctrls[GAIN].val++;
2209 if (sd->ctrls[GAIN].val > 0) {
2210 sd->ctrls[GAIN]
[all...]
H A Dov534.c58 GAIN, enumerator in enum:e_ctrl
130 [GAIN] = {
993 val = sd->ctrls[GAIN].val;
1228 gspca_dev->ctrl_dis = (1 << GAIN) |
1309 if (!(gspca_dev->ctrl_dis & (1 << GAIN)))
H A Dsonixj.c44 GAIN, enumerator in enum:e_ctrl
244 [GAIN] = {
323 (1 << GAIN) |
329 (1 << GAIN) |
335 (1 << GAIN) |
340 (1 << GAIN) |
346 (1 << GAIN) |
352 (1 << GAIN) |
358 (1 << GAIN) |
364 (1 << GAIN) |
[all...]
H A Dnw80x.c37 GAIN, enumerator in enum:e_ctrl
1675 val = sd->ctrls[GAIN].val;
1843 sd->ctrls[GAIN].def = 255 / 5 * 2;
1848 gspca_dev->ctrl_dis = (1 << GAIN) | (1 << AUTOGAIN);
1855 gspca_dev->ctrl_dis = (1 << GAIN) | (1 << EXPOSURE)
1862 gspca_dev->ctrl_inac = (1 << GAIN) | (1 << EXPOSURE);
1996 gspca_dev->ctrl_inac = (1 << GAIN) | (1 << EXPOSURE);
2035 [GAIN] = {
H A Dtopro.c128 GAIN, enumerator in enum:e_ctrl
1430 sd->ctrls[GAIN].val >> 8);
1431 i2c_w(gspca_dev, CX0342_RAW_GBGAIN_L, sd->ctrls[GAIN].val);
1434 sd->ctrls[GAIN].val >> 8);
1435 i2c_w(gspca_dev, CX0342_RAW_GRGAIN_L, sd->ctrls[GAIN].val);
1454 sd->ctrls[GAIN].val);
3894 gspca_dev->ctrl_inac |= (1 << EXPOSURE) | (1 << GAIN);
3897 gspca_dev->ctrl_inac &= ~((1 << EXPOSURE) | (1 << GAIN));
4004 * val / sd->ctrls[GAIN].val;
4008 * val / sd->ctrls[GAIN]
[all...]
/drivers/media/video/gspca/stv06xx/
H A Dstv06xx_st6422.c37 GAIN, enumerator in enum:e_ctrl
107 [GAIN] = {
272 gain = sensor_settings->ctrls[GAIN].val;
/drivers/staging/comedi/drivers/
H A Ddas6402.c87 #define GAIN 0x01 macro
273 b = BIP | SEM | MODE | GAIN | FIFOHFULL;
/drivers/media/video/
H A Dov2640.c157 #define GAIN 0x00 /* AGC - Gain control gain setting */ macro
H A Dov772x.c35 #define GAIN 0x00 /* AGC - Gain control gain setting */ macro

Completed in 151 milliseconds