Lines Matching refs:tea
33 struct snd_tea575x tea; member
59 static void fmr2_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in fmr2_tea575x_set_pins() argument
61 struct fmr2 *fmr2 = tea->private_data; in fmr2_tea575x_set_pins()
72 static u8 fmr2_tea575x_get_pins(struct snd_tea575x *tea) in fmr2_tea575x_get_pins() argument
74 struct fmr2 *fmr2 = tea->private_data; in fmr2_tea575x_get_pins()
81 static void fmr2_tea575x_set_direction(struct snd_tea575x *tea, bool output) in fmr2_tea575x_set_direction() argument
117 if (!fmr2->tea.mute) in tc9154a_set_pins()
150 struct snd_tea575x *tea = container_of(ctrl->handler, struct snd_tea575x, ctrl_handler); in fmr2_s_ctrl() local
151 struct fmr2 *fmr2 = tea->private_data; in fmr2_s_ctrl()
183 static int fmr2_tea_ext_init(struct snd_tea575x *tea) in fmr2_tea_ext_init() argument
185 struct fmr2 *fmr2 = tea->private_data; in fmr2_tea_ext_init()
189 …fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68,… in fmr2_tea_ext_init()
190 …fmr2->balance = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_BALANCE, -68,… in fmr2_tea_ext_init()
191 if (tea->ctrl_handler.error) { in fmr2_tea_ext_init()
193 return tea->ctrl_handler.error; in fmr2_tea_ext_init()
232 fmr2->tea.v4l2_dev = &fmr2->v4l2_dev; in fmr2_probe()
233 fmr2->tea.private_data = fmr2; in fmr2_probe()
234 fmr2->tea.radio_nr = radio_nr[num_fmr2_cards]; in fmr2_probe()
235 fmr2->tea.ops = &fmr2_tea_ops; in fmr2_probe()
236 fmr2->tea.ext_init = fmr2_tea_ext_init; in fmr2_probe()
237 strlcpy(fmr2->tea.card, card_name, sizeof(fmr2->tea.card)); in fmr2_probe()
238 snprintf(fmr2->tea.bus_info, sizeof(fmr2->tea.bus_info), "%s:%s", in fmr2_probe()
241 if (snd_tea575x_init(&fmr2->tea, THIS_MODULE)) { in fmr2_probe()
289 snd_tea575x_exit(&fmr2->tea); in fmr2_remove()