Lines Matching refs:msg_bytes
41 size_t msg_bytes; member
241 void *msg_data, size_t msg_bytes, in sof_ipc_tx_message_unlocked() argument
261 msg->msg_size = msg_bytes; in sof_ipc_tx_message_unlocked()
266 if (msg_bytes) in sof_ipc_tx_message_unlocked()
267 memcpy(msg->msg_data, msg_data, msg_bytes); in sof_ipc_tx_message_unlocked()
296 void *msg_data, size_t msg_bytes, void *reply_data, in sof_ipc_tx_message() argument
311 return sof_ipc_tx_message_no_pm(ipc, header, msg_data, msg_bytes, in sof_ipc_tx_message()
322 void *msg_data, size_t msg_bytes, in sof_ipc_tx_message_no_pm() argument
327 if (msg_bytes > SOF_IPC_MSG_MAX_SIZE || in sof_ipc_tx_message_no_pm()
334 ret = sof_ipc_tx_message_unlocked(ipc, header, msg_data, msg_bytes, in sof_ipc_tx_message_no_pm()
573 sparams->num_msg = DIV_ROUND_UP(sparams->msg_bytes, sparams->pl_size); in sof_get_ctrl_copy_params()
586 size_t msg_bytes; in sof_set_get_large_ctrl_data() local
607 msg_bytes = sparams->msg_bytes; in sof_set_get_large_ctrl_data()
618 send_bytes = min(msg_bytes, pl_size); in sof_set_get_large_ctrl_data()
622 msg_bytes -= send_bytes; in sof_set_get_large_ctrl_data()
623 partdata->elems_remaining = msg_bytes; in sof_set_get_large_ctrl_data()
694 sparams.msg_bytes = scontrol->num_channels * in snd_sof_ipc_set_get_comp_data()
701 sparams.msg_bytes = scontrol->num_channels * in snd_sof_ipc_set_get_comp_data()
708 sparams.msg_bytes = cdata->data->size; in snd_sof_ipc_set_get_comp_data()
717 cdata->rhdr.hdr.size = sparams.msg_bytes + sparams.hdr_bytes; in snd_sof_ipc_set_get_comp_data()