• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/i2c/other/

Lines Matching defs:tea

80 static void snd_tea575x_set_freq(struct snd_tea575x *tea)
84 freq = tea->freq / 16; /* to kHz */
90 if (tea->tea5759)
91 freq -= tea->freq_fixup;
93 freq += tea->freq_fixup;
98 tea->val &= ~TEA575X_BIT_FREQ_MASK;
99 tea->val |= freq & TEA575X_BIT_FREQ_MASK;
100 tea->ops->write(tea, tea->val);
110 struct snd_tea575x *tea = video_drvdata(file);
112 strcpy(v->card, tea->tea5759 ? "TEA5759" : "TEA5757");
149 struct snd_tea575x *tea = video_drvdata(file);
152 f->frequency = tea->freq;
159 struct snd_tea575x *tea = video_drvdata(file);
164 tea->freq = f->frequency;
166 snd_tea575x_set_freq(tea);
208 struct snd_tea575x *tea = video_drvdata(file);
212 if (tea->ops->mute) {
213 ctrl->value = tea->mute;
223 struct snd_tea575x *tea = video_drvdata(file);
227 if (tea->ops->mute) {
228 tea->ops->mute(tea, ctrl->value);
229 tea->mute = ctrl->value;
251 struct snd_tea575x *tea = video_drvdata(file);
253 return test_and_set_bit(0, &tea->in_use) ? -EBUSY : 0;
258 struct snd_tea575x *tea = video_drvdata(file);
260 clear_bit(0, &tea->in_use);
296 void snd_tea575x_init(struct snd_tea575x *tea)
302 val = tea->ops->read(tea);
309 tea->in_use = 0;
310 tea->val = TEA575X_BIT_BAND_FM | TEA575X_BIT_SEARCH_10_40;
311 tea->freq = 90500 * 16; /* 90.5Mhz default */
321 strcpy(tea575x_radio.name, tea->tea5759 ?
324 video_set_drvdata(tea575x_radio_inst, tea);
334 snd_tea575x_set_freq(tea);
337 if (tea->ops->mute) {
338 tea->ops->mute(tea, 1);
339 tea->mute = 1;
341 tea->vd = tea575x_radio_inst;
344 void snd_tea575x_exit(struct snd_tea575x *tea)
346 if (tea->vd) {
347 video_unregister_device(tea->vd);
348 tea->vd = NULL;