Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scmi/
Dscmi_sys_pwr_proto.c18 mailbox_mem_t *mbx_mem; in scmi_sys_pwr_state_set() local
26 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_sys_pwr_state_set()
27 mbx_mem->msg_header = SCMI_MSG_CREATE(SCMI_SYS_PWR_PROTO_ID, in scmi_sys_pwr_state_set()
29 mbx_mem->len = SCMI_SYS_PWR_STATE_SET_MSG_LEN; in scmi_sys_pwr_state_set()
30 mbx_mem->flags = SCMI_FLAG_RESP_POLL; in scmi_sys_pwr_state_set()
31 SCMI_PAYLOAD_ARG2(mbx_mem->payload, flags, system_state); in scmi_sys_pwr_state_set()
36 SCMI_PAYLOAD_RET_VAL1(mbx_mem->payload, ret); in scmi_sys_pwr_state_set()
37 assert(mbx_mem->len == SCMI_SYS_PWR_STATE_SET_RESP_LEN); in scmi_sys_pwr_state_set()
38 assert(token == SCMI_MSG_GET_TOKEN(mbx_mem->msg_header)); in scmi_sys_pwr_state_set()
50 mailbox_mem_t *mbx_mem; in scmi_sys_pwr_state_get() local
[all …]
Dscmi_pwr_dmn_proto.c19 mailbox_mem_t *mbx_mem; in scmi_pwr_state_set() local
33 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_pwr_state_set()
34 mbx_mem->msg_header = SCMI_MSG_CREATE(SCMI_PWR_DMN_PROTO_ID, in scmi_pwr_state_set()
36 mbx_mem->len = SCMI_PWR_STATE_SET_MSG_LEN; in scmi_pwr_state_set()
37 mbx_mem->flags = SCMI_FLAG_RESP_POLL; in scmi_pwr_state_set()
38 SCMI_PAYLOAD_ARG3(mbx_mem->payload, pwr_state_set_msg_flag, in scmi_pwr_state_set()
44 SCMI_PAYLOAD_RET_VAL1(mbx_mem->payload, ret); in scmi_pwr_state_set()
45 assert(mbx_mem->len == SCMI_PWR_STATE_SET_RESP_LEN); in scmi_pwr_state_set()
46 assert(token == SCMI_MSG_GET_TOKEN(mbx_mem->msg_header)); in scmi_pwr_state_set()
59 mailbox_mem_t *mbx_mem; in scmi_pwr_state_get() local
[all …]
Dscmi_common.c31 mailbox_mem_t *mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_send_sync_command() local
33 SCMI_MARK_CHANNEL_BUSY(mbx_mem->status); in scmi_send_sync_command()
52 while (!SCMI_IS_CHANNEL_FREE(mbx_mem->status)) in scmi_send_sync_command()
81 mailbox_mem_t *mbx_mem; in scmi_proto_version() local
89 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_proto_version()
90 mbx_mem->msg_header = SCMI_MSG_CREATE(proto_id, SCMI_PROTO_VERSION_MSG, in scmi_proto_version()
92 mbx_mem->len = SCMI_PROTO_VERSION_MSG_LEN; in scmi_proto_version()
93 mbx_mem->flags = SCMI_FLAG_RESP_POLL; in scmi_proto_version()
98 SCMI_PAYLOAD_RET_VAL2(mbx_mem->payload, ret, *version); in scmi_proto_version()
99 assert(mbx_mem->len == SCMI_PROTO_VERSION_RESP_LEN); in scmi_proto_version()
[all …]