Lines Matching refs:reg_w_val

275 static void reg_w_val(struct gspca_dev *gspca_dev, __u16 index, __u8 value)  in reg_w_val()  function
297 reg_w_val(gspca_dev, data[i][1], data[i][0]); in write_vector()
330 reg_w_val(gspca_dev, 0x8801, reg); in i2c_write()
331 reg_w_val(gspca_dev, 0x8805, value); in i2c_write()
332 reg_w_val(gspca_dev, 0x8800, value >> 8); in i2c_write()
346 reg_w_val(gspca_dev, 0x8804, 0x92); in i2c_read()
347 reg_w_val(gspca_dev, 0x8801, reg); in i2c_read()
348 reg_w_val(gspca_dev, 0x8802, mode | 0x01); in i2c_read()
450 reg_w_val(gspca_dev, 0x8112, 0x30); in sd_init_72a()
464 reg_w_val(gspca_dev, reg + 0, val); /* R */ in setbrightness()
465 reg_w_val(gspca_dev, reg + 1, val); /* Gr */ in setbrightness()
466 reg_w_val(gspca_dev, reg + 2, val); /* B */ in setbrightness()
467 reg_w_val(gspca_dev, reg + 3, val); /* Gb */ in setbrightness()
485 reg_w_val(gspca_dev, 0x8652, contrast + 0x20); /* Gr */ in setwhite()
486 reg_w_val(gspca_dev, 0x8654, contrast + 0x20); /* Gb */ in setwhite()
488 reg_w_val(gspca_dev, reg, red); in setwhite()
489 reg_w_val(gspca_dev, reg + 2, blue); in setwhite()
566 reg_w_val(gspca_dev, 0x8500, 0x10 | mode); in sd_start_12a()
571 reg_w_val(gspca_dev, 0x8500, mode); in sd_start_12a()
578 reg_w_val(gspca_dev, 0x8700, 0x8a); in sd_start_12a()
580 reg_w_val(gspca_dev, 0x8112, 0x1e | 0x20); in sd_start_12a()
581 reg_w_val(gspca_dev, 0x850b, 0x03); in sd_start_12a()
587 reg_w_val(gspca_dev, 0x8114, 0x00); in sd_start_12a()
617 reg_w_val(gspca_dev, 0x8700, Clck); /* 0x27 clock */ in sd_start_72a()
618 reg_w_val(gspca_dev, 0x8702, 0x81); in sd_start_72a()
619 reg_w_val(gspca_dev, 0x8500, mode); /* mode */ in sd_start_72a()
625 reg_w_val(gspca_dev, 0x8112, 0x10 | 0x20); in sd_start_72a()
634 reg_w_val(gspca_dev, 0x8112, 0x0e); in sd_stopN()
636 reg_w_val(gspca_dev, 0x8114, 0x08); in sd_stopN()
638 reg_w_val(gspca_dev, 0x8112, 0x20); in sd_stopN()