Lines Matching +full:0 +full:x1200

17 	0xb8 >> 1,   /* MT9V111, MT9V403 */
18 0xba >> 1, /* MT9M001/011/111/112, MT9V011/012/112, MT9D011 */
19 0x90 >> 1, /* MT9V012/112, MT9D011 (alternative address) */
25 0x42 >> 1, /* OV7725, OV7670/60/48 */
26 0x60 >> 1, /* OV2640, OV9650/53/55 */
35 { 0x0d, 0x00, 0x01, }, /* reset and use defaults */ in em28xx_initialize_mt9m111()
36 { 0x0d, 0x00, 0x00, }, in em28xx_initialize_mt9m111()
37 { 0x0a, 0x00, 0x21, }, in em28xx_initialize_mt9m111()
38 { 0x21, 0x04, 0x00, }, /* full readout spd, no row/col skip */ in em28xx_initialize_mt9m111()
41 for (i = 0; i < ARRAY_SIZE(regs); i++) in em28xx_initialize_mt9m111()
43 &regs[i][0], 3); in em28xx_initialize_mt9m111()
47 return 0; in em28xx_initialize_mt9m111()
55 { 0x0d, 0x00, 0x01, }, in em28xx_initialize_mt9m001()
56 { 0x0d, 0x00, 0x00, }, in em28xx_initialize_mt9m001()
57 { 0x04, 0x05, 0x00, }, /* hres = 1280 */ in em28xx_initialize_mt9m001()
58 { 0x03, 0x04, 0x00, }, /* vres = 1024 */ in em28xx_initialize_mt9m001()
59 { 0x20, 0x11, 0x00, }, in em28xx_initialize_mt9m001()
60 { 0x06, 0x00, 0x10, }, in em28xx_initialize_mt9m001()
61 { 0x2b, 0x00, 0x24, }, in em28xx_initialize_mt9m001()
62 { 0x2e, 0x00, 0x24, }, in em28xx_initialize_mt9m001()
63 { 0x35, 0x00, 0x24, }, in em28xx_initialize_mt9m001()
64 { 0x2d, 0x00, 0x20, }, in em28xx_initialize_mt9m001()
65 { 0x2c, 0x00, 0x20, }, in em28xx_initialize_mt9m001()
66 { 0x09, 0x0a, 0xd4, }, in em28xx_initialize_mt9m001()
67 { 0x35, 0x00, 0x57, }, in em28xx_initialize_mt9m001()
70 for (i = 0; i < ARRAY_SIZE(regs); i++) in em28xx_initialize_mt9m001()
72 &regs[i][0], 3); in em28xx_initialize_mt9m001()
76 return 0; in em28xx_initialize_mt9m001()
91 for (i = 0; micron_sensor_addrs[i] != I2C_CLIENT_END; i++) { in em28xx_probe_sensor_micron()
93 /* Read chip ID from register 0x00 */ in em28xx_probe_sensor_micron()
94 ret = i2c_smbus_read_word_data(client, 0x00); /* assumes LE */ in em28xx_probe_sensor_micron()
95 if (ret < 0) { in em28xx_probe_sensor_micron()
98 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_micron()
103 /* Read chip ID from register 0xff */ in em28xx_probe_sensor_micron()
104 ret = i2c_smbus_read_word_data(client, 0xff); in em28xx_probe_sensor_micron()
105 if (ret < 0) { in em28xx_probe_sensor_micron()
107 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_micron()
116 case 0x1222: in em28xx_probe_sensor_micron()
119 case 0x1229: in em28xx_probe_sensor_micron()
122 case 0x1433: in em28xx_probe_sensor_micron()
125 case 0x143a: /* found in the ECS G200 */ in em28xx_probe_sensor_micron()
129 case 0x148c: in em28xx_probe_sensor_micron()
132 case 0x1511: in em28xx_probe_sensor_micron()
133 name = "MT9D011"; /* MI2010 */ /* 1600x1200 */ in em28xx_probe_sensor_micron()
135 case 0x8232: in em28xx_probe_sensor_micron()
136 case 0x8243: /* rev B */ in em28xx_probe_sensor_micron()
140 case 0x8431: in em28xx_probe_sensor_micron()
146 "unknown Micron sensor detected: 0x%04x\n", in em28xx_probe_sensor_micron()
148 return 0; in em28xx_probe_sensor_micron()
158 return 0; in em28xx_probe_sensor_micron()
180 for (i = 0; omnivision_sensor_addrs[i] != I2C_CLIENT_END; i++) { in em28xx_probe_sensor_omnivision()
182 /* Read manufacturer ID from registers 0x1c-0x1d (BE) */ in em28xx_probe_sensor_omnivision()
183 reg = 0x1c; in em28xx_probe_sensor_omnivision()
185 if (ret < 0) { in em28xx_probe_sensor_omnivision()
188 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_omnivision()
193 reg = 0x1d; in em28xx_probe_sensor_omnivision()
195 if (ret < 0) { in em28xx_probe_sensor_omnivision()
197 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_omnivision()
203 if (id != 0x7fa2) in em28xx_probe_sensor_omnivision()
205 /* Read product ID from registers 0x0a-0x0b (BE) */ in em28xx_probe_sensor_omnivision()
206 reg = 0x0a; in em28xx_probe_sensor_omnivision()
208 if (ret < 0) { in em28xx_probe_sensor_omnivision()
210 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_omnivision()
215 reg = 0x0b; in em28xx_probe_sensor_omnivision()
217 if (ret < 0) { in em28xx_probe_sensor_omnivision()
219 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_omnivision()
226 case 0x2642: in em28xx_probe_sensor_omnivision()
230 case 0x7648: in em28xx_probe_sensor_omnivision()
233 case 0x7660: in em28xx_probe_sensor_omnivision()
236 case 0x7673: in em28xx_probe_sensor_omnivision()
239 case 0x7720: in em28xx_probe_sensor_omnivision()
242 case 0x7721: in em28xx_probe_sensor_omnivision()
245 case 0x9648: /* Rev 2 */ in em28xx_probe_sensor_omnivision()
246 case 0x9649: /* Rev 3 */ in em28xx_probe_sensor_omnivision()
249 case 0x9650: in em28xx_probe_sensor_omnivision()
250 case 0x9652: /* OV9653 */ in em28xx_probe_sensor_omnivision()
253 case 0x9656: /* Rev 4 */ in em28xx_probe_sensor_omnivision()
254 case 0x9657: /* Rev 5 */ in em28xx_probe_sensor_omnivision()
259 "unknown OmniVision sensor detected: 0x%04x\n", in em28xx_probe_sensor_omnivision()
261 return 0; in em28xx_probe_sensor_omnivision()
271 return 0; in em28xx_probe_sensor_omnivision()
283 if (dev->em28xx_sensor == EM28XX_NOSENSOR && ret < 0) in em28xx_detect_sensor()
288 * 0x22 (Samsung ?) and 0x66 (Kodak ?) in em28xx_detect_sensor()
291 if (dev->em28xx_sensor == EM28XX_NOSENSOR && ret < 0) { in em28xx_detect_sensor()
297 return 0; in em28xx_detect_sensor()
337 v4l2->vinctl = 0x00; in em28xx_init_camera()
348 v4l2->vinctl = 0x00; in em28xx_init_camera()
360 v4l2->vinctl = 0x00; in em28xx_init_camera()
376 * FIXME: sensor supports resolutions up to 1600x1200, but in em28xx_init_camera()
397 /* NOTE: for UXGA=1600x1200 switch to 12MHz */ in em28xx_init_camera()
401 v4l2->vinctl = 0x00; in em28xx_init_camera()
410 return 0; in em28xx_init_camera()