Lines Matching refs:i2c_r
2409 static int i2c_r(struct sd *sd, u8 reg) in i2c_r() function
2454 rc = i2c_r(sd, reg); in i2c_w_mask()
2548 if (i2c_r(sd, OV7610_REG_ID_HIGH) == 0x7f && in init_ov_sensor()
2549 i2c_r(sd, OV7610_REG_ID_LOW) == 0xa2) { in init_ov_sensor()
2562 if (i2c_r(sd, 0x00) < 0) in init_ov_sensor()
2629 high = i2c_r(sd, 0x0a); in ov_hires_configure()
2630 low = i2c_r(sd, 0x0b); in ov_hires_configure()
2672 rc = i2c_r(sd, OV7610_REG_COM_I); in ov8xx0_configure()
2695 rc = i2c_r(sd, OV7610_REG_COM_I); in ov7xx0_configure()
2705 high = i2c_r(sd, 0x0a); in ov7xx0_configure()
2706 low = i2c_r(sd, 0x0b); in ov7xx0_configure()
2718 if (i2c_r(sd, 0x15) & 1) { in ov7xx0_configure()
2727 high = i2c_r(sd, 0x0a); in ov7xx0_configure()
2732 low = i2c_r(sd, 0x0b); in ov7xx0_configure()
2783 rc = i2c_r(sd, OV7610_REG_COM_I); in ov6xx0_configure()
4035 v = i2c_r(sd, OV7670_R32_HREF); in mode_init_ov_sensor_regs()
4043 v = i2c_r(sd, OV7670_R03_VREF); in mode_init_ov_sensor_regs()
4825 gspca_dev->exposure->val = i2c_r(sd, 0x10); in sd_g_volatile_ctrl()