• Home
  • Raw
  • Download

Lines Matching refs:reg_w

975 static void reg_w(struct gspca_dev *gspca_dev, u8 index, u8 value)  in reg_w()  function
1014 reg_w(gspca_dev, p->reg, p->val); in reg_w_buf()
1023 reg_w(gspca_dev, TP6800_R11_SIF_CONTROL, 0x00); in i2c_w()
1024 reg_w(gspca_dev, TP6800_R19_SIF_ADDR_S2, index); in i2c_w()
1025 reg_w(gspca_dev, TP6800_R13_SIF_TX_DATA, value); in i2c_w()
1026 reg_w(gspca_dev, TP6800_R11_SIF_CONTROL, 0x01); in i2c_w()
1033 reg_w(gspca_dev, TP6800_R11_SIF_CONTROL, 0x00); in i2c_w()
1051 reg_w(gspca_dev, TP6800_R19_SIF_ADDR_S2, index); in i2c_r()
1052 reg_w(gspca_dev, TP6800_R11_SIF_CONTROL, 0x02); in i2c_r()
1065 reg_w(gspca_dev, TP6800_R11_SIF_CONTROL, 0x00); in i2c_r()
1108 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio); in probe_6810()
1109 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1110 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio); in probe_6810()
1111 reg_w(gspca_dev, TP6800_R10_SIF_TYPE, 0x04); /* i2c 16 bits */ in probe_6810()
1112 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x21); /* ov??? */ in probe_6810()
1113 reg_w(gspca_dev, TP6800_R1A_SIF_TX_DATA2, 0x00); in probe_6810()
1117 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1118 reg_w(gspca_dev, TP6800_R10_SIF_TYPE, 0x00); /* i2c 8 bits */ in probe_6810()
1119 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x7f); /* (unknown i2c) */ in probe_6810()
1123 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1124 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio); in probe_6810()
1125 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1126 reg_w(gspca_dev, TP6800_R10_SIF_TYPE, 0x00); /* i2c 8 bits */ in probe_6810()
1127 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x11); /* tas??? / hv??? */ in probe_6810()
1132 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1133 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio); in probe_6810()
1134 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1135 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x6e); /* po??? */ in probe_6810()
1144 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1145 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio); in probe_6810()
1146 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1147 reg_w(gspca_dev, TP6800_R10_SIF_TYPE, 0x04); /* i2c 16 bits */ in probe_6810()
1148 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x5d); /* mi/mt??? */ in probe_6810()
1153 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1154 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio); in probe_6810()
1155 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1156 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x5c); /* mi/mt??? */ in probe_6810()
1161 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio); in probe_6810()
1162 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1163 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio); in probe_6810()
1164 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x61); /* (unknown i2c) */ in probe_6810()
1165 reg_w(gspca_dev, TP6800_R1A_SIF_TX_DATA2, 0x10); in probe_6810()
1169 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1170 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio); in probe_6810()
1171 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, gpio | 0x20); in probe_6810()
1172 reg_w(gspca_dev, TP6800_R10_SIF_TYPE, 0x00); /* i2c 8 bits */ in probe_6810()
1173 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x20); /* cx0342 */ in probe_6810()
1237 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x20); /* cx0342 I2C addr */ in cx0342_6810_init()
1463 reg_w(gspca_dev, TP6800_R7A_BLK_THRLD, 0x00); in setquality()
1464 reg_w(gspca_dev, TP6800_R79_QUALITY, 0x04); in setquality()
1465 reg_w(gspca_dev, TP6800_R79_QUALITY, q); in setquality()
1470 reg_w(gspca_dev, TP6800_R7A_BLK_THRLD, 0x19); in setquality()
3813 reg_w(gspca_dev, TP6800_R21_ENDP_1_CTL, 0x00); in setgamma()
3815 reg_w(gspca_dev, 0x02, 0x28); in setgamma()
3823 reg_w(gspca_dev, 0x02, 0x2b); in setgamma()
3824 reg_w(gspca_dev, 0x02, 0x28); in setgamma()
3826 reg_w(gspca_dev, TP6800_R55_GAMMA_R, in setgamma()
3828 reg_w(gspca_dev, 0x02, 0x2b); in setgamma()
3829 reg_w(gspca_dev, 0x02, 0x28); in setgamma()
3831 reg_w(gspca_dev, TP6800_R56_GAMMA_G, in setgamma()
3833 reg_w(gspca_dev, 0x02, 0x2b); in setgamma()
3834 reg_w(gspca_dev, 0x02, 0x28); in setgamma()
3836 reg_w(gspca_dev, TP6800_R57_GAMMA_B, in setgamma()
3838 reg_w(gspca_dev, 0x02, 0x28); in setgamma()
3840 reg_w(gspca_dev, TP6800_R21_ENDP_1_CTL, 0x03); in setgamma()
3851 reg_w(gspca_dev, TP6800_R78_FORMAT, 0x00); /* vga */ in setsharpness()
3854 reg_w(gspca_dev, TP6800_R5D_DEMOSAIC_CFG, val); in setsharpness()
3857 reg_w(gspca_dev, 0x59, val); in setsharpness()
3873 reg_w(gspca_dev, TP6800_R21_ENDP_1_CTL, 0x00); in set_resolution()
3875 reg_w(gspca_dev, TP6800_R3F_FRAME_RATE, 0x06); in set_resolution()
3879 reg_w(gspca_dev, TP6800_R21_ENDP_1_CTL, 0x03); in set_resolution()
3880 reg_w(gspca_dev, TP6800_R78_FORMAT, 0x01); /* qvga */ in set_resolution()
3881 reg_w(gspca_dev, TP6800_R5D_DEMOSAIC_CFG, 0x0d); in set_resolution()
3885 reg_w(gspca_dev, TP6800_R3F_FRAME_RATE, 0x05); in set_resolution()
3889 reg_w(gspca_dev, TP6800_R21_ENDP_1_CTL, 0x03); in set_resolution()
3890 reg_w(gspca_dev, TP6800_R78_FORMAT, 0x00); /* vga */ in set_resolution()
3891 reg_w(gspca_dev, TP6800_R5D_DEMOSAIC_CFG, 0x09); in set_resolution()
3945 reg_w(gspca_dev, 0x7b, in setframerate()
3951 reg_w(gspca_dev, TP6800_R3F_FRAME_RATE, fr_idx); in setframerate()
4127 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x20); in sd_isoc_init()
4128 reg_w(gspca_dev, TP6800_R3F_FRAME_RATE, 0x87); in sd_isoc_init()
4134 reg_w(gspca_dev, 0x59, 0x40); in sd_isoc_init()
4136 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x21); in sd_isoc_init()
4143 reg_w(gspca_dev, TP6800_R78_FORMAT, in sd_isoc_init()
4158 reg_w(gspca_dev, TP6800_R18_GPIO_DATA, data); in set_led()
4232 reg_w(gspca_dev, TP6800_R5C_EDGE_THRLD, 0x10); in cx0342_6800_start()
4233 reg_w(gspca_dev, TP6800_R54_DARK_CFG, 0x00); in cx0342_6800_start()
4316 reg_w(gspca_dev, 0x22, gspca_dev->alt); in cx0342_6810_start()
4323 reg_w(gspca_dev, 0x4a, 0x7f); in cx0342_6810_start()
4324 reg_w(gspca_dev, 0x07, 0x05); in cx0342_6810_start()
4325 reg_w(gspca_dev, TP6800_R78_FORMAT, 0x00); /* vga */ in cx0342_6810_start()
4327 reg_w(gspca_dev, 0x4a, 0xff); in cx0342_6810_start()
4328 reg_w(gspca_dev, 0x07, 0x85); in cx0342_6810_start()
4329 reg_w(gspca_dev, TP6800_R78_FORMAT, 0x01); /* qvga */ in cx0342_6810_start()
4337 reg_w(gspca_dev, TP6800_R3F_FRAME_RATE, 0x87); in cx0342_6810_start()
4447 reg_w(gspca_dev, TP6800_R5C_EDGE_THRLD, 0x10); in soi763a_6800_start()
4448 reg_w(gspca_dev, TP6800_R54_DARK_CFG, 0x00); in soi763a_6800_start()
4492 reg_w(gspca_dev, 0x22, gspca_dev->alt); in soi763a_6810_start()
4494 reg_w(gspca_dev, 0x59, 0x40); in soi763a_6810_start()
4508 reg_w(gspca_dev, 0x4a, 0x7f); in soi763a_6810_start()
4509 reg_w(gspca_dev, 0x07, 0x05); in soi763a_6810_start()
4510 reg_w(gspca_dev, TP6800_R78_FORMAT, 0x00); /* vga */ in soi763a_6810_start()
4512 reg_w(gspca_dev, 0x4a, 0xff); in soi763a_6810_start()
4513 reg_w(gspca_dev, 0x07, 0x85); in soi763a_6810_start()
4514 reg_w(gspca_dev, TP6800_R78_FORMAT, 0x01); /* qvga */ in soi763a_6810_start()
4521 reg_w(gspca_dev, 0x4f, 0x00); in soi763a_6810_start()
4522 reg_w(gspca_dev, 0x4e, 0x7c); in soi763a_6810_start()
4525 reg_w(gspca_dev, 0x00, 0x00); in soi763a_6810_start()
4531 reg_w(gspca_dev, TP6800_R3F_FRAME_RATE, 0xf0); in soi763a_6810_start()
4563 reg_w(gspca_dev, 0x80, 0x03); in sd_start()
4564 reg_w(gspca_dev, 0x82, gspca_dev->curr_mode ? 0x0a : 0x0e); in sd_start()
4594 reg_w(gspca_dev, TP6800_R2F_TIMING_CFG, 0x03); in sd_stopN()
4596 reg_w(gspca_dev, TP6800_R21_ENDP_1_CTL, 0x00); in sd_stopN()
4696 reg_w(gspca_dev, 0x7d, 0x00); in sd_dq_callback()
4699 reg_w(gspca_dev, 0x27, 0xb0); in sd_dq_callback()
4702 reg_w(gspca_dev, 0x0c, 0x01); in sd_dq_callback()
4718 reg_w(gspca_dev, 0x27, 0xd0); in sd_dq_callback()
4742 reg_w(gspca_dev, 0x7d, 0x00); in sd_dq_callback()