Home
last modified time | relevance | path

Searched refs:smt_hdr (Results 1 – 1 of 1) sorted by relevance

/optee_os-3.20.0/core/drivers/scmi-msg/
A Dsmt.c71 struct smt_header *smt_hdr = NULL; in scmi_entry_smt() local
83 smt_hdr = channel_to_smt_hdr(channel); in scmi_entry_smt()
84 if (!smt_hdr) { in scmi_entry_smt()
94 smt_status = READ_ONCE(smt_hdr->status); in scmi_entry_smt()
96 in_payload_size = READ_ONCE(smt_hdr->length) - in scmi_entry_smt()
97 sizeof(smt_hdr->message_header); in scmi_entry_smt()
113 msg.out = (char *)smt_hdr->payload; in scmi_entry_smt()
114 msg.out_size = channel->shm_size - sizeof(*smt_hdr); in scmi_entry_smt()
119 memcpy(msg.in, smt_hdr->payload, in_payload_size); in scmi_entry_smt()
128 smt_hdr->length = msg.out_size_out + sizeof(smt_hdr->message_header); in scmi_entry_smt()
[all …]

Completed in 3 milliseconds