Lines Matching refs:reg_w
188 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() function
214 reg_w(gspca_dev, seq[0], seq[1]); in reg_w_seq()
300 reg_w(gspca_dev, 0xff, 0x04); in setcontrast()
301 reg_w(gspca_dev, 0x10, val); in setcontrast()
303 reg_w(gspca_dev, 0x11, 0x01); in setcontrast()
308 reg_w(gspca_dev, 0xff, 0x04); /* page 4 */ in setgain()
309 reg_w(gspca_dev, 0x0e, 0x00); in setgain()
310 reg_w(gspca_dev, 0x0f, gspca_dev->gain->maximum - val + 1); in setgain()
313 reg_w(gspca_dev, 0x11, 0x01); in setgain()
318 reg_w(gspca_dev, 0xff, 0x04); /* page 4 */ in setexposure()
319 reg_w(gspca_dev, 0x02, val); in setexposure()
322 reg_w(gspca_dev, 0x11, 0x01); in setexposure()
328 reg_w(gspca_dev, 0xff, 0x01); in setexposure()
330 reg_w(gspca_dev, 0x08, 0x09); in setexposure()
332 reg_w(gspca_dev, 0x08, 0x08); in setexposure()
341 reg_w(gspca_dev, 0x80, 0x01); in setexposure()
343 reg_w(gspca_dev, 0x80, 0x1c); in setexposure()
346 reg_w(gspca_dev, 0x11, 0x01); in setexposure()
353 reg_w(gspca_dev, 0xff, 0x04); /* page 4 */ in sethvflip()
356 reg_w(gspca_dev, 0x21, data); in sethvflip()
359 reg_w(gspca_dev, 0x11, 0x01); in sethvflip()
461 reg_w(gspca_dev, 0xff, 0x01); in sd_start()
462 reg_w(gspca_dev, 0x17, 0x20); in sd_start()
463 reg_w(gspca_dev, 0x87, 0x10); in sd_start()
466 reg_w(gspca_dev, 0xff, 0x01); in sd_start()
467 reg_w(gspca_dev, 0x17, 0x30); in sd_start()
468 reg_w(gspca_dev, 0x87, 0x11); in sd_start()
471 reg_w(gspca_dev, 0xff, 0x01); in sd_start()
472 reg_w(gspca_dev, 0x17, 0x00); in sd_start()
473 reg_w(gspca_dev, 0x87, 0x12); in sd_start()
482 reg_w(gspca_dev, 0xff, 0x01); in sd_start()
483 reg_w(gspca_dev, 0x78, 0x05); in sd_start()
490 reg_w(gspca_dev, 0xff, 0x04); in sd_stopN()
491 reg_w(gspca_dev, 0x27, 0x80); in sd_stopN()
492 reg_w(gspca_dev, 0x28, 0xca); in sd_stopN()
493 reg_w(gspca_dev, 0x29, 0x53); in sd_stopN()
494 reg_w(gspca_dev, 0x2a, 0x0e); in sd_stopN()
495 reg_w(gspca_dev, 0xff, 0x01); in sd_stopN()
496 reg_w(gspca_dev, 0x3e, 0x20); in sd_stopN()
497 reg_w(gspca_dev, 0x78, 0x44); /* Bit_0=start stream, Bit_6=LED */ in sd_stopN()
498 reg_w(gspca_dev, 0x78, 0x44); /* Bit_0=start stream, Bit_6=LED */ in sd_stopN()
499 reg_w(gspca_dev, 0x78, 0x44); /* Bit_0=start stream, Bit_6=LED */ in sd_stopN()