Lines Matching refs:params

242 		if (desired_type == tun->params[i].type)  in simple_tuner_params()
253 tuner_param_name(tun->params[i].type)); in simple_tuner_params()
255 return &tun->params[i]; in simple_tuner_params()
319 struct analog_parameters *params, in simple_std_setup() argument
332 if (params->std & V4L2_STD_SECAM_L) in simple_std_setup()
335 else if (params->std & V4L2_STD_SECAM_LC) in simple_std_setup()
344 if (params->std & V4L2_STD_PAL_BG) { in simple_std_setup()
347 } else if (params->std & V4L2_STD_PAL_I) { in simple_std_setup()
350 } else if (params->std & V4L2_STD_PAL_DK) { in simple_std_setup()
353 } else if (params->std & V4L2_STD_SECAM_L) { in simple_std_setup()
362 if (params->std & (V4L2_STD_PAL_BG|V4L2_STD_PAL_DK)) { in simple_std_setup()
365 } else if (params->std & V4L2_STD_PAL_I) { in simple_std_setup()
368 } else if (params->std & V4L2_STD_SECAM_L) { in simple_std_setup()
380 if (!(params->std & V4L2_STD_ATSC)) in simple_std_setup()
398 if (params->std & V4L2_STD_ATSC) { in simple_std_setup()
543 struct analog_parameters *params) in simple_set_tv_freq() argument
565 if (params->std == V4L2_STD_NTSC_M_JP) { in simple_set_tv_freq()
568 } else if ((params->std & V4L2_STD_MN) && in simple_set_tv_freq()
569 !(params->std & ~V4L2_STD_MN)) { in simple_set_tv_freq()
572 } else if (params->std == V4L2_STD_SECAM_LC) { in simple_set_tv_freq()
582 i = simple_config_lookup(fe, t_params, &params->frequency, in simple_set_tv_freq()
585 div = params->frequency + IFPCoff + offset; in simple_set_tv_freq()
588 params->frequency / 16, params->frequency % 16 * 100 / 16, in simple_set_tv_freq()
593 simple_std_setup(fe, params, &config, &cb); in simple_set_tv_freq()
610 int is_secam_l = (params->std & (V4L2_STD_SECAM_L | in simple_set_tv_freq()
612 !(params->std & ~(V4L2_STD_SECAM_L | in simple_set_tv_freq()
618 if (params->std == V4L2_STD_SECAM_LC) { in simple_set_tv_freq()
664 struct analog_parameters *params) in simple_set_radio_freq() argument
672 unsigned int freq = params->frequency; in simple_set_radio_freq()
673 bool mono = params->audmode == V4L2_TUNER_MODE_MONO; in simple_set_radio_freq()
678 if (tun->params[j].type == TUNER_PARAM_TYPE_RADIO) in simple_set_radio_freq()
681 t_params = &tun->params[j]; in simple_set_radio_freq()
769 struct analog_parameters *params) in simple_set_params() argument
777 switch (params->mode) { in simple_set_params()
780 ret = simple_set_radio_freq(fe, params); in simple_set_params()
781 priv->frequency = params->frequency * 125 / 2; in simple_set_params()
786 ret = simple_set_tv_freq(fe, params); in simple_set_params()
787 priv->frequency = params->frequency * 62500; in simple_set_params()