Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/arm/css/scmi/
Dscmi_pwr_dmn_proto.c21 mailbox_mem_t *mbx_mem; in scmi_pwr_state_set() local
36 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_pwr_state_set()
37 mbx_mem->msg_header = SCMI_MSG_CREATE(SCMI_PWR_DMN_PROTO_ID, in scmi_pwr_state_set()
39 mbx_mem->len = SCMI_PWR_STATE_SET_MSG_LEN; in scmi_pwr_state_set()
40 mbx_mem->flags = SCMI_FLAG_RESP_POLL; in scmi_pwr_state_set()
41 SCMI_PAYLOAD_ARG3(mbx_mem->payload, pwr_state_set_msg_flag, in scmi_pwr_state_set()
47 SCMI_PAYLOAD_RET_VAL1(mbx_mem->payload, ret); in scmi_pwr_state_set()
48 assert(mbx_mem->len == SCMI_PWR_STATE_SET_RESP_LEN); in scmi_pwr_state_set()
49 assert(token == SCMI_MSG_GET_TOKEN(mbx_mem->msg_header)); in scmi_pwr_state_set()
62 mailbox_mem_t *mbx_mem; in scmi_pwr_state_get() local
[all …]
Dscmi_sys_pwr_proto.c20 mailbox_mem_t *mbx_mem; in scmi_sys_pwr_state_set() local
29 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_sys_pwr_state_set()
30 mbx_mem->msg_header = SCMI_MSG_CREATE(SCMI_SYS_PWR_PROTO_ID, in scmi_sys_pwr_state_set()
32 mbx_mem->len = SCMI_SYS_PWR_STATE_SET_MSG_LEN; in scmi_sys_pwr_state_set()
33 mbx_mem->flags = SCMI_FLAG_RESP_POLL; in scmi_sys_pwr_state_set()
34 SCMI_PAYLOAD_ARG2(mbx_mem->payload, flags, system_state); in scmi_sys_pwr_state_set()
39 SCMI_PAYLOAD_RET_VAL1(mbx_mem->payload, ret); in scmi_sys_pwr_state_set()
40 assert(mbx_mem->len == SCMI_SYS_PWR_STATE_SET_RESP_LEN); in scmi_sys_pwr_state_set()
41 assert(token == SCMI_MSG_GET_TOKEN(mbx_mem->msg_header)); in scmi_sys_pwr_state_set()
53 mailbox_mem_t *mbx_mem; in scmi_sys_pwr_state_get() local
[all …]
Dscmi_ap_core_proto.c20 mailbox_mem_t *mbx_mem; in scmi_ap_core_set_reset_addr() local
29 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_ap_core_set_reset_addr()
30 mbx_mem->msg_header = SCMI_MSG_CREATE(SCMI_AP_CORE_PROTO_ID, in scmi_ap_core_set_reset_addr()
32 mbx_mem->len = SCMI_AP_CORE_RESET_ADDR_SET_MSG_LEN; in scmi_ap_core_set_reset_addr()
33 mbx_mem->flags = SCMI_FLAG_RESP_POLL; in scmi_ap_core_set_reset_addr()
34 SCMI_PAYLOAD_ARG3(mbx_mem->payload, reset_addr & 0xffffffff, in scmi_ap_core_set_reset_addr()
40 SCMI_PAYLOAD_RET_VAL1(mbx_mem->payload, ret); in scmi_ap_core_set_reset_addr()
41 assert(mbx_mem->len == SCMI_AP_CORE_RESET_ADDR_SET_RESP_LEN); in scmi_ap_core_set_reset_addr()
42 assert(token == SCMI_MSG_GET_TOKEN(mbx_mem->msg_header)); in scmi_ap_core_set_reset_addr()
54 mailbox_mem_t *mbx_mem; in scmi_ap_core_get_reset_addr() local
[all …]
Dscmi_common.c44 mailbox_mem_t *mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_send_sync_command() local
46 SCMI_MARK_CHANNEL_BUSY(mbx_mem->status); in scmi_send_sync_command()
63 while (!SCMI_IS_CHANNEL_FREE(mbx_mem->status)) in scmi_send_sync_command()
92 mailbox_mem_t *mbx_mem; in scmi_proto_version() local
101 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_proto_version()
102 mbx_mem->msg_header = SCMI_MSG_CREATE(proto_id, SCMI_PROTO_VERSION_MSG, in scmi_proto_version()
104 mbx_mem->len = SCMI_PROTO_VERSION_MSG_LEN; in scmi_proto_version()
105 mbx_mem->flags = SCMI_FLAG_RESP_POLL; in scmi_proto_version()
110 SCMI_PAYLOAD_RET_VAL2(mbx_mem->payload, ret, *version); in scmi_proto_version()
111 assert(mbx_mem->len == SCMI_PROTO_VERSION_RESP_LEN); in scmi_proto_version()
[all …]
/external/arm-trusted-firmware/drivers/arm/css/scmi/vendor/
Dscmi_sq.c28 mailbox_mem_t *mbx_mem; in scmi_get_draminfo() local
37 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_get_draminfo()
38 mbx_mem->msg_header = SCMI_MSG_CREATE(SCMI_SYS_VENDOR_EXT_PROTO_ID, in scmi_get_draminfo()
40 mbx_mem->len = SCMI_VENDOR_EXT_MEMINFO_GET_MSG_LEN; in scmi_get_draminfo()
41 mbx_mem->flags = SCMI_FLAG_RESP_POLL; in scmi_get_draminfo()
53 SCMI_PAYLOAD_RET_VAL1(mbx_mem->payload, ret); in scmi_get_draminfo()
55 memcpy(&response, (void *)mbx_mem->payload, sizeof(response)); in scmi_get_draminfo()