Lines Matching +full:0 +full:xf800
35 #define Generic 0
52 .priv = 0},
61 #define SQ930_CTRL_UCBUS_IO 0x0001
62 #define SQ930_CTRL_I2C_IO 0x0002
63 #define SQ930_CTRL_GPIO 0x0005
64 #define SQ930_CTRL_CAP_START 0x0010
65 #define SQ930_CTRL_CAP_STOP 0x0011
66 #define SQ930_CTRL_SET_EXPOSURE 0x001d
67 #define SQ930_CTRL_RESET 0x001e
68 #define SQ930_CTRL_GET_DEV_INFO 0x001f
71 #define SQ930_GPIO_DFL_I2C_SDA 0x0001
72 #define SQ930_GPIO_DFL_I2C_SCL 0x0002
73 #define SQ930_GPIO_RSTBAR 0x0004
74 #define SQ930_GPIO_EXTRA1 0x0040
75 #define SQ930_GPIO_EXTRA2 0x0080
77 #define SQ930_GPIO_POWER 0x0200
78 #define SQ930_GPIO_DFL_LED 0x1000
90 {0x0354, 0x00}, {0x03fa, 0x00}, {0xf800, 0x02}, {0xf801, 0xce},
91 {0xf802, 0xc1}, {0xf804, 0x00}, {0xf808, 0x00}, {0xf809, 0x0e},
92 {0xf80a, 0x01}, {0xf80b, 0xee}, {0xf807, 0x60}, {0xf80c, 0x02},
93 {0xf80d, 0xf0}, {0xf80e, 0x03}, {0xf80f, 0x0a}, {0xf81c, 0x02},
94 {0xf81d, 0xf0}, {0xf81e, 0x03}, {0xf81f, 0x0a}, {0xf83a, 0x00},
95 {0xf83b, 0x10}, {0xf83c, 0x00}, {0xf83d, 0x4e}, {0xf810, 0x04},
96 {0xf811, 0x00}, {0xf812, 0x02}, {0xf813, 0x10}, {0xf803, 0x00},
97 {0xf814, 0x01}, {0xf815, 0x18}, {0xf816, 0x00}, {0xf817, 0x48},
98 {0xf818, 0x00}, {0xf819, 0x25}, {0xf81a, 0x00}, {0xf81b, 0x3c},
99 {0xf82f, 0x03}, {0xf820, 0xff}, {0xf821, 0x0d}, {0xf822, 0xff},
100 {0xf823, 0x07}, {0xf824, 0xff}, {0xf825, 0x03}, {0xf826, 0xff},
101 {0xf827, 0x06}, {0xf828, 0xff}, {0xf829, 0x03}, {0xf82a, 0xff},
102 {0xf82b, 0x0c}, {0xf82c, 0xfd}, {0xf82d, 0x01}, {0xf82e, 0x00},
103 {0xf830, 0x00}, {0xf831, 0x47}, {0xf832, 0x00}, {0xf833, 0x00},
104 {0xf850, 0x00}, {0xf851, 0x00}, {0xf852, 0x00}, {0xf853, 0x24},
105 {0xf854, 0x00}, {0xf855, 0x18}, {0xf856, 0x00}, {0xf857, 0x3c},
106 {0xf858, 0x00}, {0xf859, 0x0c}, {0xf85a, 0x00}, {0xf85b, 0x30},
107 {0xf85c, 0x00}, {0xf85d, 0x0c}, {0xf85e, 0x00}, {0xf85f, 0x30},
108 {0xf860, 0x00}, {0xf861, 0x48}, {0xf862, 0x01}, {0xf863, 0xdc},
109 {0xf864, 0xff}, {0xf865, 0x98}, {0xf866, 0xff}, {0xf867, 0xc0},
110 {0xf868, 0xff}, {0xf869, 0x70}, {0xf86c, 0xff}, {0xf86d, 0x00},
111 {0xf86a, 0xff}, {0xf86b, 0x48}, {0xf86e, 0xff}, {0xf86f, 0x00},
112 {0xf870, 0x01}, {0xf871, 0xdb}, {0xf872, 0x01}, {0xf873, 0xfa},
113 {0xf874, 0x01}, {0xf875, 0xdb}, {0xf876, 0x01}, {0xf877, 0xfa},
114 {0xf878, 0x0f}, {0xf879, 0x0f}, {0xf87a, 0xff}, {0xf87b, 0xff},
115 {0xf800, 0x03}
118 {0xf5f0, 0x00}, {0xf5f1, 0xcd}, {0xf5f2, 0x80}, {0xf5f3, 0x80},
119 {0xf5f4, 0xc0},
120 {0xf5f0, 0x49}, {0xf5f1, 0xcd}, {0xf5f2, 0x80}, {0xf5f3, 0x80},
121 {0xf5f4, 0xc0},
122 {0xf5fa, 0x00}, {0xf5f6, 0x00}, {0xf5f7, 0x00}, {0xf5f8, 0x00},
123 {0xf5f9, 0x00}
127 {0xf800, 0x02}, {0xf807, 0xff}, {0xf805, 0x82}, {0xf806, 0x00},
128 {0xf807, 0x7f}, {0xf800, 0x03},
129 {0xf800, 0x02}, {0xf807, 0xff}, {0xf805, 0x40}, {0xf806, 0x00},
130 {0xf807, 0x7f}, {0xf800, 0x03},
131 {0xf800, 0x02}, {0xf807, 0xff}, {0xf805, 0xcf}, {0xf806, 0xd0},
132 {0xf807, 0x7f}, {0xf800, 0x03},
133 {0xf800, 0x02}, {0xf807, 0xff}, {0xf805, 0x00}, {0xf806, 0x00},
134 {0xf807, 0x7f}, {0xf800, 0x03}
138 {0x0354, 0x00}, {0x03fa, 0x00}, {0xf800, 0x02}, {0xf801, 0xbe},
139 {0xf802, 0xc6}, {0xf804, 0x00}, {0xf808, 0x00}, {0xf809, 0x06},
140 {0xf80a, 0x01}, {0xf80b, 0xfe}, {0xf807, 0x84}, {0xf80c, 0x02},
141 {0xf80d, 0xf7}, {0xf80e, 0x03}, {0xf80f, 0x0b}, {0xf81c, 0x00},
142 {0xf81d, 0x49}, {0xf81e, 0x03}, {0xf81f, 0x0b}, {0xf83a, 0x00},
143 {0xf83b, 0x01}, {0xf83c, 0x00}, {0xf83d, 0x6b}, {0xf810, 0x03},
144 {0xf811, 0x10}, {0xf812, 0x02}, {0xf813, 0x6f}, {0xf803, 0x00},
145 {0xf814, 0x00}, {0xf815, 0x44}, {0xf816, 0x00}, {0xf817, 0x48},
146 {0xf818, 0x00}, {0xf819, 0x25}, {0xf81a, 0x00}, {0xf81b, 0x3c},
147 {0xf82f, 0x03}, {0xf820, 0xff}, {0xf821, 0x0d}, {0xf822, 0xff},
148 {0xf823, 0x07}, {0xf824, 0xfd}, {0xf825, 0x07}, {0xf826, 0xf0},
149 {0xf827, 0x0c}, {0xf828, 0xff}, {0xf829, 0x03}, {0xf82a, 0xff},
150 {0xf82b, 0x0c}, {0xf82c, 0xfc}, {0xf82d, 0x01}, {0xf82e, 0x00},
151 {0xf830, 0x00}, {0xf831, 0x47}, {0xf832, 0x00}, {0xf833, 0x00},
152 {0xf850, 0x00}, {0xf851, 0x00}, {0xf852, 0x00}, {0xf853, 0x24},
153 {0xf854, 0x00}, {0xf855, 0x0c}, {0xf856, 0x00}, {0xf857, 0x30},
154 {0xf858, 0x00}, {0xf859, 0x18}, {0xf85a, 0x00}, {0xf85b, 0x3c},
155 {0xf85c, 0x00}, {0xf85d, 0x18}, {0xf85e, 0x00}, {0xf85f, 0x3c},
156 {0xf860, 0xff}, {0xf861, 0x37}, {0xf862, 0xff}, {0xf863, 0x1d},
157 {0xf864, 0xff}, {0xf865, 0x98}, {0xf866, 0xff}, {0xf867, 0xc0},
158 {0xf868, 0x00}, {0xf869, 0x37}, {0xf86c, 0x02}, {0xf86d, 0x1d},
159 {0xf86a, 0x00}, {0xf86b, 0x37}, {0xf86e, 0x02}, {0xf86f, 0x1d},
160 {0xf870, 0x01}, {0xf871, 0xc6}, {0xf872, 0x02}, {0xf873, 0x04},
161 {0xf874, 0x01}, {0xf875, 0xc6}, {0xf876, 0x02}, {0xf877, 0x04},
162 {0xf878, 0x0f}, {0xf879, 0x0f}, {0xf87a, 0xff}, {0xf87b, 0xff},
163 {0xf800, 0x03}
166 {0xf5f0, 0x00}, {0xf5f1, 0xff}, {0xf5f2, 0x80}, {0xf5f3, 0x80},
167 {0xf5f4, 0xb3},
168 {0xf5f0, 0x40}, {0xf5f1, 0xff}, {0xf5f2, 0x80}, {0xf5f3, 0x80},
169 {0xf5f4, 0xb3},
170 {0xf5fa, 0x00}, {0xf5f6, 0x00}, {0xf5f7, 0x00}, {0xf5f8, 0x00},
171 {0xf5f9, 0x00}
175 {0xf5f0, 0x00}, {0xf5f1, 0xff}, {0xf5f2, 0x88}, {0xf5f3, 0x88},
176 {0xf5f4, 0xc0},
177 {0xf5f0, 0x40}, {0xf5f1, 0xff}, {0xf5f2, 0x88}, {0xf5f3, 0x88},
178 {0xf5f4, 0xc0},
179 {0xf5fa, 0x00}, {0xf5f6, 0x00}, {0xf5f7, 0x00}, {0xf5f8, 0x00},
180 {0xf5f9, 0x00}
184 {0xf800, 0x02}, {0xf807, 0xff}, {0xf805, 0x80}, {0xf806, 0x00},
185 {0xf807, 0x7f}, {0xf800, 0x03},
186 {0xf800, 0x02}, {0xf807, 0xff}, {0xf805, 0x4e}, {0xf806, 0x00},
187 {0xf807, 0x7f}, {0xf800, 0x03},
188 {0xf800, 0x02}, {0xf807, 0xff}, {0xf805, 0xc0}, {0xf806, 0x48},
189 {0xf807, 0x7f}, {0xf800, 0x03},
190 {0xf800, 0x02}, {0xf807, 0xff}, {0xf805, 0x00}, {0xf806, 0x00},
191 {0xf807, 0x7f}, {0xf800, 0x03}
195 {0x0354, 0x00}, {0x03fa, 0x00}, {0xf332, 0xcc}, {0xf333, 0xcc},
196 {0xf334, 0xcc}, {0xf335, 0xcc}, {0xf33f, 0x00}
199 {0x30, 0x0040}, /* reserved - def 0x0005 */
200 {0x31, 0x0000}, /* reserved - def 0x002a */
201 {0x34, 0x0100}, /* reserved - def 0x0100 */
202 {0x3d, 0x068f}, /* reserved - def 0x068f */
205 {0x03, 0x01e5}, /* window height */
206 {0x04, 0x0285}, /* window width */
209 {0x35, 0x0020}, /* global gain */
210 {0x2b, 0x0020}, /* green1 gain */
211 {0x2c, 0x002a}, /* blue gain */
212 {0x2d, 0x0028}, /* red gain */
213 {0x2e, 0x0020}, /* green2 gain */
216 {0xf5f0, 0x11}, {0xf5f1, 0x99}, {0xf5f2, 0x80}, {0xf5f3, 0x80},
217 {0xf5f4, 0xa6},
218 {0xf5f0, 0x51}, {0xf5f1, 0x99}, {0xf5f2, 0x80}, {0xf5f3, 0x80},
219 {0xf5f4, 0xa6},
220 {0xf5fa, 0x00}, {0xf5f6, 0x00}, {0xf5f7, 0x00}, {0xf5f8, 0x00},
221 {0xf5f9, 0x00}
224 {0x62, 0x041d}, /* reserved - def 0x0418 */
227 {0x05, 0x007b}, /* horiz blanking */
230 {0x05, 0x03f5}, /* horiz blanking */
234 {0x01, 0x0001}, /* select IFP/SOC registers */
235 {0x06, 0x300c}, /* operating mode control */
236 {0x08, 0xcc00}, /* output format control (RGB) */
237 {0x01, 0x0004}, /* select sensor core registers */
240 {0x03, 0x01e5}, /* window height */
241 {0x04, 0x0285}, /* window width */
244 {0x30, 0x7800},
245 {0x31, 0x0000},
246 {0x07, 0x3002}, /* output control */
247 {0x35, 0x0020}, /* global gain */
248 {0x2b, 0x0020}, /* green1 gain */
249 {0x2c, 0x0020}, /* blue gain */
250 {0x2d, 0x0020}, /* red gain */
251 {0x2e, 0x0020}, /* green2 gain */
254 {0xf5f0, 0x11}, {0xf5f1, 0x96}, {0xf5f2, 0x80}, {0xf5f3, 0x80},
255 {0xf5f4, 0xaa},
256 {0xf5f0, 0x51}, {0xf5f1, 0x96}, {0xf5f2, 0x80}, {0xf5f3, 0x80},
257 {0xf5f4, 0xaa},
258 {0xf5fa, 0x00}, {0xf5f6, 0x0a}, {0xf5f7, 0x0a}, {0xf5f8, 0x0a},
259 {0xf5f9, 0x0a}
262 {0x62, 0x0405},
265 /* {0x05, 0x00ce}, */
266 {0x05, 0x005d}, /* horizontal blanking */
270 {0x0354, 0x00}, {0x03fa, 0x00}, {0xf332, 0x00}, {0xf333, 0xc0},
271 {0xf334, 0x39}, {0xf335, 0xe7}, {0xf33f, 0x03}
275 {0x0354, 0x00}, {0x03fa, 0x00}, {0xf332, 0x00}, {0xf333, 0x00},
276 {0xf334, 0x3e}, {0xf335, 0xf8}, {0xf33f, 0x03}
286 {0x05, 0x1f, 0x20, 0x0e, 0x00, 0x9f, 0x02, 0xee,
287 0x01, 0x01, 0x00, 0x08, 0x18, 0x12, 0x78, 0xc8,
288 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0,
289 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} },
291 {0x01, 0x1f, 0x20, 0x0e, 0x00, 0x9f, 0x02, 0xee,
292 0x01, 0x02, 0x00, 0x08, 0x18, 0x12, 0x78, 0xc8,
293 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
294 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} },
298 {0x05, 0x22, 0x20, 0x0e, 0x00, 0xa2, 0x02, 0xee,
299 0x01, 0x01, 0x00, 0x08, 0x18, 0x12, 0x78, 0xc8,
300 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
301 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} },
303 {0x01, 0x22, 0x20, 0x0e, 0x00, 0xa2, 0x02, 0xee,
304 0x01, 0x02, 0x00, 0x08, 0x18, 0x12, 0x78, 0xc8,
305 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
306 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} },
310 {0x05, 0x02, 0x20, 0x01, 0x20, 0x82, 0x02, 0xe1,
311 0x01, 0x01, 0x00, 0x08, 0x18, 0x12, 0x78, 0xc8,
312 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
313 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} },
315 {0x01, 0x02, 0x20, 0x01, 0x20, 0x82, 0x02, 0xe1,
316 0x01, 0x02, 0x00, 0x08, 0x18, 0x12, 0x78, 0xc8,
317 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
318 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} },
322 {0x05, 0x02, 0x20, 0x01, 0x20, 0x82, 0x02, 0xe1,
323 0x01, 0x01, 0x00, 0x08, 0x18, 0x12, 0x78, 0xc8,
324 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
325 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} },
327 {0x01, 0x02, 0x20, 0x01, 0x20, 0x82, 0x02, 0xe1,
328 0x01, 0x02, 0x00, 0x08, 0x18, 0x12, 0x78, 0xc8,
329 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
330 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} },
346 0x00, 0x00,
347 {0,
350 0,
357 0x00, 0x00,
358 {0,
361 0,
368 0x5d, 0x80,
372 0,
373 0
379 0x5c, 0x7f,
383 0,
384 0
390 0x21, 0x00,
391 {0,
394 0,
401 0x30, 0x00,
402 {0,
405 0,
417 if (gspca_dev->usb_err < 0) in reg_r()
420 usb_rcvctrlpipe(gspca_dev->dev, 0), in reg_r()
421 0x0c, in reg_r()
423 value, 0, gspca_dev->usb_buf, len, in reg_r()
425 if (ret < 0) { in reg_r()
432 memset(gspca_dev->usb_buf, 0, USB_BUF_SZ); in reg_r()
440 if (gspca_dev->usb_err < 0) in reg_w()
444 usb_sndctrlpipe(gspca_dev->dev, 0), in reg_w()
445 0x0c, /* request */ in reg_w()
447 value, index, NULL, 0, in reg_w()
450 if (ret < 0) { in reg_w()
461 if (gspca_dev->usb_err < 0) in reg_wb()
467 usb_sndctrlpipe(gspca_dev->dev, 0), in reg_wb()
468 0x0c, /* request */ in reg_wb()
473 if (ret < 0) { in reg_wb()
489 if (gspca_dev->usb_err < 0) in i2c_write()
495 idx = (cmd->val & 0xff00) | cmd->reg; in i2c_write()
501 while (--ncmds > 0) { in i2c_write()
510 val, idx, gspca_dev->usb_buf[0], buf[-1]); in i2c_write()
512 usb_sndctrlpipe(gspca_dev->dev, 0), in i2c_write()
513 0x0c, /* request */ in i2c_write()
518 if (ret < 0) { in i2c_write()
533 if (gspca_dev->usb_err < 0) in ucbus_write()
552 while (--len > 0) { in ucbus_write()
561 gspca_dev->usb_buf[0], buf[-1]); in ucbus_write()
566 usb_sndctrlpipe(gspca_dev->dev, 0), in ucbus_write()
567 0x0c, /* request */ in ucbus_write()
572 if (ret < 0) { in ucbus_write()
578 if (ncmds <= 0) in ucbus_write()
588 if (mask & 0x00ff) { in gpio_set()
589 sd->gpio[0] &= ~mask; in gpio_set()
590 sd->gpio[0] |= val; in gpio_set()
591 reg_w(gspca_dev, 0x0100 | SQ930_CTRL_GPIO, in gpio_set()
592 ~sd->gpio[0] << 8); in gpio_set()
599 reg_w(gspca_dev, 0x0300 | SQ930_CTRL_GPIO, in gpio_set()
607 gpio_set(sd, *gpio++, 0x000f); in gpio_init()
608 gpio_set(sd, *gpio++, 0x000f); in gpio_init()
609 gpio_set(sd, *gpio++, 0x000f); in gpio_init()
610 gpio_set(sd, *gpio++, 0x000f); in gpio_init()
611 gpio_set(sd, *gpio, 0x000f); in gpio_init()
617 0xf031, 0 /* SQ930_CLKFREQ_60MHZ */ in bridge_init()
622 gpio_set(sd, SQ930_GPIO_POWER, 0xff00); in bridge_init()
638 for (i = 0; i < ARRAY_SIZE(probe_order); i++) { in cmos_probe()
643 reg_r(gspca_dev, (sensor->i2c_addr << 8) | 0x001c, 1); in cmos_probe()
645 if (gspca_dev->usb_buf[0] != 0) in cmos_probe()
668 0x00, 0x3b, 0xf6, 0x01, 0x03, 0x02, 0x00, 0x00, in mt9v111_init()
669 0x00, 0x00, 0x00 in mt9v111_init()
672 {0x10, 0x01, 0x66, 0x08, 0x00, 0x00, 0x00}, in mt9v111_init()
673 {0x01, 0x00, 0x1a, 0x04, 0x00, 0x00, 0x00}, in mt9v111_init()
674 {0x20, 0x00, 0x10, 0x04, 0x00, 0x00, 0x00}, in mt9v111_init()
675 {0x02, 0x01, 0xae, 0x01, 0x00, 0x00, 0x00}, in mt9v111_init()
678 reg_wb(gspca_dev, 0x001b, 0x0000, cmd_001b, sizeof cmd_001b); in mt9v111_init()
679 for (i = 0; i < ARRAY_SIZE(cmd_011b); i++) { in mt9v111_init()
680 reg_wb(gspca_dev, 0x001b, 0x0000, cmd_011b[i], in mt9v111_init()
681 ARRAY_SIZE(cmd_011b[0])); in mt9v111_init()
685 reg_r(gspca_dev, 0x031b, 1); in mt9v111_init()
686 if (gspca_dev->usb_buf[0] == 0 in mt9v111_init()
687 || gspca_dev->usb_err != 0) in mt9v111_init()
689 if (--nwait < 0) { in mt9v111_init()
711 gpio_set(sd, SQ930_GPIO_EXTRA1, 0x00ff); in global_init()
713 gpio_set(sd, 0, 0x00ff); in global_init()
743 {0xf810, ppl >> 8}, in lz24bp_ppl()
744 {0xf811, ppl} in lz24bp_ppl()
759 i = 0; in setexposure()
765 min_frclk = sd->sensor == SENSOR_ICX098BQ ? 0x210 : 0x26f; in setexposure()
767 intstartclk = 0; in setexposure()
782 cmd |= 0x0100; in setexposure()
785 buf[i++] = 0x08; /* 2 * ni2c */ in setexposure()
786 buf[i++] = 0x09; /* reg = shutter width */ in setexposure()
790 buf[i++] = 0x35; /* reg = global gain */ in setexposure()
791 buf[i++] = 0x00; /* val H */ in setexposure()
793 buf[i++] = 0x80 + gain / 2; /* val L */ in setexposure()
794 buf[i++] = 0x00; in setexposure()
795 buf[i++] = 0x00; in setexposure()
796 buf[i++] = 0x00; in setexposure()
797 buf[i++] = 0x00; in setexposure()
798 buf[i++] = 0x83; in setexposure()
801 reg_wb(gspca_dev, cmd, 0, buf, i); in setexposure()
819 return 0; in sd_config()
827 sd->gpio[0] = sd->gpio[1] = 0xff; /* force gpio rewrite */ in sd_init()
831 reg_w(gspca_dev, SQ930_CTRL_RESET, 0x0000); in sd_init()
835 if (gspca_dev->usb_err < 0) in sd_init()
839 * 03 00 12 93 0b f6 c9 00 live! ultra in sd_init()
840 * 03 00 07 93 0b f6 ca 00 live! ultra for notebook in sd_init()
841 * 03 00 12 93 0b fe c8 00 Trust WB-3500T in sd_init()
842 * 02 00 06 93 0b fe c8 00 Joy-IT 318S in sd_init()
843 * 03 00 12 93 0b f6 cf 00 icam tracer - sensor icx098bq in sd_init()
844 * 02 00 12 93 0b fe cf 00 ProQ Motion Webcam in sd_init()
847 * 0: 02 = usb 1.0 (12Mbit) / 03 = usb2.0 (480Mbit) in sd_init()
851 * 4: 0b in sd_init()
863 if (gspca_dev->usb_buf[5] == 0xf6) /* if ccd */ in sd_init()
868 if (gspca_dev->usb_err >= 0) { in sd_init()
885 reg_wb(gspca_dev, 0x0900 | SQ930_CTRL_CAP_START, in send_start()
886 0x0a00 | cap->cc_sizeid, in send_start()
892 reg_w(gspca_dev, SQ930_CTRL_CAP_STOP, 0); in send_stop()
901 sd->do_ctrl = 0; in sd_isoc_init()
904 return 0; in sd_isoc_init()
914 global_init(sd, 0); in sd_start()
932 gpio_set(sd, SQ930_GPIO_EXTRA2 | SQ930_GPIO_RSTBAR, 0x00ff); in sd_start()
934 reg_w(gspca_dev, SQ930_CTRL_CAP_STOP, 0x0000); in sd_start()
935 gpio_set(sd, 0x7f, 0x00ff); in sd_start()
939 gpio_set(sd, SQ930_GPIO_EXTRA2 | SQ930_GPIO_RSTBAR, 0x00ff); in sd_start()
957 lz24bp_ppl(sd, mode == 1 ? 0x0564 : 0x0310); in sd_start()
1024 gpio_set(sd, 0, SQ930_GPIO_DFL_LED); in sd_stopN()
1035 if (!sd->do_ctrl || gspca_dev->cam.bulk_nurbs != 0) in sd_dq_callback()
1037 sd->do_ctrl = 0; in sd_dq_callback()
1043 ret = usb_submit_urb(gspca_dev->urb[0], GFP_KERNEL); in sd_dq_callback()
1044 if (ret < 0) in sd_dq_callback()
1058 gspca_dev->cam.bulk_nurbs = 0; in sd_pkt_scan()
1059 gspca_frame_add(gspca_dev, FIRST_PACKET, NULL, 0); in sd_pkt_scan()
1061 gspca_frame_add(gspca_dev, LAST_PACKET, NULL, 0); in sd_pkt_scan()
1070 gspca_dev->usb_err = 0; in sd_s_ctrl()
1073 return 0; in sd_s_ctrl()
1095 V4L2_CID_EXPOSURE, 1, 0xfff, 1, 0x356); in sd_init_controls()
1097 V4L2_CID_GAIN, 1, 255, 1, 0x8d); in sd_init_controls()
1104 return 0; in sd_init_controls()
1125 {USB_DEVICE(0x041e, 0x4038), ST(MI0360, 0)},
1126 {USB_DEVICE(0x041e, 0x403c), ST(LZ24BP, 0)},
1127 {USB_DEVICE(0x041e, 0x403d), ST(LZ24BP, 0)},
1128 {USB_DEVICE(0x041e, 0x4041), ST(LZ24BP, Creative_live_motion)},
1129 {USB_DEVICE(0x2770, 0x930b), ST(MI0360, 0)},
1130 {USB_DEVICE(0x2770, 0x930c), ST(MI0360, 0)},