Lines Matching refs:msg

110 	struct sof_ipc4_msg msg;  in ipc4_probes_init()  local
122 msg.primary = mentry->id; in ipc4_probes_init()
123 msg.primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_INIT_INSTANCE); in ipc4_probes_init()
124 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_init()
125 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_init()
126 msg.extension = SOF_IPC4_MOD_EXT_DST_MOD_INSTANCE(INVALID_PIPELINE_ID); in ipc4_probes_init()
127 msg.extension |= SOF_IPC4_MOD_EXT_CORE_ID(0); in ipc4_probes_init()
129 msg.data_size = sizeof(cfg); in ipc4_probes_init()
130 msg.data_ptr = &cfg; in ipc4_probes_init()
132 return sof_client_ipc_tx_message_no_reply(cdev, &msg); in ipc4_probes_init()
147 struct sof_ipc4_msg msg; in ipc4_probes_deinit() local
152 msg.primary = mentry->id; in ipc4_probes_deinit()
153 msg.primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_DELETE_INSTANCE); in ipc4_probes_deinit()
154 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_deinit()
155 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_deinit()
156 msg.extension = SOF_IPC4_MOD_EXT_DST_MOD_INSTANCE(INVALID_PIPELINE_ID); in ipc4_probes_deinit()
157 msg.extension |= SOF_IPC4_MOD_EXT_CORE_ID(0); in ipc4_probes_deinit()
159 msg.data_size = 0; in ipc4_probes_deinit()
160 msg.data_ptr = NULL; in ipc4_probes_deinit()
162 return sof_client_ipc_tx_message_no_reply(cdev, &msg); in ipc4_probes_deinit()
200 struct sof_ipc4_msg msg; in ipc4_probes_points_add() local
222 msg.primary = mentry->id; in ipc4_probes_points_add()
223 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_points_add()
224 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_points_add()
226 msg.extension = SOF_IPC4_MOD_EXT_MSG_PARAM_ID(SOF_IPC4_PROBE_POINTS); in ipc4_probes_points_add()
228 msg.data_size = sizeof(*points) * num_desc; in ipc4_probes_points_add()
229 msg.data_ptr = points; in ipc4_probes_points_add()
231 ret = sof_client_ipc_set_get_data(cdev, &msg, true); in ipc4_probes_points_add()
252 struct sof_ipc4_msg msg; in ipc4_probes_points_remove() local
267 msg.primary = mentry->id; in ipc4_probes_points_remove()
268 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_points_remove()
269 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_points_remove()
271 msg.extension = in ipc4_probes_points_remove()
274 msg.data_size = num_buffer_id * sizeof(*probe_point_ids); in ipc4_probes_points_remove()
275 msg.data_ptr = probe_point_ids; in ipc4_probes_points_remove()
277 ret = sof_client_ipc_set_get_data(cdev, &msg, true); in ipc4_probes_points_remove()