Lines Matching refs:pac207_write_reg
108 static void pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value) in pac207_write_reg() function
188 pac207_write_reg(gspca_dev, 0x41, mode); in sd_init()
189 pac207_write_reg(gspca_dev, 0x0f, 0x00); /* Power Control */ in sd_init()
196 pac207_write_reg(gspca_dev, reg, val); in setcontrol()
197 pac207_write_reg(gspca_dev, 0x13, 0x01); /* Bit 0, auto clear */ in setcontrol()
198 pac207_write_reg(gspca_dev, 0x1c, 0x01); /* not documented */ in setcontrol()
281 pac207_write_reg(gspca_dev, 0x0f, 0x10); /* Power control (Bit 6-0) */ in sd_start()
289 pac207_write_reg(gspca_dev, 0x4a, 0xff); in sd_start()
291 pac207_write_reg(gspca_dev, 0x4a, 0x30); in sd_start()
292 pac207_write_reg(gspca_dev, 0x4b, 0x00); /* Sram test value */ in sd_start()
293 pac207_write_reg(gspca_dev, 0x08, v4l2_ctrl_g_ctrl(sd->brightness)); in sd_start()
296 pac207_write_reg(gspca_dev, 0x0e, in sd_start()
298 pac207_write_reg(gspca_dev, 0x02, in sd_start()
312 pac207_write_reg(gspca_dev, 0x41, mode); in sd_start()
314 pac207_write_reg(gspca_dev, 0x13, 0x01); /* Bit 0, auto clear */ in sd_start()
315 pac207_write_reg(gspca_dev, 0x1c, 0x01); /* not documented */ in sd_start()
317 pac207_write_reg(gspca_dev, 0x40, 0x01); /* Start ISO pipe */ in sd_start()
334 pac207_write_reg(gspca_dev, 0x40, 0x00); /* Stop ISO pipe */ in sd_stopN()
335 pac207_write_reg(gspca_dev, 0x41, mode); /* Turn off LED */ in sd_stopN()
336 pac207_write_reg(gspca_dev, 0x0f, 0x00); /* Power Control */ in sd_stopN()