Lines Matching refs:tun

114 	struct tunertype *tun;  member
237 struct tunertype *tun = priv->tun; in simple_tuner_params() local
240 for (i = 0; i < tun->count; i++) in simple_tuner_params()
241 if (desired_type == tun->params[i].type) in simple_tuner_params()
245 if (i == tun->count) { in simple_tuner_params()
252 tuner_param_name(tun->params[i].type)); in simple_tuner_params()
254 return &tun->params[i]; in simple_tuner_params()
668 struct tunertype *tun; in simple_set_radio_freq() local
676 tun = priv->tun; in simple_set_radio_freq()
678 for (j = tun->count-1; j > 0; j--) in simple_set_radio_freq()
679 if (tun->params[j].type == TUNER_PARAM_TYPE_RADIO) in simple_set_radio_freq()
682 t_params = &tun->params[j]; in simple_set_radio_freq()
848 struct tunertype *tun = priv->tun; in simple_dvb_configure() local
855 if (!tun->stepsize) { in simple_dvb_configure()
860 priv->type, priv->tun->name); in simple_dvb_configure()
870 tun->stepsize/2) / tun->stepsize; in simple_dvb_configure()
880 tun->name, div, buf[0], buf[1], buf[2], buf[3]); in simple_dvb_configure()
883 return (div * tun->stepsize) - t_params->iffreq; in simple_dvb_configure()
966 if (priv->tun->initdata) { in simple_init()
973 priv->tun->initdata + 1, in simple_init()
974 priv->tun->initdata[0]); in simple_init()
975 if (ret != priv->tun->initdata[0]) in simple_init()
989 if (priv->tun->sleepdata) { in simple_sleep()
996 priv->tun->sleepdata + 1, in simple_sleep()
997 priv->tun->sleepdata[0]); in simple_sleep()
998 if (ret != priv->tun->sleepdata[0]) in simple_sleep()
1100 priv->tun = &tuners[type]; in simple_tuner_attach()
1115 type, priv->type, priv->tun->name); in simple_tuner_attach()
1118 priv->type, priv->tun->name); in simple_tuner_attach()
1138 strlcpy(fe->ops.tuner_ops.info.name, priv->tun->name, in simple_tuner_attach()