Home
last modified time | relevance | path

Searched refs:cnr2qual (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/media/test-drivers/vidtv/
Dvidtv_demod.c79 const struct vidtv_demod_cnr_to_qual_s *cnr2qual = NULL; in vidtv_match_cnr_s() local
90 cnr2qual = vidtv_demod_t_cnr_2_qual; in vidtv_match_cnr_s()
95 cnr2qual = vidtv_demod_s_cnr_2_qual; in vidtv_match_cnr_s()
100 cnr2qual = vidtv_demod_s2_cnr_2_qual; in vidtv_match_cnr_s()
105 cnr2qual = vidtv_demod_c_cnr_2_qual; in vidtv_match_cnr_s()
118 if (cnr2qual[i].modulation == c->modulation && in vidtv_match_cnr_s()
119 cnr2qual[i].fec == c->fec_inner) in vidtv_match_cnr_s()
120 return &cnr2qual[i]; in vidtv_match_cnr_s()
202 const struct vidtv_demod_cnr_to_qual_s *cnr2qual = NULL; in vidtv_demod_read_status() local
207 cnr2qual = vidtv_match_cnr_s(&state->frontend); in vidtv_demod_read_status()
[all …]
Dvidtv_tuner.c184 const struct vidtv_tuner_cnr_to_qual_s *cnr2qual = NULL; in vidtv_tuner_get_signal_strength() local
200 cnr2qual = vidtv_tuner_t_cnr_2_qual; in vidtv_tuner_get_signal_strength()
205 cnr2qual = vidtv_tuner_s_cnr_2_qual; in vidtv_tuner_get_signal_strength()
210 cnr2qual = vidtv_tuner_s2_cnr_2_qual; in vidtv_tuner_get_signal_strength()
215 cnr2qual = vidtv_tuner_c_cnr_2_qual; in vidtv_tuner_get_signal_strength()
228 if (cnr2qual[i].modulation != c->modulation || in vidtv_tuner_get_signal_strength()
229 cnr2qual[i].fec != c->fec_inner) in vidtv_tuner_get_signal_strength()
233 *strength = cnr2qual[i].cnr_good; in vidtv_tuner_get_signal_strength()
241 *strength = cnr2qual[i].cnr_ok - in vidtv_tuner_get_signal_strength()
242 (cnr2qual[i].cnr_good - cnr2qual[i].cnr_ok); in vidtv_tuner_get_signal_strength()