Searched refs:line6pcm (Results 1 – 11 of 11) sorted by relevance
/linux/sound/usb/line6/ |
A D | pcm.c | 141 &line6pcm->out : &line6pcm->in; in get_stream() 473 cleanup_urbs(&line6pcm->out, line6pcm->line6->iso_buffers); in line6_cleanup_pcm() 474 cleanup_urbs(&line6pcm->in, line6pcm->line6->iso_buffers); in line6_cleanup_pcm() 475 kfree(line6pcm); in line6_cleanup_pcm() 507 line6_unlink_audio_urbs(line6pcm, &line6pcm->out); in line6_pcm_disconnect() 508 line6_unlink_audio_urbs(line6pcm, &line6pcm->in); in line6_pcm_disconnect() 509 line6_wait_clear_audio_urbs(line6pcm, &line6pcm->out); in line6_pcm_disconnect() 510 line6_wait_clear_audio_urbs(line6pcm, &line6pcm->in); in line6_pcm_disconnect() 533 line6pcm = kzalloc(sizeof(*line6pcm), GFP_KERNEL); in line6_init_pcm() 534 if (!line6pcm) in line6_init_pcm() [all …]
|
A D | capture.c | 36 urb_in = line6pcm->in.urbs[index]; in submit_audio_in_urb() 48 line6pcm->in.buffer + in submit_audio_in_urb() 51 urb_in->context = line6pcm; in submit_audio_in_urb() 58 dev_err(line6pcm->line6->ifcdev, in submit_audio_in_urb() 133 line6pcm->in.bytes += length; in line6_capture_check_period() 134 if (line6pcm->in.bytes >= line6pcm->in.period) { in line6_capture_check_period() 135 line6pcm->in.bytes %= line6pcm->in.period; in line6_capture_check_period() 138 spin_lock(&line6pcm->in.lock); in line6_capture_check_period() 191 line6pcm->prev_fbuf = fbuf; in audio_in_callback() 264 if (line6pcm->in.urbs == NULL) in line6_create_audio_in_urbs() [all …]
|
A D | playback.c | 100 line6pcm->impulse_volume; in create_impulse_test_signal() 101 line6pcm->impulse_count = line6pcm->impulse_period; in create_impulse_test_signal() 198 line6pcm->out.buffer + in submit_audio_out_urb() 201 urb_out->context = line6pcm; in submit_audio_out_urb() 247 if (line6pcm->prev_fbuf) { in submit_audio_out_urb() 261 && line6pcm->out.running && line6pcm->in.running) in submit_audio_out_urb() 266 line6pcm->prev_fbuf = NULL; in submit_audio_out_urb() 267 line6pcm->prev_fsize = 0; in submit_audio_out_urb() 335 line6pcm->out.pos_done += in audio_out_callback() 358 if (line6pcm->out.bytes >= line6pcm->out.period) { in audio_out_callback() [all …]
|
A D | toneport.c | 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 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() 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 427 line6->line6pcm)); in toneport_init() [all …]
|
A D | pcm.h | 37 #define get_substream(line6pcm, stream) \ argument 38 (line6pcm->pcm->streams[stream].substream) 190 extern void line6_pcm_disconnect(struct snd_line6_pcm *line6pcm); 191 extern int line6_pcm_acquire(struct snd_line6_pcm *line6pcm, int type, 193 extern void line6_pcm_release(struct snd_line6_pcm *line6pcm, int type);
|
A D | capture.h | 18 extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, 20 extern void line6_capture_check_period(struct snd_line6_pcm *line6pcm, 22 extern int line6_create_audio_in_urbs(struct snd_line6_pcm *line6pcm); 23 extern int line6_submit_audio_in_all_urbs(struct snd_line6_pcm *line6pcm);
|
A D | playback.h | 28 extern int line6_create_audio_out_urbs(struct snd_line6_pcm *line6pcm); 29 extern int line6_submit_audio_out_all_urbs(struct snd_line6_pcm *line6pcm);
|
A D | pod.c | 328 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_pod_control_monitor_get() local 329 struct usb_line6_pod *pod = line6_to_pod(line6pcm->line6); in snd_pod_control_monitor_get() 339 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_pod_control_monitor_put() local 340 struct usb_line6_pod *pod = line6_to_pod(line6pcm->line6); in snd_pod_control_monitor_put() 386 snd_ctl_new1(&pod_control_monitor, line6->line6pcm)); in pod_init()
|
A D | podhd.c | 330 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_podhd_control_monitor_get() local 331 struct usb_line6_podhd *podhd = line6_to_podhd(line6pcm->line6); in snd_podhd_control_monitor_get() 341 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_podhd_control_monitor_put() local 342 struct usb_line6_podhd *podhd = line6_to_podhd(line6pcm->line6); in snd_podhd_control_monitor_put() 414 line6->line6pcm)); in podhd_init()
|
A D | driver.c | 842 if (line6->line6pcm) in line6_disconnect() 843 line6_pcm_disconnect(line6->line6pcm); in line6_disconnect() 865 struct snd_line6_pcm *line6pcm = line6->line6pcm; in line6_suspend() local 872 if (line6pcm != NULL) in line6_suspend() 873 line6pcm->flags = 0; in line6_suspend()
|
A D | driver.h | 146 struct snd_line6_pcm *line6pcm; member
|
Completed in 19 milliseconds