Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 58) sorted by relevance

123

/trusted-firmware-a/plat/imx/common/sci/svc/rm/
A Drm_rpc_clnt.c35 sc_rpc_msg_t msg; in sc_rm_partition_alloc() local
46 RPC_SIZE(&msg) = 3U; in sc_rm_partition_alloc()
60 sc_rpc_msg_t msg; in sc_rm_set_confidential() local
78 sc_rpc_msg_t msg; in sc_rm_partition_free() local
95 sc_rpc_msg_t msg; in sc_rm_get_did() local
111 sc_rpc_msg_t msg; in sc_rm_partition_static() local
129 sc_rpc_msg_t msg; in sc_rm_partition_lock() local
146 sc_rpc_msg_t msg; in sc_rm_get_partition() local
166 sc_rpc_msg_t msg; in sc_rm_set_parent() local
185 sc_rpc_msg_t msg; in sc_rm_move_all() local
[all …]
/trusted-firmware-a/plat/imx/common/sci/svc/misc/
A Dmisc_rpc_clnt.c34 sc_rpc_msg_t msg; in sc_misc_set_control() local
43 RPC_SIZE(&msg) = 4U; in sc_misc_set_control()
54 sc_rpc_msg_t msg; in sc_misc_get_control() local
76 sc_rpc_msg_t msg; in sc_misc_set_max_dma_group() local
95 sc_rpc_msg_t msg; in sc_misc_set_dma_group() local
115 sc_rpc_msg_t msg; in sc_misc_seco_image_load() local
138 sc_rpc_msg_t msg; in sc_misc_seco_authenticate() local
157 sc_rpc_msg_t msg; in sc_misc_seco_fuse_write() local
175 sc_rpc_msg_t msg; in sc_misc_seco_enable_debug() local
193 sc_rpc_msg_t msg; in sc_misc_seco_forward_lifecycle() local
[all …]
/trusted-firmware-a/plat/imx/common/sci/svc/timer/
A Dtimer_rpc_clnt.c33 sc_rpc_msg_t msg; in sc_timer_set_wdog_timeout() local
40 RPC_SIZE(&msg) = 2U; in sc_timer_set_wdog_timeout()
51 sc_rpc_msg_t msg; in sc_timer_set_wdog_pre_timeout() local
68 sc_rpc_msg_t msg; in sc_timer_start_wdog() local
85 sc_rpc_msg_t msg; in sc_timer_stop_wdog() local
101 sc_rpc_msg_t msg; in sc_timer_ping_wdog() local
120 sc_rpc_msg_t msg; in sc_timer_get_wdog_status() local
148 sc_rpc_msg_t msg; in sc_timer_pt_get_wdog_status() local
175 sc_rpc_msg_t msg; in sc_timer_set_wdog_action() local
195 sc_rpc_msg_t msg; in sc_timer_set_rtc_time() local
[all …]
A Dsci_timer_rpc.h57 void timer_dispatch(sc_rm_pt_t caller_pt, sc_rpc_msg_t *msg);
65 void timer_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
/trusted-firmware-a/plat/imx/common/sci/svc/pm/
A Dpm_rpc_clnt.c34 sc_rpc_msg_t msg; in sc_pm_set_sys_power_mode() local
41 RPC_SIZE(&msg) = 2U; in sc_pm_set_sys_power_mode()
52 sc_rpc_msg_t msg; in sc_pm_set_partition_power_mode() local
71 sc_rpc_msg_t msg; in sc_pm_get_sys_power_mode() local
93 sc_rpc_msg_t msg; in sc_pm_set_resource_power_mode() local
112 sc_rpc_msg_t msg; in sc_pm_get_resource_power_mode() local
134 sc_rpc_msg_t msg; in sc_pm_req_low_power_mode() local
154 sc_rpc_msg_t msg; in sc_pm_req_cpu_low_power_mode() local
174 sc_rpc_msg_t msg; in sc_pm_set_cpu_resume_addr() local
194 sc_rpc_msg_t msg; in sc_pm_set_cpu_resume() local
[all …]
/trusted-firmware-a/plat/imx/common/sci/svc/pad/
A Dpad_rpc_clnt.c34 sc_rpc_msg_t msg; in sc_pad_set_mux() local
44 RPC_SIZE(&msg) = 3U; in sc_pad_set_mux()
56 sc_rpc_msg_t msg; in sc_pad_get_mux() local
85 sc_rpc_msg_t msg; in sc_pad_set_gp() local
103 sc_rpc_msg_t msg; in sc_pad_get_gp() local
124 sc_rpc_msg_t msg; in sc_pad_set_wakeup() local
142 sc_rpc_msg_t msg; in sc_pad_get_wakeup() local
165 sc_rpc_msg_t msg; in sc_pad_set_all() local
189 sc_rpc_msg_t msg; in sc_pad_get_all() local
226 sc_rpc_msg_t msg; in sc_pad_set() local
[all …]
A Dsci_pad_rpc.h54 void pad_dispatch(sc_rm_pt_t caller_pt, sc_rpc_msg_t *msg);
62 void pad_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
/trusted-firmware-a/drivers/scmi-msg/
A Dentry.c41 assert(msg->out && msg->out_size >= sizeof(int32_t)); in scmi_status_response()
43 memcpy(msg->out, &status, sizeof(int32_t)); in scmi_status_response()
44 msg->out_size_out = sizeof(int32_t); in scmi_status_response()
55 msg->out && msg->out_size >= sizeof(int32_t)); in scmi_write_response()
57 memcpy(msg->out, payload, size); in scmi_write_response()
58 msg->out_size_out = size; in scmi_write_response()
65 switch (msg->protocol_id) { in scmi_process_message()
67 handler = scmi_msg_get_base_handler(msg); in scmi_process_message()
76 handler = scmi_msg_get_pd_handler(msg); in scmi_process_message()
83 handler(msg); in scmi_process_message()
[all …]
A Dclock.c85 if (msg->in_size != 0) { in report_version()
101 if (msg->in_size != 0) { in report_attributes()
118 if (msg->in_size != sizeof(*in_args)) { in report_message_attributes()
140 if (msg->in_size != sizeof(*in_args)) { in scmi_clock_attributes()
176 if (msg->in_size != sizeof(*in_args)) { in scmi_clock_rate_get()
203 if (msg->in_size != sizeof(*in_args)) { in scmi_clock_rate_set()
220 scmi_status_response(msg, status); in scmi_clock_rate_set()
246 scmi_status_response(msg, status); in scmi_clock_config_set()
319 memcpy(msg->out, &p2a, sizeof(p2a)); in scmi_clock_describe_rates()
320 msg->out_size_out = sizeof(p2a) + in scmi_clock_describe_rates()
[all …]
A Dpower_domain.c61 static void report_version(struct scmi_msg *msg) in report_version() argument
68 if (msg->in_size != 0) { in report_version()
69 scmi_status_response(msg, SCMI_PROTOCOL_ERROR); in report_version()
85 if (msg->in_size != 0) { in report_attributes()
110 if (msg->in_size != sizeof(*in_args)) { in report_message_attributes()
116 scmi_status_response(msg, SCMI_NOT_FOUND); in report_message_attributes()
132 if (msg->in_size != sizeof(*in_args)) { in scmi_pd_attributes()
146 scmi_status_response(msg, SCMI_NOT_FOUND); in scmi_pd_attributes()
166 if (msg->in_size != sizeof(*in_args)) { in scmi_pd_state_get()
193 if (msg->in_size != sizeof(*in_args)) { in scmi_pd_state_set()
[all …]
A Dreset_domain.c48 static void report_version(struct scmi_msg *msg) in report_version() argument
55 if (msg->in_size != 0U) { in report_version()
56 scmi_status_response(msg, SCMI_PROTOCOL_ERROR); in report_version()
70 if (msg->in_size != 0U) { in report_attributes()
87 if (msg->in_size != sizeof(*in_args)) { in report_message_attributes()
93 scmi_status_response(msg, SCMI_NOT_FOUND); in report_message_attributes()
107 if (msg->in_size != sizeof(*in_args)) { in reset_domain_attributes()
121 scmi_status_response(msg, SCMI_NOT_FOUND); in reset_domain_attributes()
142 if (msg->in_size != sizeof(*in_args)) { in reset_request()
150 scmi_status_response(msg, SCMI_NOT_FOUND); in reset_request()
[all …]
A Dbase.c18 static void report_version(struct scmi_msg *msg) in report_version() argument
25 if (msg->in_size != 0U) { in report_version()
42 if (msg->in_size != 0U) { in report_attributes()
59 if (msg->in_size != sizeof(*in_args)) { in report_message_attributes()
65 scmi_status_response(msg, SCMI_NOT_FOUND); in report_message_attributes()
79 if (msg->in_size != 0U) { in discover_vendor()
96 if (msg->in_size != 0U) { in discover_sub_vendor()
113 if (msg->in_size != 0U) { in discover_implementation_version()
146 if (msg->in_size != sizeof(*a2p)) { in discover_list_protocols()
151 assert(msg->out_size > sizeof(outargs)); in discover_list_protocols()
[all …]
A Dsmt.c114 struct scmi_msg msg; in scmi_proccess_smt() local
147 zeromem(&msg, sizeof(msg)); in scmi_proccess_smt()
148 msg.in = (char *)payload_buf; in scmi_proccess_smt()
149 msg.in_size = in_payload_size; 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()
153 assert((msg.out != NULL) && (msg.out_size >= sizeof(int32_t))); in scmi_proccess_smt()
156 memcpy(msg.in, smt_hdr->payload, in_payload_size); in scmi_proccess_smt()
159 msg.message_id = SMT_HDR_MSG_ID(smt_hdr->message_header); in scmi_proccess_smt()
160 msg.agent_id = agent_id; in scmi_proccess_smt()
[all …]
A Dcommon.h91 typedef void (*scmi_msg_handler_t)(struct scmi_msg *msg);
98 scmi_msg_handler_t scmi_msg_get_base_handler(struct scmi_msg *msg);
105 scmi_msg_handler_t scmi_msg_get_clock_handler(struct scmi_msg *msg);
112 scmi_msg_handler_t scmi_msg_get_rstd_handler(struct scmi_msg *msg);
119 scmi_msg_handler_t scmi_msg_get_pd_handler(struct scmi_msg *msg);
126 void scmi_process_message(struct scmi_msg *msg);
135 void scmi_write_response(struct scmi_msg *msg, void *payload, size_t size);
143 void scmi_status_response(struct scmi_msg *msg, int32_t status);
/trusted-firmware-a/plat/imx/common/sci/
A Dipc.c27 sc_ipc_write(ipc, msg); in sc_call_rpc()
29 sc_ipc_read(ipc, msg); in sc_call_rpc()
74 if ((base == 0) || (msg == NULL)) in sc_ipc_read()
82 if (msg->size > SC_RPC_MAX_MSG) { in sc_ipc_read()
83 *((uint32_t *) msg) = 0; in sc_ipc_read()
88 while (count < msg->size) { in sc_ipc_read()
90 &(msg->DATA.u32[count - 1])); in sc_ipc_read()
102 if ((base == 0) || (msg == NULL)) in sc_ipc_write()
106 if (msg->size > SC_RPC_MAX_MSG) in sc_ipc_write()
114 while (count < msg->size) { in sc_ipc_write()
[all …]
A Dimx8_mu.c44 void MU_SendMessage(uint32_t base, uint32_t regIndex, uint32_t msg) in MU_SendMessage() argument
51 mmio_write_32(base + MU_ATR0_OFFSET1 + (regIndex * 4), msg); in MU_SendMessage()
54 void MU_ReceiveMsg(uint32_t base, uint32_t regIndex, uint32_t *msg) in MU_ReceiveMsg() argument
61 *msg = mmio_read_32(base + MU_ARR0_OFFSET1 + (regIndex * 4)); in MU_ReceiveMsg()
/trusted-firmware-a/plat/ti/k3/common/drivers/sec_proxy/
A Dsec_proxy.c231 if (msg->len + sizeof(secure_header) > spm.desc.max_msg_size) { in k3_sec_proxy_send()
233 spt->name, msg->len); in k3_sec_proxy_send()
246 num_words = msg->len / sizeof(uint32_t); in k3_sec_proxy_send()
248 mmio_write_32(spt->data + data_reg, ((uint32_t *)msg->buf)[i]); in k3_sec_proxy_send()
253 trail_bytes = msg->len % sizeof(uint32_t); in k3_sec_proxy_send()
257 i = msg->len - trail_bytes; in k3_sec_proxy_send()
260 data_trail |= msg->buf[i++]; in k3_sec_proxy_send()
309 num_words = msg->len / sizeof(uint32_t); in k3_sec_proxy_recv()
316 trail_bytes = msg->len % sizeof(uint32_t); in k3_sec_proxy_recv()
321 i = msg->len - trail_bytes; in k3_sec_proxy_recv()
[all …]
A Dsec_proxy.h71 int k3_sec_proxy_send(enum k3_sec_proxy_chan_id id, const struct k3_sec_proxy_msg *msg);
80 int k3_sec_proxy_recv(enum k3_sec_proxy_chan_id id, struct k3_sec_proxy_msg *msg);
/trusted-firmware-a/lib/cpus/
A Derrata_report.c75 const char *msg __unused; in errata_print_msg()
82 msg = errata_status_str[status]; in errata_print_msg()
86 VERBOSE(ERRATA_FORMAT, bl_str, cpu, id, msg); in errata_print_msg()
90 INFO(ERRATA_FORMAT, bl_str, cpu, id, msg); in errata_print_msg()
94 WARN(ERRATA_FORMAT, bl_str, cpu, id, msg); in errata_print_msg()
/trusted-firmware-a/plat/st/stm32mp1/sp_min/
A Dsp_min-stm32mp1.mk33 BL32_SOURCES += drivers/scmi-msg/base.c \
34 drivers/scmi-msg/clock.c \
35 drivers/scmi-msg/entry.c \
36 drivers/scmi-msg/reset_domain.c \
37 drivers/scmi-msg/smt.c
/trusted-firmware-a/drivers/marvell/
A Dcache_llc.c158 int llc_sram_test(int ap_index, int size, char *msg) in llc_sram_test() argument
166 INFO("=== LLC SRAM WRITE test %s\n", msg); in llc_sram_test()
172 INFO("=== LLC SRAM WRITE test %s PASSED\n", msg); in llc_sram_test()
173 INFO("=== LLC SRAM READ test %s\n", msg); in llc_sram_test()
180 msg, addr); in llc_sram_test()
185 msg, data); in llc_sram_test()
/trusted-firmware-a/plat/renesas/common/
A Dbl2_interrupt_error.c64 char msg[128]; in bl2_interrupt_error_type() local
77 snprintf(msg, sizeof(msg), " Exception type = %s\n", in bl2_interrupt_error_type()
79 ERROR("%s", msg); in bl2_interrupt_error_type()
/trusted-firmware-a/plat/imx/common/include/sci/
A Dsci_rpc.h83 sc_rpc_msg_t msg; member
100 void sc_call_rpc(sc_ipc_t ipc, sc_rpc_msg_t *msg, bool no_resp);
111 void sc_rpc_dispatch(sc_rsrc_t mu, sc_rpc_msg_t *msg);
126 void sc_rpc_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
/trusted-firmware-a/include/lib/
A Dcassert.h20 #define CASSERT(cond, msg) \ argument
21 typedef char msg[(cond) ? 1 : -1] __unused
/trusted-firmware-a/drivers/allwinner/
A Dsunxi_msgbox.c76 uint32_t msg = 0; in mhu_secure_message_wait() local
84 msg = mmio_read_32(SUNXI_MSGBOX_BASE + MSG_DATA_REG(RX_CHAN)); in mhu_secure_message_wait()
86 return msg; in mhu_secure_message_wait()

Completed in 61 milliseconds

123