• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/

Lines Matching defs:reg_write

440 static int reg_write(struct i2c_client *client, const u16 reg,
466 return reg_write(client, reg, (ret & ~mask) | (data & mask));
475 ret = reg_write(client, rv->reg, rv->val);
510 return reg_write(client, RJ54N1_OUT_SIGPO, 1 << 4);
512 return reg_write(client, RJ54N1_OUT_SIGPO, 0);
533 ret = reg_write(client, reg_xy,
538 ret = reg_write(client, reg_x, width & 0xff);
540 ret = reg_write(client, reg_y, height & 0xff);
551 int ret = reg_write(client, RJ54N1_INIT_START, 1);
554 ret = reg_write(client, RJ54N1_INIT_START, 0);
733 ret = reg_write(client, RJ54N1_RESIZE_HOLD_L, resize & 0xff);
735 ret = reg_write(client, RJ54N1_RESIZE_HOLD_H, resize >> 8);
761 ret = reg_write(client, RJ54N1_INC_USE_SEL_L, inc_sel & 0xfc);
763 ret = reg_write(client, RJ54N1_INC_USE_SEL_H, inc_sel >> 8);
775 ret = reg_write(client, RJ54N1_BIT8_WB, wb_bit8);
777 ret = reg_write(client, RJ54N1_HCAPS_WB, wb_left);
779 ret = reg_write(client, RJ54N1_VCAPS_WB, wb_top);
781 ret = reg_write(client, RJ54N1_HCAPE_WB, wb_right);
783 ret = reg_write(client, RJ54N1_VCAPE_WB, wb_bottom);
793 ret = reg_write(client, RJ54N1_PEAK_H,
796 ret = reg_write(client, RJ54N1_PEAK_50, peak_50);
798 ret = reg_write(client, RJ54N1_PEAK_60, peak_60);
800 ret = reg_write(client, RJ54N1_PEAK_DIFF, peak / 150);
804 ret = reg_write(client, RJ54N1_RESIZE_CONTROL,
813 ret = reg_write(client, RJ54N1_RESIZE_CONTROL, RESIZE_HOLD_SEL | 1);
834 ret = reg_write(client, RJ54N1_RESET_STANDBY, E_EXCLK | SOFT_STDBY);
837 ret = reg_write(client, RJ54N1_RESET_STANDBY, E_EXCLK);
840 ret = reg_write(client, RJ54N1_PLL_L, PLL_L);
842 ret = reg_write(client, RJ54N1_PLL_N, PLL_N);
846 ret = reg_write(client, RJ54N1_RATIO_TG,
849 ret = reg_write(client, RJ54N1_RATIO_T,
852 ret = reg_write(client, RJ54N1_RATIO_R,
857 ret = reg_write(client, RJ54N1_RAMP_TGCLK_EN, 3);
861 ret = reg_write(client, RJ54N1_OCLK_DSP, 0);
865 ret = reg_write(client, RJ54N1_RATIO_OP,
868 ret = reg_write(client, RJ54N1_RATIO_O,
873 ret = reg_write(client, RJ54N1_OCLK_SEL_EN, 1);
877 ret = reg_write(client, RJ54N1_TG_BYPASS, 2);
881 ret = reg_write(client, RJ54N1_RESET_STANDBY,
885 ret = reg_write(client, RJ54N1_PLL_EN, 1);
892 ret = reg_write(client, RJ54N1_CLK_RST, 1);
907 ret = reg_write(client, RJ54N1_OCLK_SEL_EN, 1);
924 ret = reg_write(client, RJ54N1_SCALE_1_2_LEV, 3 | (7 << 4));
926 ret = reg_write(client, RJ54N1_SCALE_4_LEV, 0xf);
930 ret = reg_write(client, RJ54N1_RESIZE_CONTROL,
935 ret = reg_write(client, RJ54N1_Y_GAIN, 0x84);
942 ret = reg_write(client, RJ54N1_MIRROR_STILL_MODE, 0x27);
949 ret = reg_write(client, RJ54N1_EXPOSURE_CONTROL, 0x80);
961 ret = reg_write(client, RJ54N1_RESET_STANDBY,
970 ret = reg_write(client, RJ54N1_RESET_STANDBY,
975 ret = reg_write(client, RJ54N1_FWFLG, 2);
1050 ret = reg_write(client, RJ54N1_OUT_SEL, 0);
1055 ret = reg_write(client, RJ54N1_OUT_SEL, 0);
1060 ret = reg_write(client, RJ54N1_OUT_SEL, 0x11);
1065 ret = reg_write(client, RJ54N1_OUT_SEL, 0x11);
1070 ret = reg_write(client, RJ54N1_OUT_SEL, 4);
1074 ret = reg_write(client, RJ54N1_RA_SEL_UL, 0);
1077 ret = reg_write(client, RJ54N1_OUT_SEL, 4);
1081 ret = reg_write(client, RJ54N1_RA_SEL_UL, 8);
1084 ret = reg_write(client, RJ54N1_OUT_SEL, 4);
1088 ret = reg_write(client, RJ54N1_RA_SEL_UL, 0);
1091 ret = reg_write(client, RJ54N1_OUT_SEL, 4);
1095 ret = reg_write(client, RJ54N1_RA_SEL_UL, 8);
1098 ret = reg_write(client, RJ54N1_OUT_SEL, 5);
1198 if (reg_write(client, reg->reg, reg->val) < 0)
1315 else if (reg_write(client, RJ54N1_Y_GAIN, ctrl->value * 2) < 0)
1384 ret = reg_write(client, RJ54N1_IOC, priv->ioctl_high << 7);