Lines Matching refs:xc_write_reg
282 static int xc_write_reg(struct xc4000_priv *priv, u16 regAddr, u16 i2cData) in xc_write_reg() function
359 ret = xc_write_reg(priv, XREG_VIDEO_MODE, video_mode); in xc_set_tv_standard()
361 ret = xc_write_reg(priv, XREG_AUDIO_MODE, audio_mode); in xc_set_tv_standard()
379 return xc_write_reg(priv, XREG_SIGNALSOURCE, rf_mode); in xc_set_signal_source()
400 return xc_write_reg(priv, XREG_RF_FREQ, freq_code); in xc_set_rf_frequency()
899 rc = xc_write_reg(priv, XREG_DIRECTSITTING_MODE, 0); in load_scode()
1226 if (xc_write_reg(priv, XREG_D_CODE, 0) == 0) in xc4000_set_params()
1229 if (xc_write_reg(priv, XREG_AMPLITUDE, in xc4000_set_params()
1236 if (xc_write_reg(priv, XREG_SMOOTHEDCVBS, 1) != 0) in xc4000_set_params()
1426 if (xc_write_reg(priv, XREG_D_CODE, 0) == 0) in xc4000_set_analog_params()
1428 if (xc_write_reg(priv, XREG_AMPLITUDE, 1) != 0) in xc4000_set_analog_params()
1431 if (xc_write_reg(priv, XREG_SMOOTHEDCVBS, 1) != 0) in xc4000_set_analog_params()
1587 if (xc_write_reg(priv, XREG_POWER_DOWN, 0) != 0) { in xc4000_sleep()