Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 11 of 11) sorted by relevance

/sound/usb/6fire/
Dpcm.c141 usb_kill_urb(&rt->in_urbs[i].instance); in usb6fire_pcm_stream_stop()
142 usb_kill_urb(&rt->out_urbs[i].instance); in usb6fire_pcm_stream_stop()
170 ret = usb_submit_urb(&rt->in_urbs[i].instance, in usb6fire_pcm_stream_start()
198 struct pcm_runtime *rt = snd_pcm_substream_chip(sub->instance); in usb6fire_pcm_capture()
199 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; in usb6fire_pcm_capture()
245 struct pcm_runtime *rt = snd_pcm_substream_chip(sub->instance); in usb6fire_pcm_playback()
246 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; in usb6fire_pcm_playback()
319 if (sub->period_off >= sub->instance->runtime->period_size) { in usb6fire_pcm_in_urb_handler()
320 sub->period_off %= sub->instance->runtime->period_size; in usb6fire_pcm_in_urb_handler()
322 snd_pcm_period_elapsed(sub->instance); in usb6fire_pcm_in_urb_handler()
[all …]
Dmidi.c178 ret = snd_rawmidi_new(chip->card, "6FireUSB", 0, 1, 1, &rt->instance); in usb6fire_midi_init()
185 rt->instance->private_data = rt; in usb6fire_midi_init()
186 strcpy(rt->instance->name, "DMX6FireUSB MIDI"); in usb6fire_midi_init()
187 rt->instance->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT | in usb6fire_midi_init()
190 snd_rawmidi_set_ops(rt->instance, SNDRV_RAWMIDI_STREAM_OUTPUT, in usb6fire_midi_init()
192 snd_rawmidi_set_ops(rt->instance, SNDRV_RAWMIDI_STREAM_INPUT, in usb6fire_midi_init()
Dpcm.h28 struct urb instance; member
38 struct snd_pcm_substream *instance; member
48 struct snd_pcm *instance; member
Dmidi.h17 struct snd_rawmidi *instance; member
/sound/usb/hiface/
Dpcm.c27 struct urb instance; member
34 struct snd_pcm_substream *instance; member
50 struct snd_pcm *instance; member
196 usb_kill_urb(&rt->out_urbs[i].instance); in hiface_pcm_stream_stop()
218 usb_anchor_urb(&rt->out_urbs[i].instance, in hiface_pcm_stream_start()
220 ret = usb_submit_urb(&rt->out_urbs[i].instance, in hiface_pcm_stream_start()
257 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; in hiface_pcm_playback()
264 pcm_buffer_size = snd_pcm_lib_buffer_bytes(sub->instance); in hiface_pcm_playback()
337 snd_pcm_period_elapsed(sub->instance); in hiface_pcm_out_urb_handler()
339 ret = usb_submit_urb(&out_urb->instance, GFP_ATOMIC); in hiface_pcm_out_urb_handler()
[all …]
/sound/drivers/
Daloop.c113 struct snd_timer_instance *instance; member
236 err = snd_timer_start(cable->snd_timer.instance, 1); in loopback_snd_timer_start()
275 err = snd_timer_stop(cable->snd_timer.instance); in loopback_snd_timer_stop()
301 if (!cable->snd_timer.instance) in loopback_snd_timer_close_cable()
309 snd_timer_close(cable->snd_timer.instance); in loopback_snd_timer_close_cable()
314 snd_timer_instance_free(cable->snd_timer.instance); in loopback_snd_timer_close_cable()
446 if (cable->snd_timer.instance) { in params_change()
1108 if (cable->snd_timer.instance) in loopback_snd_timer_open()
1166 cable->snd_timer.instance = timeri; in loopback_snd_timer_open()
1253 if (cable->snd_timer.instance) { in loopback_open()
/sound/soc/intel/avs/
Dmessages.h683 u8 instance:4; member
688 u8 instance:3; member
Dtopology.c831 if (hweight_long(mach->mach_params.i2s_link_mask) == 1 && !cfg->copier.vindex.i2s.instance) in assign_copier_gtw_instance()
832 cfg->copier.vindex.i2s.instance = __ffs(mach->mach_params.i2s_link_mask); in assign_copier_gtw_instance()
Dpath.c177 nhlt, t->cfg_ext->copier.vindex.i2s.instance, in avs_copier_create()
/sound/soc/intel/atom/
Dsst-atom-controls.c1216 #define SST_GAIN(name, path_id, task_id, instance, gain_var) \ argument
1220 SST_MODULE_ID_GAIN_CELL, path_id, instance, task_id, \
1223 #define SST_VOLUME(name, path_id, task_id, instance, gain_var) \ argument
1227 SST_MODULE_ID_VOLUME, path_id, instance, task_id, \
/sound/soc/codecs/
DKconfig1607 DSP. DSP configuration for each instance needs to be supplied