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()
365 if (stream->template->type != CATPT_STRM_TYPE_LOOPBACK) in catpt_dai_apply_usettings()
408 ret = catpt_ipc_alloc_stream(cdev, stream->template->path_id, in catpt_dai_hw_params()
409 stream->template->type, in catpt_dai_hw_params()
411 stream->template->num_entries, in catpt_dai_hw_params()
412 stream->template->entries, in catpt_dai_hw_params()
481 if (stream->template->type != CATPT_STRM_TYPE_RENDER) in catpt_dai_trigger()
535 if (stream->template->type != CATPT_STRM_TYPE_RENDER) in catpt_stream_update_position()
1133 struct catpt_stream_template *template; in catpt_arm_stream_templates() local
1137 template = catpt_topology[i]; in catpt_arm_stream_templates()
1138 template->persistent_size = 0; in catpt_arm_stream_templates()
1140 for (j = 0; j < template->num_entries; j++) { in catpt_arm_stream_templates()
1141 entry = &template->entries[j]; in catpt_arm_stream_templates()
1148 template->persistent_size += type->persistent_size; in catpt_arm_stream_templates()