Searched refs:cam_i2c_write (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/media/i2c/
H A Dsr030pc30.c314 static int cam_i2c_write(struct v4l2_subdev *sd, u32 reg_addr, u32 val) cam_i2c_write() function
330 int ret = cam_i2c_write(sd, msg->addr, msg->val); sr030pc30_bulk_write_reg()
347 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg | 0x02); sr030pc30_pwr_ctrl()
349 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg); sr030pc30_pwr_ctrl()
372 return cam_i2c_write(sd, VDO_CTL2_REG, reg | 0x80); sr030pc30_set_flip()
385 ret = cam_i2c_write(sd, VDO_CTL1_REG, sr030pc30_set_params()
389 ret = cam_i2c_write(sd, ISP_CTL_REG(0), sr030pc30_set_params()
434 ret = cam_i2c_write(sd, AWB_CTL2_REG, sr030pc30_s_ctrl()
437 ret = cam_i2c_write(sd, AWB_CTL1_REG, sr030pc30_s_ctrl()
441 ret = cam_i2c_write(sd, MWB_BGAIN_REG, info->blue->val); sr030pc30_s_ctrl()
443 ret = cam_i2c_write(sd, MWB_RGAIN_REG, info->red->val); sr030pc30_s_ctrl()
449 ret = cam_i2c_write(sd, AE_CTL1_REG, sr030pc30_s_ctrl()
457 ret = cam_i2c_write(sd, EXP_TIMEH_REG, sr030pc30_s_ctrl()
460 ret = cam_i2c_write(sd, EXP_TIMEM_REG, sr030pc30_s_ctrl()
463 ret = cam_i2c_write(sd, EXP_TIMEL_REG, sr030pc30_s_ctrl()
574 ret = cam_i2c_write(sd, EXP_MMINH_REG, expmin >> 8 & 0xFF); sr030pc30_base_config()
576 ret = cam_i2c_write(sd, EXP_MMINL_REG, expmin & 0xFF); sr030pc30_base_config()
578 ret = cam_i2c_write(sd, EXP_MMAXH_REG, expmax >> 16 & 0xFF); sr030pc30_base_config()
580 ret = cam_i2c_write(sd, EXP_MMAXM_REG, expmax >> 8 & 0xFF); sr030pc30_base_config()
582 ret = cam_i2c_write(sd, EXP_MMAXL_REG, expmax & 0xFF); sr030pc30_base_config()
H A Dnoon010pc30.c270 static int cam_i2c_write(struct v4l2_subdev *sd, u32 reg_addr, u32 val) cam_i2c_write() function
285 int ret = cam_i2c_write(sd, msg->addr, msg->val); noon010_bulk_write_reg()
302 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg | 0x02); noon010_power_ctrl()
306 ret = cam_i2c_write(sd, POWER_CTRL_REG, reg); noon010_power_ctrl()
318 ret = cam_i2c_write(sd, AWB_CTL_REG(1), on ? 0x2E : 0x2F); noon010_enable_autowhitebalance()
320 ret = cam_i2c_write(sd, AWB_CTL_REG(0), on ? 0xFB : 0x7B); noon010_enable_autowhitebalance()
340 ret = cam_i2c_write(sd, VDO_CTL_REG(1), reg | 0x80); noon010_set_flip()
353 int ret = cam_i2c_write(sd, VDO_CTL_REG(0), noon010_set_params()
357 return cam_i2c_write(sd, ISP_CTL_REG(0), noon010_set_params()
481 ret = cam_i2c_write(sd, MWB_BGAIN_REG, ctrl->val); noon010_s_ctrl()
484 ret = cam_i2c_write(sd, MWB_RGAIN_REG, ctrl->val); noon010_s_ctrl()

Completed in 63 milliseconds