Lines Matching refs:tnr_dmd
959 static int cxd2880_dvbt_tune(struct cxd2880_tnrdmd *tnr_dmd, in cxd2880_dvbt_tune() argument
965 if (!tnr_dmd || !tune_param) in cxd2880_dvbt_tune()
968 if (tnr_dmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_SUB) in cxd2880_dvbt_tune()
971 if (tnr_dmd->state != CXD2880_TNRDMD_STATE_SLEEP && in cxd2880_dvbt_tune()
972 tnr_dmd->state != CXD2880_TNRDMD_STATE_ACTIVE) in cxd2880_dvbt_tune()
975 atomic_set(&tnr_dmd->cancel, 0); in cxd2880_dvbt_tune()
984 ret = cxd2880_tnrdmd_dvbt_tune1(tnr_dmd, tune_param); in cxd2880_dvbt_tune()
991 return cxd2880_tnrdmd_dvbt_tune2(tnr_dmd, tune_param); in cxd2880_dvbt_tune()
994 static int cxd2880_dvbt2_tune(struct cxd2880_tnrdmd *tnr_dmd, in cxd2880_dvbt2_tune() argument
1000 if (!tnr_dmd || !tune_param) in cxd2880_dvbt2_tune()
1003 if (tnr_dmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_SUB) in cxd2880_dvbt2_tune()
1006 if (tnr_dmd->state != CXD2880_TNRDMD_STATE_SLEEP && in cxd2880_dvbt2_tune()
1007 tnr_dmd->state != CXD2880_TNRDMD_STATE_ACTIVE) in cxd2880_dvbt2_tune()
1010 atomic_set(&tnr_dmd->cancel, 0); in cxd2880_dvbt2_tune()
1024 ret = cxd2880_tnrdmd_dvbt2_tune1(tnr_dmd, tune_param); in cxd2880_dvbt2_tune()
1031 return cxd2880_tnrdmd_dvbt2_tune2(tnr_dmd, tune_param); in cxd2880_dvbt2_tune()