Lines Matching refs:pcm_instance
332 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()
432 pcm_instance->num_streams_pb += num_pb; in cfg_device()
433 pcm_instance->num_streams_cap += num_cap; 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()
451 pcm_instance->num_streams_cap, in cfg_device()
454 if (!pcm_instance->streams_cap) { in cfg_device()
463 ret = cfg_stream(front_info, pcm_instance, device_path, i, in cfg_device()