Lines Matching refs:template
263 struct catpt_stream_template *template; in catpt_dai_startup() local
268 template = catpt_get_stream_template(substream); in catpt_dai_startup()
279 res = catpt_request_region(&cdev->dram, template->persistent_size); in catpt_dai_startup()
287 stream->template = template; in catpt_dai_startup()
362 ret = catpt_ipc_alloc_stream(cdev, stream->template->path_id, in catpt_dai_hw_params()
363 stream->template->type, in catpt_dai_hw_params()
365 stream->template->num_entries, in catpt_dai_hw_params()
366 stream->template->entries, in catpt_dai_hw_params()
434 if (stream->template->type != CATPT_STRM_TYPE_LOOPBACK) in catpt_dai_apply_usettings()
483 if (stream->template->type != CATPT_STRM_TYPE_RENDER) in catpt_dai_trigger()
537 if (stream->template->type != CATPT_STRM_TYPE_RENDER) in catpt_stream_update_position()
1135 struct catpt_stream_template *template; in catpt_arm_stream_templates() local
1139 template = catpt_topology[i]; in catpt_arm_stream_templates()
1140 template->persistent_size = 0; in catpt_arm_stream_templates()
1142 for (j = 0; j < template->num_entries; j++) { in catpt_arm_stream_templates()
1143 entry = &template->entries[j]; in catpt_arm_stream_templates()
1150 template->persistent_size += type->persistent_size; in catpt_arm_stream_templates()