Lines Matching refs:i2c_r
2437 static int i2c_r(struct sd *sd, u8 reg) in i2c_r() function
2482 rc = i2c_r(sd, reg); in i2c_w_mask()
2576 if (i2c_r(sd, OV7610_REG_ID_HIGH) == 0x7f && in init_ov_sensor()
2577 i2c_r(sd, OV7610_REG_ID_LOW) == 0xa2) { in init_ov_sensor()
2589 if (i2c_r(sd, 0x00) < 0) in init_ov_sensor()
2656 high = i2c_r(sd, 0x0a); in ov_hires_configure()
2657 low = i2c_r(sd, 0x0b); in ov_hires_configure()
2698 rc = i2c_r(sd, OV7610_REG_COM_I); in ov8xx0_configure()
2720 rc = i2c_r(sd, OV7610_REG_COM_I); in ov7xx0_configure()
2730 high = i2c_r(sd, 0x0a); in ov7xx0_configure()
2731 low = i2c_r(sd, 0x0b); in ov7xx0_configure()
2742 if (i2c_r(sd, 0x15) & 1) { in ov7xx0_configure()
2751 high = i2c_r(sd, 0x0a); in ov7xx0_configure()
2756 low = i2c_r(sd, 0x0b); in ov7xx0_configure()
2805 rc = i2c_r(sd, OV7610_REG_COM_I); in ov6xx0_configure()
4044 v = i2c_r(sd, OV7670_R32_HREF); in mode_init_ov_sensor_regs()
4052 v = i2c_r(sd, OV7670_R03_VREF); in mode_init_ov_sensor_regs()
4835 gspca_dev->exposure->val = i2c_r(sd, 0x10); in sd_g_volatile_ctrl()