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()
128 msg.extension |= SOF_IPC4_MOD_EXT_PARAM_SIZE(sizeof(cfg) / sizeof(uint32_t)); in ipc4_probes_init()
130 msg.data_size = sizeof(cfg); in ipc4_probes_init()
131 msg.data_ptr = &cfg; in ipc4_probes_init()
133 return sof_client_ipc_tx_message_no_reply(cdev, &msg); in ipc4_probes_init()
148 struct sof_ipc4_msg msg; in ipc4_probes_deinit() local
153 msg.primary = mentry->id; in ipc4_probes_deinit()
154 msg.primary |= SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_DELETE_INSTANCE); in ipc4_probes_deinit()
155 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_deinit()
156 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_deinit()
157 msg.extension = SOF_IPC4_MOD_EXT_DST_MOD_INSTANCE(INVALID_PIPELINE_ID); in ipc4_probes_deinit()
158 msg.extension |= SOF_IPC4_MOD_EXT_CORE_ID(0); in ipc4_probes_deinit()
160 msg.data_size = 0; in ipc4_probes_deinit()
161 msg.data_ptr = NULL; in ipc4_probes_deinit()
163 return sof_client_ipc_tx_message_no_reply(cdev, &msg); in ipc4_probes_deinit()
201 struct sof_ipc4_msg msg; in ipc4_probes_points_add() local
223 msg.primary = mentry->id; in ipc4_probes_points_add()
224 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_points_add()
225 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_points_add()
227 msg.extension = SOF_IPC4_MOD_EXT_MSG_PARAM_ID(SOF_IPC4_PROBE_POINTS); in ipc4_probes_points_add()
229 msg.data_size = sizeof(*points) * num_desc; in ipc4_probes_points_add()
230 msg.data_ptr = points; in ipc4_probes_points_add()
232 ret = sof_client_ipc_set_get_data(cdev, &msg, true); in ipc4_probes_points_add()
253 struct sof_ipc4_msg msg; in ipc4_probes_points_remove() local
268 msg.primary = mentry->id; in ipc4_probes_points_remove()
269 msg.primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST); in ipc4_probes_points_remove()
270 msg.primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG); in ipc4_probes_points_remove()
272 msg.extension = in ipc4_probes_points_remove()
275 msg.data_size = num_buffer_id * sizeof(*probe_point_ids); in ipc4_probes_points_remove()
276 msg.data_ptr = probe_point_ids; in ipc4_probes_points_remove()
278 ret = sof_client_ipc_set_get_data(cdev, &msg, true); in ipc4_probes_points_remove()