Lines Matching refs:msg
114 struct scmi_msg msg; in scmi_proccess_smt() local
147 zeromem(&msg, sizeof(msg)); in scmi_proccess_smt()
148 msg.in = (char *)payload_buf; in scmi_proccess_smt()
149 msg.in_size = in_payload_size; in scmi_proccess_smt()
150 msg.out = (char *)smt_hdr->payload; in scmi_proccess_smt()
151 msg.out_size = chan->shm_size - sizeof(*smt_hdr); in scmi_proccess_smt()
153 assert((msg.out != NULL) && (msg.out_size >= sizeof(int32_t))); in scmi_proccess_smt()
156 memcpy(msg.in, smt_hdr->payload, in_payload_size); in scmi_proccess_smt()
158 msg.protocol_id = SMT_HDR_PROT_ID(smt_hdr->message_header); in scmi_proccess_smt()
159 msg.message_id = SMT_HDR_MSG_ID(smt_hdr->message_header); in scmi_proccess_smt()
160 msg.agent_id = agent_id; in scmi_proccess_smt()
162 scmi_process_message(&msg); in scmi_proccess_smt()
165 smt_hdr->length = msg.out_size_out + sizeof(smt_hdr->message_header); in scmi_proccess_smt()