Lines Matching refs:msg
101 struct scmi_msg msg = { }; in scmi_process_smt() local
133 msg.in = (char *)payload_buf; in scmi_process_smt()
134 msg.in_size = in_payload_size; in scmi_process_smt()
135 msg.out = (char *)smt_hdr->payload; in scmi_process_smt()
136 msg.out_size = chan->shm_size - sizeof(*smt_hdr); in scmi_process_smt()
138 assert(msg.out && msg.out_size >= sizeof(int32_t)); in scmi_process_smt()
141 memcpy(msg.in, smt_hdr->payload, in_payload_size); in scmi_process_smt()
143 msg.protocol_id = SMT_HDR_PROT_ID(smt_hdr->message_header); in scmi_process_smt()
144 msg.message_id = SMT_HDR_MSG_ID(smt_hdr->message_header); in scmi_process_smt()
145 msg.channel_id = channel_id; in scmi_process_smt()
147 scmi_process_message(&msg); in scmi_process_smt()
150 smt_hdr->length = msg.out_size_out + sizeof(smt_hdr->message_header); in scmi_process_smt()