Lines Matching refs:agc_settings
4914 set_agc_rf(struct drx_demod_instance *demod, struct drxj_cfg_agc *agc_settings, bool atomic) in set_agc_rf() argument
4937 if ((ext_attr->standard == agc_settings->standard) || in set_agc_rf()
4939 DRXJ_ISQAMSTD(agc_settings->standard)) || in set_agc_rf()
4941 DRXJ_ISATVSTD(agc_settings->standard))) { in set_agc_rf()
4944 switch (agc_settings->ctrl_mode) { in set_agc_rf()
4991 …rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_KI_RED__A, (~(agc_settings->speed << SCU_RAM_AGC_KI_RED_RAG… in set_agc_rf()
4997 if (agc_settings->standard == DRX_STANDARD_8VSB) in set_agc_rf()
4999 else if (DRXJ_ISQAMSTD(agc_settings->standard)) in set_agc_rf()
5001 else if (DRXJ_ISATVSTD(agc_settings->standard)) in set_agc_rf()
5008 rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_IF_IACCU_HI_TGT_MAX__A, agc_settings->top, 0); in set_agc_rf()
5013 rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_IF_IACCU_HI_TGT__A, agc_settings->top, 0); in set_agc_rf()
5021 rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_RF_IACCU_HI_CO__A, agc_settings->cut_off_current, 0); in set_agc_rf()
5060 rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_RF_IACCU_HI__A, agc_settings->output_level, 0); in set_agc_rf()
5100 switch (agc_settings->standard) { in set_agc_rf()
5102 ext_attr->vsb_rf_agc_cfg = *agc_settings; in set_agc_rf()
5108 ext_attr->qam_rf_agc_cfg = *agc_settings; in set_agc_rf()
5128 set_agc_if(struct drx_demod_instance *demod, struct drxj_cfg_agc *agc_settings, bool atomic) in set_agc_if() argument
5151 if ((ext_attr->standard == agc_settings->standard) || in set_agc_if()
5153 DRXJ_ISQAMSTD(agc_settings->standard)) || in set_agc_if()
5155 DRXJ_ISATVSTD(agc_settings->standard))) { in set_agc_if()
5158 switch (agc_settings->ctrl_mode) { in set_agc_if()
5205 …rc = (*scu_wr16) (dev_addr, SCU_RAM_AGC_KI_RED__A, (~(agc_settings->speed << SCU_RAM_AGC_KI_RED_IA… in set_agc_if()
5211 if (agc_settings->standard == DRX_STANDARD_8VSB) in set_agc_if()
5213 else if (DRXJ_ISQAMSTD(agc_settings->standard)) in set_agc_if()
5215 else if (DRXJ_ISATVSTD(agc_settings->standard)) in set_agc_if()
5280 rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_IF_IACCU_HI_TGT_MAX__A, agc_settings->output_level, 0); in set_agc_if()
5321 rc = (*scu_wr16) (dev_addr, SCU_RAM_AGC_INGAIN_TGT_MIN__A, agc_settings->top, 0); in set_agc_if()
5329 switch (agc_settings->standard) { in set_agc_if()
5331 ext_attr->vsb_if_agc_cfg = *agc_settings; in set_agc_if()
5337 ext_attr->qam_if_agc_cfg = *agc_settings; in set_agc_if()