Lines Matching refs:msg_bytes

41 	size_t msg_bytes;  member
252 void *msg_data, size_t msg_bytes, in sof_ipc_tx_message_unlocked() argument
272 msg->msg_size = msg_bytes; in sof_ipc_tx_message_unlocked()
277 if (msg_bytes) in sof_ipc_tx_message_unlocked()
278 memcpy(msg->msg_data, msg_data, msg_bytes); in sof_ipc_tx_message_unlocked()
307 void *msg_data, size_t msg_bytes, void *reply_data, in sof_ipc_tx_message() argument
322 return sof_ipc_tx_message_no_pm(ipc, header, msg_data, msg_bytes, in sof_ipc_tx_message()
333 void *msg_data, size_t msg_bytes, in sof_ipc_tx_message_no_pm() argument
338 if (msg_bytes > SOF_IPC_MSG_MAX_SIZE || in sof_ipc_tx_message_no_pm()
345 ret = sof_ipc_tx_message_unlocked(ipc, header, msg_data, msg_bytes, in sof_ipc_tx_message_no_pm()
584 sparams->num_msg = DIV_ROUND_UP(sparams->msg_bytes, sparams->pl_size); in sof_get_ctrl_copy_params()
597 size_t msg_bytes; in sof_set_get_large_ctrl_data() local
618 msg_bytes = sparams->msg_bytes; in sof_set_get_large_ctrl_data()
629 send_bytes = min(msg_bytes, pl_size); in sof_set_get_large_ctrl_data()
633 msg_bytes -= send_bytes; in sof_set_get_large_ctrl_data()
634 partdata->elems_remaining = msg_bytes; in sof_set_get_large_ctrl_data()
705 sparams.msg_bytes = scontrol->num_channels * in snd_sof_ipc_set_get_comp_data()
712 sparams.msg_bytes = scontrol->num_channels * in snd_sof_ipc_set_get_comp_data()
719 sparams.msg_bytes = cdata->data->size; in snd_sof_ipc_set_get_comp_data()
728 cdata->rhdr.hdr.size = sparams.msg_bytes + sparams.hdr_bytes; in snd_sof_ipc_set_get_comp_data()