Lines Matching refs:instances

110 	instance_array instances;  member
147 static struct instance *find_instance_by_plugin(instance_array *instances, in find_instance_by_plugin() argument
153 FOR_ARRAY_ELEMENT(instances, i, instance) { in find_instance_by_plugin()
164 static int find_origin_port(struct ini *ini, instance_array *instances, in find_origin_port() argument
187 if (find_instance_by_plugin(instances, plugin)) { in find_origin_port()
224 return find_origin_port(ini, instances, plugin, index, origin, in find_origin_port()
228 static struct audio_port *find_output_audio_port(instance_array *instances, in find_output_audio_port() argument
236 instance = find_instance_by_plugin(instances, plugin); in find_output_audio_port()
248 static struct control_port *find_output_control_port(instance_array *instances, in find_output_control_port() argument
256 instance = find_instance_by_plugin(instances, plugin); in find_output_control_port()
312 instance = ARRAY_APPEND_ZERO(&pipeline->instances); in topological_sort()
323 if (find_origin_port(ini, &pipeline->instances, plugin, in topological_sort()
340 &pipeline->instances, origin, in topological_sort()
360 &pipeline->instances, origin, in topological_sort()
441 &pipeline->instances, source); in cras_dsp_pipeline_create()
443 &pipeline->instances, sink); in cras_dsp_pipeline_create()
509 FOR_ARRAY_ELEMENT(&pipeline->instances, i, instance) { in allocate_buffers()
546 FOR_ARRAY_ELEMENT(&pipeline->instances, i, instance) { in allocate_buffers()
599 FOR_ARRAY_ELEMENT(&pipeline->instances, i, instance) { in cras_dsp_pipeline_load()
617 FOR_ARRAY_ELEMENT(&pipeline->instances, i, instance) { in calculate_audio_delay()
628 &pipeline->instances, audio_port->peer->plugin); in calculate_audio_delay()
641 FOR_ARRAY_ELEMENT(&pipeline->instances, i, instance) { in cras_dsp_pipeline_instantiate()
650 FOR_ARRAY_ELEMENT(&pipeline->instances, i, instance) { in cras_dsp_pipeline_instantiate()
718 FOR_ARRAY_ELEMENT(&pipeline->instances, i, instance) { in cras_dsp_pipeline_deinstantiate()
786 FOR_ARRAY_ELEMENT(&pipeline->instances, i, instance) { in cras_dsp_pipeline_run()
870 FOR_ARRAY_ELEMENT(&pipeline->instances, i, instance) { in cras_dsp_pipeline_free()
889 ARRAY_FREE(&pipeline->instances); in cras_dsp_pipeline_free()