Home
last modified time | relevance | path

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

/trusted-firmware-a/drivers/arm/css/scmi/
A 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()
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()
53 mailbox_mem_t *mbx_mem; in scmi_sys_pwr_state_get() local
62 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_sys_pwr_state_get()
65 mbx_mem->len = SCMI_SYS_PWR_STATE_GET_MSG_LEN; in scmi_sys_pwr_state_get()
[all …]
A 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()
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()
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()
62 mailbox_mem_t *mbx_mem; in scmi_pwr_state_get() local
71 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_pwr_state_get()
74 mbx_mem->len = SCMI_PWR_STATE_GET_MSG_LEN; in scmi_pwr_state_get()
75 mbx_mem->flags = SCMI_FLAG_RESP_POLL; in scmi_pwr_state_get()
[all …]
A 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()
40 SCMI_PAYLOAD_RET_VAL1(mbx_mem->payload, ret); 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
64 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_ap_core_get_reset_addr()
67 mbx_mem->len = SCMI_AP_CORE_RESET_ADDR_GET_MSG_LEN; in scmi_ap_core_get_reset_addr()
[all …]
A Dscmi_common.c46 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()
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()
125 mailbox_mem_t *mbx_mem; in scmi_proto_msg_attr() local
135 mbx_mem->msg_header = SCMI_MSG_CREATE(proto_id, in scmi_proto_msg_attr()
137 mbx_mem->len = SCMI_PROTO_MSG_ATTR_MSG_LEN; in scmi_proto_msg_attr()
138 mbx_mem->flags = SCMI_FLAG_RESP_POLL; in scmi_proto_msg_attr()
[all …]
/trusted-firmware-a/drivers/arm/css/scmi/vendor/
A 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()

Completed in 5 milliseconds