Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/scmi-msg/
Dsmt.c111 struct smt_header *smt_hdr; in scmi_proccess_smt() local
122 smt_hdr = channel_to_smt_hdr(chan); in scmi_proccess_smt()
123 assert(smt_hdr); in scmi_proccess_smt()
125 smt_status = __atomic_load_n(&smt_hdr->status, __ATOMIC_RELAXED); in scmi_proccess_smt()
132 in_payload_size = __atomic_load_n(&smt_hdr->length, __ATOMIC_RELAXED) - in scmi_proccess_smt()
133 sizeof(smt_hdr->message_header); in scmi_proccess_smt()
142 smt_hdr->status & (SMT_STATUS_ERROR | SMT_STATUS_FREE)); 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()
156 memcpy(msg.in, smt_hdr->payload, in_payload_size); in scmi_proccess_smt()
[all …]