Lines Matching refs:reg_w
256 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() function
282 reg_w(gspca_dev, seq[0], seq[1]); in reg_w_seq()
380 reg_w(gspca_dev, 0xff, 0x00); /* page 0 */ in setbrightcont()
390 reg_w(gspca_dev, 0xa2 + i, v); in setbrightcont()
392 reg_w(gspca_dev, 0xdc, 0x01); in setbrightcont()
404 reg_w(gspca_dev, 0xff, 0x03); /* page 3 */ in setcolors()
405 reg_w(gspca_dev, 0x11, 0x01); in setcolors()
406 reg_w(gspca_dev, 0xff, 0x00); /* page 0 */ in setcolors()
410 reg_w(gspca_dev, 0x0f + 2 * i, (v >> 8) & 0x07); in setcolors()
411 reg_w(gspca_dev, 0x0f + 2 * i + 1, v); in setcolors()
413 reg_w(gspca_dev, 0xdc, 0x01); in setcolors()
420 reg_w(gspca_dev, 0xff, 0x00); /* page 0 */ in setwhitebalance()
421 reg_w(gspca_dev, 0xc6, sd->white_balance->val); in setwhitebalance()
423 reg_w(gspca_dev, 0xdc, 0x01); in setwhitebalance()
448 reg_w(gspca_dev, 0xff, 0x00); /* page 0 */ in setredbalance()
449 reg_w(gspca_dev, 0x01, in setredbalance()
452 reg_w(gspca_dev, 0xdc, 0x01); in setredbalance()
459 reg_w(gspca_dev, 0xff, 0x00); /* page 0 */ in setbluebalance()
460 reg_w(gspca_dev, 0x03, in setbluebalance()
463 reg_w(gspca_dev, 0xdc, 0x01); in setbluebalance()
478 reg_w(gspca_dev, 0xff, 0x03); /* page 3 */ in setgain()
479 reg_w(gspca_dev, 0x10, reg10); in setgain()
480 reg_w(gspca_dev, 0x12, reg12); in setgain()
483 reg_w(gspca_dev, 0x11, 0x01); in setgain()
525 reg_w(gspca_dev, 0xff, 0x03); /* page 3 */ in setexposure()
526 reg_w(gspca_dev, 0x02, clockdiv); in setexposure()
527 reg_w(gspca_dev, 0x0e, exposure & 0xff); in setexposure()
528 reg_w(gspca_dev, 0x0f, exposure >> 8); in setexposure()
531 reg_w(gspca_dev, 0x11, 0x01); in setexposure()
546 reg_w(gspca_dev, 0xff, 0x03); /* page 3 */ in sethvflip()
548 reg_w(gspca_dev, 0x21, data); in sethvflip()
551 reg_w(gspca_dev, 0x11, 0x01); in sethvflip()
558 reg_w(gspca_dev, 0xff, 0x00); /* page 0 */ in setsharpness()
559 reg_w(gspca_dev, 0xb6, sd->sharpness->val); in setsharpness()
561 reg_w(gspca_dev, 0xdc, 0x01); in setsharpness()
701 reg_w(gspca_dev, 0xff, 0x01); in sd_start()
702 reg_w(gspca_dev, 0x78, 0x01); in sd_start()
711 reg_w(gspca_dev, 0xff, 0x01); in sd_stopN()
712 reg_w(gspca_dev, 0x78, 0x00); in sd_stopN()
720 reg_w(gspca_dev, 0xff, 0x01); in sd_stop0()
721 reg_w(gspca_dev, 0x78, 0x40); in sd_stop0()
850 reg_w(gspca_dev, 0xff, 0x00); /* page 0 */ in sd_dbg_s_register()
851 reg_w(gspca_dev, index, value); in sd_dbg_s_register()
853 reg_w(gspca_dev, 0xdc, 0x01); in sd_dbg_s_register()