Home
last modified time | relevance | path

Searched refs:pcm_instance (Results 1 – 3 of 3) sorted by relevance

/linux/sound/xen/
H A Dxen_snd_front_cfg.c332 struct xen_front_cfg_pcm_instance *pcm_instance, in cfg_stream() argument
357 stream = &pcm_instance->streams_pb[(*cur_pb)++]; in cfg_stream()
360 stream = &pcm_instance->streams_cap[(*cur_cap)++]; in cfg_stream()
375 &pcm_instance->pcm_hw, &stream->pcm_hw); in cfg_stream()
384 struct xen_front_cfg_pcm_instance *pcm_instance, in cfg_device() argument
401 strscpy(pcm_instance->name, str, sizeof(pcm_instance->name)); in cfg_device()
405 pcm_instance->device_id = node_index; in cfg_device()
412 cfg_read_pcm_hw(device_path, parent_pcm_hw, &pcm_instance->pcm_hw); in cfg_device()
424 pcm_instance->num_streams_pb = 0; in cfg_device()
425 pcm_instance->num_streams_cap = 0; in cfg_device()
[all …]
H A Dxen_snd_front_evtchnl.c281 struct xen_front_cfg_pcm_instance *pcm_instance; in xen_snd_front_evtchnl_create_all() local
284 pcm_instance = &cfg->pcm_instances[d]; in xen_snd_front_evtchnl_create_all()
286 for (s = 0; s < pcm_instance->num_streams_pb; s++) { in xen_snd_front_evtchnl_create_all()
287 index = pcm_instance->streams_pb[s].index; in xen_snd_front_evtchnl_create_all()
306 for (s = 0; s < pcm_instance->num_streams_cap; s++) { in xen_snd_front_evtchnl_create_all()
307 index = pcm_instance->streams_cap[s].index; in xen_snd_front_evtchnl_create_all()
375 struct xen_front_cfg_pcm_instance *pcm_instance; in xen_snd_front_evtchnl_publish_all() local
378 pcm_instance = &cfg->pcm_instances[d]; in xen_snd_front_evtchnl_publish_all()
380 for (s = 0; s < pcm_instance->num_streams_pb; s++) { in xen_snd_front_evtchnl_publish_all()
381 index = pcm_instance->streams_pb[s].index; in xen_snd_front_evtchnl_publish_all()
[all …]
H A Dxen_snd_front_alsa.c239 struct xen_snd_front_pcm_instance_info *pcm_instance = in stream_get() local
244 stream = &pcm_instance->streams_pb[substream->number]; in stream_get()
246 stream = &pcm_instance->streams_cap[substream->number]; in stream_get()
350 struct xen_snd_front_pcm_instance_info *pcm_instance = in alsa_open() local
355 pcm_instance->card_info->front_info; in alsa_open()