Lines Matching refs:msg_bytes
325 void *msg_data, size_t msg_bytes, in ipc3_tx_msg_unlocked() argument
334 ret = sof_ipc_send_msg(sdev, msg_data, msg_bytes, reply_bytes); in ipc3_tx_msg_unlocked()
347 static int sof_ipc3_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc3_tx_msg() argument
353 if (!msg_data || msg_bytes < sizeof(struct sof_ipc_cmd_hdr)) { in sof_ipc3_tx_msg()
375 ret = ipc3_tx_msg_unlocked(ipc, msg_data, msg_bytes, reply_data, reply_bytes); in sof_ipc3_tx_msg()
385 size_t msg_bytes, hdr_bytes, payload_size, send_bytes; in sof_ipc3_set_get_data() local
441 msg_bytes = cdata->rhdr.hdr.size - hdr_bytes; in sof_ipc3_set_get_data()
443 num_msg = DIV_ROUND_UP(msg_bytes, payload_size); in sof_ipc3_set_get_data()
453 send_bytes = min(msg_bytes, payload_size); in sof_ipc3_set_get_data()
457 msg_bytes -= send_bytes; in sof_ipc3_set_get_data()
458 cdata_chunk->elems_remaining = msg_bytes; in sof_ipc3_set_get_data()