Lines Matching refs:reg_w
387 static int reg_w(struct gspca_dev *gspca_dev, in reg_w() function
452 ret = reg_w(gspca_dev, data[i][0], data[i][2], data[i][1]); in write_vector()
470 err = reg_w(gspca_dev, request, ybase + i, qtable[0][i]); in spca50x_setup_qtable()
477 err = reg_w(gspca_dev, request, cbase + i, qtable[1][i]); in spca50x_setup_qtable()
496 reg_w(gspca_dev, 0x00, 0x8167, 0x5a); in spca500_clksmart310_init()
499 reg_w(gspca_dev, 0x00, 0x8168, 0x22); in spca500_clksmart310_init()
500 reg_w(gspca_dev, 0x00, 0x816a, 0xc0); in spca500_clksmart310_init()
501 reg_w(gspca_dev, 0x00, 0x816b, 0x0b); in spca500_clksmart310_init()
502 reg_w(gspca_dev, 0x00, 0x8169, 0x25); in spca500_clksmart310_init()
503 reg_w(gspca_dev, 0x00, 0x8157, 0x5b); in spca500_clksmart310_init()
504 reg_w(gspca_dev, 0x00, 0x8158, 0x5b); in spca500_clksmart310_init()
505 reg_w(gspca_dev, 0x00, 0x813f, 0x03); in spca500_clksmart310_init()
506 reg_w(gspca_dev, 0x00, 0x8151, 0x4a); in spca500_clksmart310_init()
507 reg_w(gspca_dev, 0x00, 0x8153, 0x78); in spca500_clksmart310_init()
508 reg_w(gspca_dev, 0x00, 0x0d01, 0x04); in spca500_clksmart310_init()
510 reg_w(gspca_dev, 0x00, 0x0d02, 0x01); in spca500_clksmart310_init()
511 reg_w(gspca_dev, 0x00, 0x8169, 0x25); in spca500_clksmart310_init()
512 reg_w(gspca_dev, 0x00, 0x0d01, 0x02); in spca500_clksmart310_init()
521 reg_w(gspca_dev, 0, 0x8001, xmult); in spca500_setmode()
524 reg_w(gspca_dev, 0, 0x8002, ymult); in spca500_setmode()
528 reg_w(gspca_dev, 0, 0x8003, mode << 4); in spca500_setmode()
536 err = reg_w(gspca_dev, 0xe0, 0x0001, 0x0000); in spca500_full_reset()
544 err = reg_w(gspca_dev, 0xe0, 0x0000, 0x0000); in spca500_full_reset()
594 reg_w(gspca_dev, 0x00, 0x0d01, 0x01); in spca500_reinit()
595 reg_w(gspca_dev, 0x00, 0x0d03, 0x00); in spca500_reinit()
596 reg_w(gspca_dev, 0x00, 0x0d02, 0x01); in spca500_reinit()
599 reg_w(gspca_dev, 0x00, 0x850a, 0x0001); in spca500_reinit()
607 reg_w(gspca_dev, 0x00, 0x8880, 2); in spca500_reinit()
609 reg_w(gspca_dev, 0x00, 0x800a, 0x00); in spca500_reinit()
611 reg_w(gspca_dev, 0x00, 0x820f, 0x01); in spca500_reinit()
613 reg_w(gspca_dev, 0x00, 0x870a, 0x04); in spca500_reinit()
615 reg_w(gspca_dev, 0, 0x8003, 0x00); in spca500_reinit()
617 reg_w(gspca_dev, 0x00, 0x8000, 0x0004); in spca500_reinit()
622 reg_w(gspca_dev, 0x00, 0x816b, Data); in spca500_reinit()
697 reg_w(gspca_dev, 0x00, 0x850a, 0x0001); in sd_start()
698 reg_w(gspca_dev, 0x00, 0x8880, 3); in sd_start()
705 reg_w(gspca_dev, 0x00, 0x870a, 0x04); in sd_start()
708 reg_w(gspca_dev, 0x00, 0x8000, 0x0004); in sd_start()
715 reg_w(gspca_dev, 0x00, 0x816b, Data); in sd_start()
722 err = reg_w(gspca_dev, 0x00, 0x850a, 0x0001); in sd_start()
725 reg_w(gspca_dev, 0x00, 0x8880, 3); in sd_start()
733 reg_w(gspca_dev, 0x00, 0x870a, 0x04); in sd_start()
736 reg_w(gspca_dev, 0x00, 0x8000, 0x0004); in sd_start()
743 reg_w(gspca_dev, 0x00, 0x816b, Data); in sd_start()
756 err = reg_w(gspca_dev, 0x00, 0x850a, 0x0001); in sd_start()
759 reg_w(gspca_dev, 0x00, 0x8880, 3); in sd_start()
767 reg_w(gspca_dev, 0x20, 0x0001, 0x0004); in sd_start()
770 reg_w(gspca_dev, 0x00, 0x8000, 0x0004); in sd_start()
777 reg_w(gspca_dev, 0x00, 0x816b, Data); in sd_start()
788 reg_w(gspca_dev, 0x00, 0x850a, 0x0001); in sd_start()
789 reg_w(gspca_dev, 0x00, 0x8880, 0); in sd_start()
797 reg_w(gspca_dev, 0x20, 0x0001, 0x0004); in sd_start()
800 reg_w(gspca_dev, 0x00, 0x8000, 0x0004); in sd_start()
807 reg_w(gspca_dev, 0x00, 0x816b, Data); in sd_start()
822 reg_w(gspca_dev, 0x00, 0x0d01, 0x01); in sd_start()
824 reg_w(gspca_dev, 0x00, 0x850a, 0x0001); in sd_start()
830 reg_w(gspca_dev, 0x00, 0x8880, 2); in sd_start()
833 reg_w(gspca_dev, 0x00, 0x800a, 0x00); in sd_start()
835 reg_w(gspca_dev, 0x00, 0x820f, 0x01); in sd_start()
837 reg_w(gspca_dev, 0x00, 0x870a, 0x04); in sd_start()
841 reg_w(gspca_dev, 0x00, 0x8000, 0x0004); in sd_start()
847 reg_w(gspca_dev, 0x00, 0x816b, Data); in sd_start()
851 reg_w(gspca_dev, 0x02, 0x00, 0x00); in sd_start()
853 reg_w(gspca_dev, 0x00, 0x850a, 0x0001); in sd_start()
860 reg_w(gspca_dev, 0x00, 0x8880, 3); in sd_start()
861 reg_w(gspca_dev, 0x00, 0x800a, 0x00); in sd_start()
863 reg_w(gspca_dev, 0x00, 0x870a, 0x04); in sd_start()
868 reg_w(gspca_dev, 0x00, 0x8000, 0x0004); in sd_start()
873 reg_w(gspca_dev, 0x00, 0x816b, Data); in sd_start()
882 reg_w(gspca_dev, 0, 0x8003, 0x00); in sd_stopN()
885 reg_w(gspca_dev, 0x00, 0x8000, 0x0004); in sd_stopN()
939 reg_w(gspca_dev, 0x00, 0x8167, in setbrightness()
947 reg_w(gspca_dev, 0x00, 0x8168, sd->contrast); in setcontrast()
954 reg_w(gspca_dev, 0x00, 0x8169, sd->colors); in setcolors()