Lines Matching refs:write_reg_fp
185 static int write_reg_fp(struct i2c_client *client, u16 addr, u16 val) in write_reg_fp() function
308 if (write_reg_fp(client, regs[i], regs[i+1]) < 0) { in write_regs_fp()
329 write_reg_fp(client, 0x20, 0x020 | vidsys); in s2250_s_video_routing()
330 write_reg_fp(client, 0x21, 0x662); in s2250_s_video_routing()
331 write_reg_fp(client, 0x140, 0x060); in s2250_s_video_routing()
334 write_reg_fp(client, 0x20, 0x040 | vidsys); in s2250_s_video_routing()
335 write_reg_fp(client, 0x21, 0x666); in s2250_s_video_routing()
336 write_reg_fp(client, 0x140, 0x060); in s2250_s_video_routing()
354 write_reg_fp(client, 0x20, vidsource); in s2250_s_std()
357 write_reg_fp(client, 0x20, vidsource | 1); in s2250_s_std()
372 write_reg_fp(client, VPX322_ADDR_BRIGHTNESS0, in s2250_s_ctrl()
375 write_reg_fp(client, VPX322_ADDR_BRIGHTNESS1, in s2250_s_ctrl()
377 write_reg_fp(client, 0x140, 0x60); in s2250_s_ctrl()
381 write_reg_fp(client, VPX322_ADDR_CONTRAST0, in s2250_s_ctrl()
384 write_reg_fp(client, VPX322_ADDR_CONTRAST1, in s2250_s_ctrl()
386 write_reg_fp(client, 0x140, 0x60); in s2250_s_ctrl()
389 write_reg_fp(client, VPX322_ADDR_SAT, ctrl->val); in s2250_s_ctrl()
392 write_reg_fp(client, VPX322_ADDR_HUE, ctrl->val); in s2250_s_ctrl()
415 write_reg_fp(client, 0x12b, state->reg12b_val | 0x400); in s2250_set_fmt()
416 write_reg_fp(client, 0x140, 0x060); in s2250_set_fmt()
418 write_reg_fp(client, 0x12b, state->reg12b_val & ~0x400); in s2250_set_fmt()
419 write_reg_fp(client, 0x140, 0x060); in s2250_set_fmt()
562 write_reg_fp(client, 0x20, 0x020 | 1); in s2250_probe()
563 write_reg_fp(client, 0x21, 0x662); in s2250_probe()
564 write_reg_fp(client, 0x140, 0x060); in s2250_probe()