Lines Matching refs:trigger_list
19 struct ipc4_pipeline_set_state_data *trigger_list) in sof_ipc4_set_multi_pipeline_state() argument
25 if (trigger_list->count == 1) in sof_ipc4_set_multi_pipeline_state()
26 return sof_ipc4_set_pipeline_state(sdev, trigger_list->pipeline_instance_ids[0], in sof_ipc4_set_multi_pipeline_state()
39 ipc_size = sizeof(u32) * (trigger_list->count + 1); in sof_ipc4_set_multi_pipeline_state()
41 msg.data_ptr = trigger_list; in sof_ipc4_set_multi_pipeline_state()
68 struct ipc4_pipeline_set_state_data *trigger_list) in sof_ipc4_add_pipeline_to_trigger_list() argument
83 trigger_list->pipeline_instance_ids[trigger_list->count++] = in sof_ipc4_add_pipeline_to_trigger_list()
89 trigger_list->pipeline_instance_ids[trigger_list->count++] = in sof_ipc4_add_pipeline_to_trigger_list()
95 trigger_list->pipeline_instance_ids[trigger_list->count++] = in sof_ipc4_add_pipeline_to_trigger_list()
106 struct ipc4_pipeline_set_state_data *trigger_list) in sof_ipc4_update_pipeline_state() argument
116 for (i = 0; i < trigger_list->count; i++) { in sof_ipc4_update_pipeline_state()
117 if (trigger_list->pipeline_instance_ids[i] == pipe_widget->instance_id) { in sof_ipc4_update_pipeline_state()
286 struct ipc4_pipeline_set_state_data *trigger_list; in sof_ipc4_trigger_pipelines() local
318 trigger_list = kzalloc(struct_size(trigger_list, pipeline_instance_ids, in sof_ipc4_trigger_pipelines()
320 if (!trigger_list) in sof_ipc4_trigger_pipelines()
337 sof_ipc4_add_pipeline_to_trigger_list(sdev, state, spipe, trigger_list); in sof_ipc4_trigger_pipelines()
342 sof_ipc4_add_pipeline_to_trigger_list(sdev, state, spipe, trigger_list); in sof_ipc4_trigger_pipelines()
346 if (!trigger_list->count) { in sof_ipc4_trigger_pipelines()
359 ret = sof_ipc4_set_multi_pipeline_state(sdev, SOF_IPC4_PIPE_PAUSED, trigger_list); in sof_ipc4_trigger_pipelines()
369 trigger_list); in sof_ipc4_trigger_pipelines()
377 ret = sof_ipc4_set_multi_pipeline_state(sdev, state, trigger_list); in sof_ipc4_trigger_pipelines()
397 sof_ipc4_update_pipeline_state(sdev, state, cmd, spipe, trigger_list); in sof_ipc4_trigger_pipelines()
402 kfree(trigger_list); in sof_ipc4_trigger_pipelines()