Lines Matching refs:line6pcm
157 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_toneport_monitor_get() local
159 ucontrol->value.integer.value[0] = line6pcm->volume_monitor; in snd_toneport_monitor_get()
167 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_toneport_monitor_put() local
170 if (ucontrol->value.integer.value[0] == line6pcm->volume_monitor) in snd_toneport_monitor_put()
173 line6pcm->volume_monitor = ucontrol->value.integer.value[0]; in snd_toneport_monitor_put()
175 if (line6pcm->volume_monitor > 0) { in snd_toneport_monitor_put()
176 err = line6_pcm_acquire(line6pcm, LINE6_STREAM_MONITOR, true); in snd_toneport_monitor_put()
178 line6pcm->volume_monitor = 0; in snd_toneport_monitor_put()
179 line6_pcm_release(line6pcm, LINE6_STREAM_MONITOR); in snd_toneport_monitor_put()
183 line6_pcm_release(line6pcm, LINE6_STREAM_MONITOR); in snd_toneport_monitor_put()
212 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_toneport_source_get() local
213 struct usb_line6_toneport *toneport = line6_to_toneport(line6pcm->line6); in snd_toneport_source_get()
223 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_toneport_source_put() local
224 struct usb_line6_toneport *toneport = line6_to_toneport(line6pcm->line6); in snd_toneport_source_put()
241 line6_pcm_acquire(line6->line6pcm, LINE6_STREAM_MONITOR, true); in toneport_startup()
427 line6->line6pcm)); in toneport_init()
436 line6->line6pcm)); in toneport_init()