Lines Matching +full:0 +full:x68

54 #if 0 /* HDG: broken with my test cam, so lets disable it */
66 #if 0 /* HDG: broken with my test cam, so lets disable it */
77 .priv = 0},
94 0x09, 0x01, 0x12, 0x04, 0x66, 0x8a, 0x80, 0x3c,
95 0x81, 0x22, 0x84, 0x50, 0x8a, 0x78, 0x8b, 0x68,
96 0x8c, 0x88, 0x8e, 0x33, 0x8f, 0x24, 0xaa, 0xb1,
97 0xa2, 0x60, 0xa5, 0x30, 0xa6, 0x3a, 0xa8, 0xe8,
98 0xae, 0x05, 0xb1, 0x00, 0xbb, 0x04, 0xbc, 0x48,
99 0xbe, 0x36, 0xc6, 0x88, 0xe9, 0x00, 0xc5, 0xc0,
100 0x65, 0x0a, 0xbb, 0x86, 0xaf, 0x58, 0xb0, 0x68,
101 0x87, 0x40, 0x89, 0x2b, 0x8d, 0xff, 0x83, 0x40,
102 0xac, 0x84, 0xad, 0x86, 0xaf, 0x46
105 0x66, 0x00, 0x7f, 0x00, 0x80, 0xac, 0x81, 0x69,
106 0x84, 0x40, 0x85, 0x70, 0x86, 0x20, 0x8a, 0x68,
107 0x8b, 0x58, 0x8c, 0x88, 0x8d, 0xff, 0x8e, 0xb8,
108 0x8f, 0x28, 0xa2, 0x60, 0xa5, 0x40, 0xa8, 0xa8,
109 0xac, 0x84, 0xad, 0x84, 0xae, 0x24, 0xaf, 0x56,
110 0xb0, 0x68, 0xb1, 0x00, 0xb2, 0x88, 0xbb, 0xc5,
111 0xbc, 0x4a, 0xbe, 0x36, 0xc2, 0x88, 0xc5, 0xc0,
112 0xc6, 0xda, 0xe9, 0x26, 0xeb, 0x00
115 0x80, 0x3c, 0x81, 0x68, 0x83, 0xa0, 0x84, 0x20,
116 0x8a, 0x68, 0x8b, 0x58, 0x8c, 0x88, 0x8e, 0xb4,
117 0x8f, 0x24, 0xa1, 0xb1, 0xa2, 0x30, 0xa5, 0x10,
118 0xa6, 0x4a, 0xae, 0x03, 0xb1, 0x44, 0xb2, 0x08,
119 0xb7, 0x06, 0xb9, 0xe7, 0xbb, 0xc4, 0xbc, 0x4a,
120 0xbe, 0x36, 0xbf, 0xff, 0xc2, 0x88, 0xc5, 0xc8,
121 0xc6, 0xda
124 0x66, 0x01, 0x7f, 0x00, 0x80, 0x7c, 0x81, 0x28,
125 0x83, 0x44, 0x84, 0x20, 0x86, 0x20, 0x8a, 0x70,
126 0x8b, 0x58, 0x8c, 0x88, 0x8d, 0xa0, 0x8e, 0xb3,
127 0x8f, 0x24, 0xa1, 0xb0, 0xa2, 0x38, 0xa5, 0x20,
128 0xa6, 0x4a, 0xa8, 0xe8, 0xaf, 0x38, 0xb0, 0x68,
129 0xb1, 0x44, 0xb2, 0x88, 0xbb, 0x86, 0xbd, 0x40,
130 0xbe, 0x26, 0xc1, 0x05, 0xc2, 0x88, 0xc5, 0xc0,
131 0xda, 0x8e, 0xdb, 0xca, 0xdc, 0xa8, 0xdd, 0x8c,
132 0xde, 0x44, 0xdf, 0x0c, 0xe9, 0x80
138 {0x61, 0x68, 0x65, 0x0a, 0x60, 0x04},
141 .reg80 = 0x3c,
142 .reg8e = 0x33,
143 .nset8 = {0xa8, 0xf0, 0xc6, 0x88, 0xc0, 0x00},
145 {0xc2, 0x28, 0x0f, 0x22, 0xcd, 0x27, 0x2c, 0x06,
146 0xb3, 0xfc},
148 {0x80, 0xff, 0xff, 0x80, 0xff, 0xff, 0x80, 0xff,
149 0xff},
151 {0x80, 0xff, 0xff, 0x80, 0xff, 0xff, 0x80, 0xff,
152 0xff},
154 {0x0c, 0x03, 0xab, 0x13, 0x81, 0x23},
156 {0x0b, 0x04, 0x0a, 0x78},
160 {0x61, 0xc2, 0x65, 0x88, 0x60, 0x00},
163 .reg80 = 0xac,
164 .reg8e = 0xb8,
165 .nset8 = {0xa8, 0xa8, 0xc6, 0xda, 0xc0, 0x00},
167 {0xc1, 0x48, 0x04, 0x1b, 0xca, 0x2e, 0x33, 0x3a,
168 0xe8, 0xfc},
170 {0x4e, 0x9c, 0xec, 0x40, 0x80, 0xc0, 0x48, 0x96,
171 0xd9},
173 {0x4e, 0x9c, 0xec, 0x40, 0x80, 0xc0, 0x48, 0x96,
174 0xd9},
176 {0x0c, 0x03, 0xab, 0x29, 0x81, 0x69},
178 {0x0b, 0x04, 0x0a, 0x00},
182 {0x61, 0xc2, 0x65, 0x0d, 0x60, 0x08},
185 .reg80 = 0x3c,
186 .reg8e = 0xb4,
187 .nset8 = {0xa8, 0xf0, 0xc6, 0xda, 0xc0, 0x00},
189 {0xbb, 0x28, 0x10, 0x10, 0xbb, 0x28, 0x1e, 0x27,
190 0xc8, 0xfc},
192 {0x60, 0xa8, 0xe0, 0x60, 0xa8, 0xe0, 0x60, 0xa8,
193 0xe0},
195 {0x60, 0xa8, 0xe0, 0x60, 0xa8, 0xe0, 0x60, 0xa8,
196 0xe0},
198 {0x0c, 0x03, 0xab, 0x10, 0x81, 0x20},
200 {0x0b, 0x04, 0x0a, 0x40},
203 .n3 = {0x61, 0xc2, 0x65, 0x68, 0x60, 0x00},
206 .reg80 = 0x7c,
207 .reg8e = 0xb3,
208 .nset8 = {0xa8, 0xf0, 0xc6, 0xba, 0xc0, 0x00},
209 .data1 = {0xc0, 0x38, 0x08, 0x10, 0xc0, 0x30, 0x10, 0x40,
210 0xb0, 0xf4},
211 .data2 = {0x40, 0x80, 0xc0, 0x50, 0xa0, 0xf0, 0x53, 0xa6,
212 0xff},
213 .data3 = {0x40, 0x80, 0xc0, 0x50, 0xa0, 0xf0, 0x53, 0xa6,
214 0xff},
215 .data5 = {0x0c, 0x03, 0xab, 0x4b, 0x81, 0x2b},
216 .stream = {0x0b, 0x04, 0x0a, 0x28},
222 {0xa8, 0xe8, 0xc6, 0xd2, 0xc0, 0x00}, /* Normal */
223 {0xa8, 0xc8, 0xc6, 0x52, 0xc0, 0x04}, /* Repujar */
224 {0xa8, 0xe8, 0xc6, 0xd2, 0xc0, 0x20}, /* Monochrome */
225 {0xa8, 0xe8, 0xc6, 0xd2, 0xc0, 0x80}, /* Sepia */
226 {0xa8, 0xc8, 0xc6, 0x52, 0xc0, 0x02}, /* Croquis */
227 {0xa8, 0xc8, 0xc6, 0xd2, 0xc0, 0x10}, /* Sun Effect */
228 {0xa8, 0xc8, 0xc6, 0xd2, 0xc0, 0x40}, /* Negative */
234 {0x00, 0x00, 0x01, 0x04, 0x08, 0x0e, 0x16, 0x21, /* 0 */
235 0x2e, 0x3d, 0x50, 0x65, 0x7d, 0x99, 0xb8, 0xdb,
236 0xff},
237 {0x00, 0x01, 0x03, 0x08, 0x0e, 0x16, 0x21, 0x2d, /* 1 */
238 0x3c, 0x4d, 0x60, 0x75, 0x8d, 0xa6, 0xc2, 0xe1,
239 0xff},
240 {0x00, 0x01, 0x05, 0x0b, 0x12, 0x1c, 0x28, 0x35, /* 2 */
241 0x45, 0x56, 0x69, 0x7e, 0x95, 0xad, 0xc7, 0xe3,
242 0xff},
243 {0x00, 0x02, 0x07, 0x0f, 0x18, 0x24, 0x30, 0x3f, /* 3 */
244 0x4f, 0x61, 0x73, 0x88, 0x9d, 0xb4, 0xcd, 0xe6,
245 0xff},
246 {0x00, 0x04, 0x0b, 0x15, 0x20, 0x2d, 0x3b, 0x4a, /* 4 */
247 0x5b, 0x6c, 0x7f, 0x92, 0xa7, 0xbc, 0xd2, 0xe9,
248 0xff},
249 {0x00, 0x07, 0x11, 0x15, 0x20, 0x2d, 0x48, 0x58, /* 5 */
250 0x68, 0x79, 0x8b, 0x9d, 0xb0, 0xc4, 0xd7, 0xec,
251 0xff},
252 {0x00, 0x0c, 0x1a, 0x29, 0x38, 0x47, 0x57, 0x67, /* 6 */
253 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee,
254 0xff},
255 {0x00, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70, /* 7 */
256 0x80, 0x90, 0xa0, 0xb0, 0xc0, 0xd0, 0xe0, 0xf0,
257 0xff},
258 {0x00, 0x15, 0x27, 0x38, 0x49, 0x59, 0x69, 0x79, /* 8 */
259 0x88, 0x97, 0xa7, 0xb6, 0xc4, 0xd3, 0xe2, 0xf0,
260 0xff},
261 {0x00, 0x1c, 0x30, 0x43, 0x54, 0x65, 0x75, 0x84, /* 9 */
262 0x93, 0xa1, 0xb0, 0xbd, 0xca, 0xd8, 0xe5, 0xf2,
263 0xff},
264 {0x00, 0x24, 0x3b, 0x4f, 0x60, 0x70, 0x80, 0x8e, /* 10 */
265 0x9c, 0xaa, 0xb7, 0xc4, 0xd0, 0xdc, 0xe8, 0xf3,
266 0xff},
267 {0x00, 0x2a, 0x3c, 0x5d, 0x6e, 0x7e, 0x8d, 0x9b, /* 11 */
268 0xa8, 0xb4, 0xc0, 0xcb, 0xd6, 0xe1, 0xeb, 0xf5,
269 0xff},
270 {0x00, 0x3f, 0x5a, 0x6e, 0x7f, 0x8e, 0x9c, 0xa8, /* 12 */
271 0xb4, 0xbf, 0xc9, 0xd3, 0xdc, 0xe5, 0xee, 0xf6,
272 0xff},
273 {0x00, 0x54, 0x6f, 0x83, 0x93, 0xa0, 0xad, 0xb7, /* 13 */
274 0xc2, 0xcb, 0xd4, 0xdc, 0xe4, 0xeb, 0xf2, 0xf9,
275 0xff},
276 {0x00, 0x6e, 0x88, 0x9a, 0xa8, 0xb3, 0xbd, 0xc6, /* 14 */
277 0xcf, 0xd6, 0xdd, 0xe3, 0xe9, 0xef, 0xf4, 0xfa,
278 0xff},
279 {0x00, 0x93, 0xa8, 0xb7, 0xc1, 0xca, 0xd2, 0xd8, /* 15 */
280 0xde, 0xe3, 0xe8, 0xed, 0xf1, 0xf5, 0xf8, 0xfc,
281 0xff}
285 {0x62, 0x08, 0x63, 0x70, 0x64, 0x1d, 0x60, 0x09},
286 {0x62, 0x20, 0x63, 0x01, 0x64, 0x02, 0x60, 0x09},
287 {0x62, 0x07, 0x63, 0x03, 0x64, 0x00, 0x60, 0x09},
290 static u8 sensor_reset[] = {0x61, 0x68, 0x62, 0xff, 0x60, 0x07};
297 usb_rcvctrlpipe(gspca_dev->dev, 0), in reg_r()
298 0, /* request */ in reg_r()
300 0, /* value */ in reg_r()
303 return gspca_dev->usb_buf[0]; in reg_r()
310 usb_sndctrlpipe(gspca_dev->dev, 0), in reg_w()
311 0, in reg_w()
313 0, index, in reg_w()
314 NULL, 0, 500); in reg_w()
323 usb_sndctrlpipe(gspca_dev->dev, 0), in reg_w_buf()
324 0, in reg_w_buf()
326 0x01, 0, in reg_w_buf()
337 usb_sndctrlpipe(gspca_dev->dev, 0), in reg_w_buf()
338 0, in reg_w_buf()
340 0x01, 0, in reg_w_buf()
364 while (--i >= 0) { in reg_w_ixbuf()
369 usb_sndctrlpipe(gspca_dev->dev, 0), in reg_w_ixbuf()
370 0, in reg_w_ixbuf()
372 0x01, 0, in reg_w_ixbuf()
383 u8 val[6] = {0x62, 0, 0x64, 0, 0x60, 0x05}; in om6802_sensor_init()
385 0xdf, 0x6d, in om6802_sensor_init()
386 0xdd, 0x18, in om6802_sensor_init()
387 0x5a, 0xe0, in om6802_sensor_init()
388 0x5c, 0x07, in om6802_sensor_init()
389 0x5d, 0xb0, in om6802_sensor_init()
390 0x5e, 0x1e, in om6802_sensor_init()
391 0x60, 0x71, in om6802_sensor_init()
392 0xef, 0x00, in om6802_sensor_init()
393 0xe9, 0x00, in om6802_sensor_init()
394 0xea, 0x00, in om6802_sensor_init()
395 0x90, 0x24, in om6802_sensor_init()
396 0x91, 0xb2, in om6802_sensor_init()
397 0x82, 0x32, in om6802_sensor_init()
398 0xfd, 0x41, in om6802_sensor_init()
399 0x00 /* table end */ in om6802_sensor_init()
405 while (--i > 0) { in om6802_sensor_init()
406 byte = reg_r(gspca_dev, 0x0060); in om6802_sensor_init()
407 if (!(byte & 0x01)) in om6802_sensor_init()
411 byte = reg_r(gspca_dev, 0x0063); in om6802_sensor_init()
412 if (byte != 0x17) { in om6802_sensor_init()
418 while (*p != 0) { in om6802_sensor_init()
421 if (*p == 0) in om6802_sensor_init()
422 reg_w(gspca_dev, 0x3c80); in om6802_sensor_init()
425 while (--i >= 0) { in om6802_sensor_init()
427 byte = reg_r(gspca_dev, 0x60); in om6802_sensor_init()
428 if (!(byte & 0x01)) in om6802_sensor_init()
433 reg_w(gspca_dev, 0x3c80); in om6802_sensor_init()
445 return 0; in sd_config()
450 u8 set6[4] = { 0x8f, 0x24, 0xc3, 0x00 }; in setbrightness()
453 set6[1] = 0x26; in setbrightness()
454 set6[3] = 0x70 - brightness * 0x10; in setbrightness()
456 set6[3] = 0x00 + ((brightness - 7) * 0x10); in setbrightness()
467 reg_to_write = 0x8ea9 - contrast * 0x200; in setcontrast()
469 reg_to_write = 0x00a9 + (contrast - 7) * 0x200; in setcontrast()
478 reg_to_write = 0x80bb + val * 0x100; /* was 0xc0 */ in setcolors()
485 reg_w_ixbuf(gspca_dev, 0x90, in setgamma()
486 gamma_table[val], sizeof gamma_table[0]); in setgamma()
493 0x87, 0x00, 0x88, 0x00, 0x89, 0x00, 0x80, 0x00 }; in setawb_n_RGB()
499 if (red_gain > 0x40) in setawb_n_RGB()
500 red_gain = 0x40; in setawb_n_RGB()
501 else if (red_gain < 0x10) in setawb_n_RGB()
502 red_gain = 0x10; in setawb_n_RGB()
505 if (blue_gain > 0x40) in setawb_n_RGB()
506 blue_gain = 0x40; in setawb_n_RGB()
507 else if (blue_gain < 0x10) in setawb_n_RGB()
508 blue_gain = 0x10; in setawb_n_RGB()
515 all_gain_reg[7] &= ~0x04; /* AWB off */ in setawb_n_RGB()
524 reg_to_write = 0x0aa6 + 0x1000 * val; in setsharpness()
533 u8 freq[4] = { 0x66, 0x00, 0xa8, 0xe8 }; in setfreq()
537 if (val != 0) in setfreq()
538 freq[3] = 0xa8; in setfreq()
539 reg66 = 0x41; in setfreq()
542 reg66 = 0xca; in setfreq()
545 reg66 = 0x40; in setfreq()
549 case 0: /* no flicker */ in setfreq()
550 freq[3] = 0xf0; in setfreq()
553 reg66 &= ~0x40; in setfreq()
572 u8 test_byte = 0; in sd_init()
575 { 0x0a, 0x0b, 0x66, 0x80, 0x81, 0x8e, 0x8f, 0xa5, in sd_init()
576 0xa6, 0xa8, 0xbb, 0xbc, 0xc6, 0x00 }; in sd_init()
578 {0x08, 0x03, 0x09, 0x03, 0x12, 0x04}; in sd_init()
580 {0x08, 0x00}; in sd_init()
582 sensor_id = (reg_r(gspca_dev, 0x06) << 8) in sd_init()
583 | reg_r(gspca_dev, 0x07); in sd_init()
584 switch (sensor_id & 0xff0f) { in sd_init()
585 case 0x0801: in sd_init()
589 case 0x0802: in sd_init()
593 case 0x0803: in sd_init()
597 case 0x0807: in sd_init()
609 while (--i >= 0) { in sd_init()
611 test_byte = reg_r(gspca_dev, 0x0063); in sd_init()
613 if (test_byte == 0x17) in sd_init()
616 if (i < 0) { in sd_init()
623 i = 0; in sd_init()
624 while (read_indexs[i] != 0x00) { in sd_init()
626 gspca_dbg(gspca_dev, D_STREAM, "Reg 0x%02x = 0x%02x\n", in sd_init()
636 test_byte = reg_r(gspca_dev, 0x80); in sd_init()
637 gspca_dbg(gspca_dev, D_STREAM, "Reg 0x%02x = 0x%02x\n", 0x80, in sd_init()
639 reg_w(gspca_dev, 0x6c80); in sd_init()
642 reg_w_ixbuf(gspca_dev, 0xd0, sensor->data1, sizeof sensor->data1); in sd_init()
643 reg_w_ixbuf(gspca_dev, 0xc7, sensor->data2, sizeof sensor->data2); in sd_init()
644 reg_w_ixbuf(gspca_dev, 0xe0, sensor->data3, sizeof sensor->data3); in sd_init()
646 reg_w(gspca_dev, (sensor->reg80 << 8) + 0x80); in sd_init()
647 reg_w(gspca_dev, (sensor->reg80 << 8) + 0x80); in sd_init()
648 reg_w(gspca_dev, (sensor->reg8e << 8) + 0x8e); in sd_init()
649 reg_w(gspca_dev, (0x20 << 8) + 0x87); in sd_init()
650 reg_w(gspca_dev, (0x20 << 8) + 0x88); in sd_init()
651 reg_w(gspca_dev, (0x20 << 8) + 0x89); in sd_init()
658 test_byte = reg_r(gspca_dev, 0x80); in sd_init()
659 gspca_dbg(gspca_dev, D_STREAM, "Reg 0x%02x = 0x%02x\n", 0x80, in sd_init()
661 reg_w(gspca_dev, 0x6c80); in sd_init()
664 reg_w_ixbuf(gspca_dev, 0xd0, sensor->data1, sizeof sensor->data1); in sd_init()
665 reg_w_ixbuf(gspca_dev, 0xc7, sensor->data2, sizeof sensor->data2); in sd_init()
666 reg_w_ixbuf(gspca_dev, 0xe0, sensor->data3, sizeof sensor->data3); in sd_init()
668 return 0; in sd_init()
674 {0x62, 0x07, 0x63, 0x03, 0x64, 0x00, 0x60, 0x09}; in setmirror()
677 hflipcmd[3] = 0x01; in setmirror()
684 int idx = 0; in seteffect()
706 sizeof effects_table[0]); in seteffect()
709 reg_w(gspca_dev, 0x4aa6); in seteffect()
711 reg_w(gspca_dev, 0xfaa6); in seteffect()
719 {0x67, 0x05, 0x68, 0x81, 0x69, 0x80, 0x6a, 0x82, in poll_sensor()
720 0x6b, 0x68, 0x6c, 0x69, 0x72, 0xd9, 0x73, 0x34, in poll_sensor()
721 0x74, 0x32, 0x75, 0x92, 0x76, 0x00, 0x09, 0x01, in poll_sensor()
722 0x60, 0x14}; in poll_sensor()
724 {0x67, 0x02, 0x68, 0x71, 0x69, 0x72, 0x72, 0xa9, in poll_sensor()
725 0x73, 0x02, 0x73, 0x02, 0x60, 0x14}; in poll_sensor()
727 {0xa6, 0x0a, 0xea, 0xcf, 0xbe, 0x26, 0xb1, 0x5f, in poll_sensor()
728 0xa1, 0xb1, 0xda, 0x6b, 0xdb, 0x98, 0xdf, 0x0c, in poll_sensor()
729 0xc2, 0x80, 0xc3, 0x10}; in poll_sensor()
742 u8 t2[] = { 0x07, 0x00, 0x0d, 0x60, 0x0e, 0x80 }; in sd_start()
744 { 0x07, 0x00, 0x88, 0x02, 0x06, 0x00, 0xe7, 0x01 }; in sd_start()
748 case 0: /* 640x480 (0x00) */ in sd_start()
751 t2[1] = 0x40; in sd_start()
754 t2[1] = 0x10; in sd_start()
757 t2[1] = 0x50; in sd_start()
761 t2[1] = 0x20; in sd_start()
770 i = 0; in sd_start()
773 sizeof tas5130a_sensor_init[0]); in sd_start()
778 reg_w(gspca_dev, 0x3c80); in sd_start()
781 sizeof tas5130a_sensor_init[0]); in sd_start()
782 reg_w(gspca_dev, 0x3c80); in sd_start()
787 reg_r(gspca_dev, 0x0012); in sd_start()
789 reg_w_ixbuf(gspca_dev, 0xb3, t3, sizeof t3); in sd_start()
790 reg_w(gspca_dev, 0x0013); in sd_start()
798 return 0; in sd_start()
811 reg_w(gspca_dev, 0x0309); in sd_stopN()
816 input_report_key(gspca_dev->input_dev, KEY_CAMERA, 0); in sd_stopN()
818 sd->button_pressed = 0; in sd_stopN()
830 if (data[0] == 0x5a) { in sd_pkt_scan()
833 u8 state = (data[20] & 0x80) ? 1 : 0; in sd_pkt_scan()
849 if (data[0] == 0xff && data[1] == 0xd8) in sd_pkt_scan()
851 else if (data[len - 2] == 0xff && data[len - 1] == 0xd9) in sd_pkt_scan()
865 gspca_dev->usb_err = 0; in sd_g_volatile_ctrl()
869 red_gain = reg_r(gspca_dev, 0x0087); in sd_g_volatile_ctrl()
870 if (red_gain > 0x40) in sd_g_volatile_ctrl()
871 red_gain = 0x40; in sd_g_volatile_ctrl()
872 else if (red_gain < 0x10) in sd_g_volatile_ctrl()
873 red_gain = 0x10; in sd_g_volatile_ctrl()
875 blue_gain = reg_r(gspca_dev, 0x0088); in sd_g_volatile_ctrl()
876 if (blue_gain > 0x40) in sd_g_volatile_ctrl()
877 blue_gain = 0x40; in sd_g_volatile_ctrl()
878 else if (blue_gain < 0x10) in sd_g_volatile_ctrl()
879 blue_gain = 0x10; in sd_g_volatile_ctrl()
881 green_gain = reg_r(gspca_dev, 0x0089); in sd_g_volatile_ctrl()
882 if (green_gain > 0x40) in sd_g_volatile_ctrl()
883 green_gain = 0x40; in sd_g_volatile_ctrl()
884 else if (green_gain < 0x10) in sd_g_volatile_ctrl()
885 green_gain = 0x10; in sd_g_volatile_ctrl()
892 return 0; in sd_g_volatile_ctrl()
900 gspca_dev->usb_err = 0; in sd_s_ctrl()
903 return 0; in sd_s_ctrl()
928 reg_w(gspca_dev, ctrl->val ? 0xf48e : 0xb48e); in sd_s_ctrl()
953 V4L2_CID_BRIGHTNESS, 0, 14, 1, 8); in sd_init_controls()
955 V4L2_CID_CONTRAST, 0, 0x0d, 1, 7); in sd_init_controls()
957 V4L2_CID_SATURATION, 0, 0xf, 1, 5); in sd_init_controls()
959 V4L2_CID_GAMMA, 0, GAMMA_MAX, 1, 10); in sd_init_controls()
963 V4L2_CID_BACKLIGHT_COMPENSATION, 0, 1, 1, 1); in sd_init_controls()
966 V4L2_CID_HFLIP, 0, 1, 1, 0); in sd_init_controls()
968 V4L2_CID_AUTO_WHITE_BALANCE, 0, 1, 1, 1); in sd_init_controls()
970 V4L2_CID_GAIN, 0x10, 0x40, 1, 0x20); in sd_init_controls()
972 V4L2_CID_BLUE_BALANCE, -0x30, 0x30, 1, 0); in sd_init_controls()
974 V4L2_CID_RED_BALANCE, -0x30, 0x30, 1, 0); in sd_init_controls()
976 V4L2_CID_SHARPNESS, 0, 15, 1, 6); in sd_init_controls()
995 v4l2_ctrl_auto_cluster(4, &sd->awb, 0, true); in sd_init_controls()
997 return 0; in sd_init_controls()
1016 {USB_DEVICE(0x17a1, 0x0128)},