Lines Matching refs:tea
34 struct snd_tea575x tea; member
60 static void fmr2_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in fmr2_tea575x_set_pins() argument
62 struct fmr2 *fmr2 = tea->private_data; in fmr2_tea575x_set_pins()
73 static u8 fmr2_tea575x_get_pins(struct snd_tea575x *tea) in fmr2_tea575x_get_pins() argument
75 struct fmr2 *fmr2 = tea->private_data; in fmr2_tea575x_get_pins()
82 static void fmr2_tea575x_set_direction(struct snd_tea575x *tea, bool output) in fmr2_tea575x_set_direction() argument
118 if (!fmr2->tea.mute) in tc9154a_set_pins()
151 struct snd_tea575x *tea = container_of(ctrl->handler, struct snd_tea575x, ctrl_handler); in fmr2_s_ctrl() local
152 struct fmr2 *fmr2 = tea->private_data; in fmr2_s_ctrl()
184 static int fmr2_tea_ext_init(struct snd_tea575x *tea) in fmr2_tea_ext_init() argument
186 struct fmr2 *fmr2 = tea->private_data; in fmr2_tea_ext_init()
190 …fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68,… in fmr2_tea_ext_init()
191 …fmr2->balance = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_BALANCE, -68,… in fmr2_tea_ext_init()
192 if (tea->ctrl_handler.error) { in fmr2_tea_ext_init()
194 return tea->ctrl_handler.error; in fmr2_tea_ext_init()
233 fmr2->tea.v4l2_dev = &fmr2->v4l2_dev; in fmr2_probe()
234 fmr2->tea.private_data = fmr2; in fmr2_probe()
235 fmr2->tea.radio_nr = radio_nr[num_fmr2_cards]; in fmr2_probe()
236 fmr2->tea.ops = &fmr2_tea_ops; in fmr2_probe()
237 fmr2->tea.ext_init = fmr2_tea_ext_init; in fmr2_probe()
238 strscpy(fmr2->tea.card, card_name, sizeof(fmr2->tea.card)); in fmr2_probe()
239 snprintf(fmr2->tea.bus_info, sizeof(fmr2->tea.bus_info), "%s:%s", in fmr2_probe()
242 if (snd_tea575x_init(&fmr2->tea, THIS_MODULE)) { in fmr2_probe()
290 snd_tea575x_exit(&fmr2->tea); in fmr2_remove()