Lines Matching refs:agc_settings
4911 set_agc_rf(struct drx_demod_instance *demod, struct drxj_cfg_agc *agc_settings, bool atomic) in set_agc_rf() argument
4934 if ((ext_attr->standard == agc_settings->standard) || in set_agc_rf()
4936 DRXJ_ISQAMSTD(agc_settings->standard)) || in set_agc_rf()
4938 DRXJ_ISATVSTD(agc_settings->standard))) { in set_agc_rf()
4941 switch (agc_settings->ctrl_mode) { in set_agc_rf()
4988 …rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_KI_RED__A, (~(agc_settings->speed << SCU_RAM_AGC_KI_RED_RAG… in set_agc_rf()
4994 if (agc_settings->standard == DRX_STANDARD_8VSB) in set_agc_rf()
4996 else if (DRXJ_ISQAMSTD(agc_settings->standard)) in set_agc_rf()
4998 else if (DRXJ_ISATVSTD(agc_settings->standard)) in set_agc_rf()
5005 rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_IF_IACCU_HI_TGT_MAX__A, agc_settings->top, 0); in set_agc_rf()
5010 rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_IF_IACCU_HI_TGT__A, agc_settings->top, 0); in set_agc_rf()
5018 rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_RF_IACCU_HI_CO__A, agc_settings->cut_off_current, 0); in set_agc_rf()
5057 rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_RF_IACCU_HI__A, agc_settings->output_level, 0); in set_agc_rf()
5097 switch (agc_settings->standard) { in set_agc_rf()
5099 ext_attr->vsb_rf_agc_cfg = *agc_settings; in set_agc_rf()
5105 ext_attr->qam_rf_agc_cfg = *agc_settings; in set_agc_rf()
5125 set_agc_if(struct drx_demod_instance *demod, struct drxj_cfg_agc *agc_settings, bool atomic) in set_agc_if() argument
5148 if ((ext_attr->standard == agc_settings->standard) || in set_agc_if()
5150 DRXJ_ISQAMSTD(agc_settings->standard)) || in set_agc_if()
5152 DRXJ_ISATVSTD(agc_settings->standard))) { in set_agc_if()
5155 switch (agc_settings->ctrl_mode) { in set_agc_if()
5202 …rc = (*scu_wr16) (dev_addr, SCU_RAM_AGC_KI_RED__A, (~(agc_settings->speed << SCU_RAM_AGC_KI_RED_IA… in set_agc_if()
5208 if (agc_settings->standard == DRX_STANDARD_8VSB) in set_agc_if()
5210 else if (DRXJ_ISQAMSTD(agc_settings->standard)) in set_agc_if()
5212 else if (DRXJ_ISATVSTD(agc_settings->standard)) in set_agc_if()
5277 rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_IF_IACCU_HI_TGT_MAX__A, agc_settings->output_level, 0); in set_agc_if()
5318 rc = (*scu_wr16) (dev_addr, SCU_RAM_AGC_INGAIN_TGT_MIN__A, agc_settings->top, 0); in set_agc_if()
5326 switch (agc_settings->standard) { in set_agc_if()
5328 ext_attr->vsb_if_agc_cfg = *agc_settings; in set_agc_if()
5334 ext_attr->qam_if_agc_cfg = *agc_settings; in set_agc_if()