Lines Matching refs:partdata
674 struct sof_ipc_ctrl_data *partdata; in sof_set_get_large_ctrl_data() local
683 partdata = kzalloc(SOF_IPC_MSG_MAX_SIZE, GFP_KERNEL); in sof_set_get_large_ctrl_data()
684 if (!partdata) in sof_set_get_large_ctrl_data()
688 err = sof_get_ctrl_copy_params(cdata->type, cdata, partdata, in sof_set_get_large_ctrl_data()
691 err = sof_get_ctrl_copy_params(cdata->type, partdata, cdata, in sof_set_get_large_ctrl_data()
694 kfree(partdata); in sof_set_get_large_ctrl_data()
702 memcpy(partdata, cdata, sparams->hdr_bytes); in sof_set_get_large_ctrl_data()
710 partdata->num_elems = send_bytes; in sof_set_get_large_ctrl_data()
711 partdata->rhdr.hdr.size = sparams->hdr_bytes + send_bytes; in sof_set_get_large_ctrl_data()
712 partdata->msg_index = i; in sof_set_get_large_ctrl_data()
714 partdata->elems_remaining = msg_bytes; in sof_set_get_large_ctrl_data()
720 partdata->rhdr.hdr.cmd, in sof_set_get_large_ctrl_data()
721 partdata, in sof_set_get_large_ctrl_data()
722 partdata->rhdr.hdr.size, in sof_set_get_large_ctrl_data()
723 partdata, in sof_set_get_large_ctrl_data()
724 partdata->rhdr.hdr.size); in sof_set_get_large_ctrl_data()
736 kfree(partdata); in sof_set_get_large_ctrl_data()