Lines Matching refs:write_reg
118 static int write_reg(struct i2c_client *client, u8 reg, u8 value, u8 channel) in write_reg() function
218 return write_reg(client, addr, reg, state->channel); in tw2804_s_ctrl()
226 return write_reg(client, addr, reg, state->channel); in tw2804_s_ctrl()
229 return write_reg(client, TW2804_REG_GAIN, ctrl->val, 0); in tw2804_s_ctrl()
232 return write_reg(client, TW2804_REG_CHROMA_GAIN, ctrl->val, 0); in tw2804_s_ctrl()
235 return write_reg(client, TW2804_REG_BLUE_BALANCE, ctrl->val, 0); in tw2804_s_ctrl()
238 return write_reg(client, TW2804_REG_RED_BALANCE, ctrl->val, 0); in tw2804_s_ctrl()
241 return write_reg(client, TW2804_REG_BRIGHTNESS, in tw2804_s_ctrl()
245 return write_reg(client, TW2804_REG_CONTRAST, in tw2804_s_ctrl()
249 return write_reg(client, TW2804_REG_SATURATION, in tw2804_s_ctrl()
253 return write_reg(client, TW2804_REG_HUE, in tw2804_s_ctrl()
329 reg = write_reg(client, 0x22, reg, dec->channel); in tw2804_s_video_routing()