Home
last modified time | relevance | path

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

/openbmc/linux/sound/xen/
H A Dxen_snd_front_cfg.c401 strscpy(pcm_instance->name, str, sizeof(pcm_instance->name)); in cfg_device()
405 pcm_instance->device_id = node_index; in cfg_device()
424 pcm_instance->num_streams_pb = 0; in cfg_device()
425 pcm_instance->num_streams_cap = 0; in cfg_device()
436 if (pcm_instance->num_streams_pb) { in cfg_device()
437 pcm_instance->streams_pb = in cfg_device()
439 pcm_instance->num_streams_pb, in cfg_device()
442 if (!pcm_instance->streams_pb) { in cfg_device()
448 if (pcm_instance->num_streams_cap) { in cfg_device()
449 pcm_instance->streams_cap = 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()
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()
381 index = pcm_instance->streams_pb[s].index; in xen_snd_front_evtchnl_publish_all()
385 pcm_instance->streams_pb[s].xenstore_path, in xen_snd_front_evtchnl_publish_all()
393 pcm_instance->streams_pb[s].xenstore_path, in xen_snd_front_evtchnl_publish_all()
[all …]
H A Dxen_snd_front_alsa.c244 struct xen_snd_front_pcm_instance_info *pcm_instance = in stream_get() local
249 stream = &pcm_instance->streams_pb[substream->number]; in stream_get()
251 stream = &pcm_instance->streams_cap[substream->number]; in stream_get()
355 struct xen_snd_front_pcm_instance_info *pcm_instance = in alsa_open() local
360 pcm_instance->card_info->front_info; in alsa_open()