Home
last modified time | relevance | path

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

/SCP-firmware-master/product/morello/module/morello_smt/include/
A Dmod_smt.h130 int (*signal_message)(fwk_id_t channel_id);
150 int (*get_secure)(fwk_id_t channel_id, bool *secure);
164 int (*get_max_payload_size)(fwk_id_t channel_id, size_t *size);
179 int (*get_message_header)(fwk_id_t channel_id, uint32_t *message_header);
196 int (*get_payload)(fwk_id_t channel_id, const void **payload, size_t *size);
214 fwk_id_t channel_id,
235 int (*respond)(fwk_id_t channel_id, const void *payload, size_t size);
252 bool (*is_channel_free)(fwk_id_t channel_id);
264 int (*send)(fwk_id_t channel_id, struct mod_smt_command_config *cmd);
278 int (*get_payload)(fwk_id_t channel_id, const void **payload, size_t *size);
[all …]
/SCP-firmware-master/product/n1sdp/module/n1sdp_smt/include/
A Dmod_smt.h130 int (*signal_message)(fwk_id_t channel_id);
150 int (*get_secure)(fwk_id_t channel_id, bool *secure);
164 int (*get_max_payload_size)(fwk_id_t channel_id, size_t *size);
179 int (*get_message_header)(fwk_id_t channel_id, uint32_t *message_header);
196 int (*get_payload)(fwk_id_t channel_id, const void **payload,
214 int (*write_payload)(fwk_id_t channel_id, size_t offset,
233 int (*respond)(fwk_id_t channel_id, const void *payload, size_t size);
250 bool (*is_channel_free)(fwk_id_t channel_id);
262 int (*send)(fwk_id_t channel_id, struct mod_smt_command_config *cmd);
276 int (*get_payload)(fwk_id_t channel_id, const void **payload,
[all …]
/SCP-firmware-master/module/scmi/test/
A Dmod_scmi_extra.h31 int mod_scmi_to_transport_api_get_secure(fwk_id_t channel_id, bool *secure);
48 fwk_id_t channel_id,
67 fwk_id_t channel_id,
89 fwk_id_t channel_id,
112 fwk_id_t channel_id,
135 fwk_id_t channel_id,
156 fwk_id_t channel_id,
170 fwk_id_t channel_id);
/SCP-firmware-master/module/transport/include/
A Dmod_transport.h289 int (*signal_message)(fwk_id_t channel_id);
311 int (*get_secure)(fwk_id_t channel_id, bool *secure);
326 int (*get_max_payload_size)(fwk_id_t channel_id, size_t *size);
341 int (*get_message_header)(fwk_id_t channel_id, uint32_t *message_header);
359 int (*get_payload)(fwk_id_t channel_id, const void **payload, size_t *size);
379 fwk_id_t channel_id,
397 int (*respond)(fwk_id_t channel_id, const void *payload, size_t size);
416 fwk_id_t channel_id,
429 int (*release_transport_channel_lock)(fwk_id_t channel_id);
440 int (*trigger_interrupt)(fwk_id_t channel_id);
/SCP-firmware-master/product/morello/module/morello_smt/src/
A Dmod_smt.c62 static int smt_get_secure(fwk_id_t channel_id, bool *secure) in smt_get_secure() argument
72 &smt_ctx.channel_ctx_table[fwk_id_get_element_idx(channel_id)]; in smt_get_secure()
79 static int smt_get_max_payload_size(fwk_id_t channel_id, size_t *size) in smt_get_max_payload_size() argument
117 fwk_id_t channel_id, in smt_get_payload() argument
145 fwk_id_t channel_id, in smt_write_payload() argument
220 static bool smt_is_channel_free(fwk_id_t channel_id) in smt_is_channel_free() argument
248 if (!smt_is_channel_free(channel_id)) in smt_send()
267 static int smt_put_channel(fwk_id_t channel_id) in smt_put_channel() argument
319 static int smt_signal_message(fwk_id_t channel_id) in smt_signal_message() argument
366 fwk_id_t channel_id, in smt_channel_init() argument
[all …]
/SCP-firmware-master/product/n1sdp/module/n1sdp_smt/src/
A Dmod_smt.c62 static int smt_get_secure(fwk_id_t channel_id, bool *secure) in smt_get_secure() argument
72 &smt_ctx.channel_ctx_table[fwk_id_get_element_idx(channel_id)]; in smt_get_secure()
79 static int smt_get_max_payload_size(fwk_id_t channel_id, size_t *size) in smt_get_max_payload_size() argument
89 &smt_ctx.channel_ctx_table[fwk_id_get_element_idx(channel_id)]; in smt_get_max_payload_size()
116 static int smt_get_payload(fwk_id_t channel_id, in smt_get_payload() argument
143 static int smt_write_payload(fwk_id_t channel_id, in smt_write_payload() argument
218 static bool smt_is_channel_free(fwk_id_t channel_id) in smt_is_channel_free() argument
246 if (!smt_is_channel_free(channel_id)) in smt_send()
265 static int smt_put_channel(fwk_id_t channel_id) in smt_put_channel() argument
317 static int smt_signal_message(fwk_id_t channel_id) in smt_signal_message() argument
[all …]
/SCP-firmware-master/module/scmi/include/
A Dmod_scmi.h209 int (*get_secure)(fwk_id_t channel_id, bool *secure);
225 int (*get_max_payload_size)(fwk_id_t channel_id, size_t *size);
242 int (*get_message_header)(fwk_id_t channel_id, uint32_t *message_header);
262 int (*get_payload)(fwk_id_t channel_id, const void **payload,
283 int (*write_payload)(fwk_id_t channel_id, size_t offset,
303 int (*respond)(fwk_id_t channel_id, const void *payload, size_t size);
324 fwk_id_t channel_id,
337 int (*release_transport_channel_lock)(fwk_id_t channel_id);
/SCP-firmware-master/module/scmi/test/mocks/
A DMockmod_scmi_extra.h29 …ure_ExpectAndReturn(channel_id, secure, cmock_retval) mod_scmi_to_transport_api_get_secure_CMockEx… argument
31 typedef int (* CMOCK_mod_scmi_to_transport_api_get_secure_CALLBACK)(fwk_id_t channel_id, bool* secu…
41 …ExpectAndReturn(channel_id, size, cmock_retval) mod_scmi_to_transport_api_get_max_payload_size_CMo… argument
43 typedef int (* CMOCK_mod_scmi_to_transport_api_get_max_payload_size_CALLBACK)(fwk_id_t channel_id, …
53 …ctAndReturn(channel_id, message_header, cmock_retval) mod_scmi_to_transport_api_get_message_header… argument
65 …ExpectAndReturn(channel_id, payload, size, cmock_retval) mod_scmi_to_transport_api_get_payload_CMo… argument
81 …tAndReturn(channel_id, offset, payload, size, cmock_retval) mod_scmi_to_transport_api_write_payloa… argument
89 …d_ExpectAndReturn(channel_id, payload, size, cmock_retval) mod_scmi_to_transport_api_respond_CMock… argument
97channel_id, message_header, payload, size, request_ack_by_interrupt, cmock_retval) mod_scmi_to_tra… argument
105 …pectAndReturn(channel_id, cmock_retval) mod_scmi_to_transport_api_release_transport_channel_lock_C… argument
[all …]
A DMockmod_scmi_extra.c532 int mod_scmi_to_transport_api_get_secure(fwk_id_t channel_id, bool* secure) in mod_scmi_to_transport_api_get_secure() argument
579 memcpy((void*)(&cmock_call_instance->Expected_channel_id), (void*)(&channel_id), in CMockExpectParameters_mod_scmi_to_transport_api_get_secure()
632 int mod_scmi_to_transport_api_get_max_payload_size(fwk_id_t channel_id, size_t* size) in mod_scmi_to_transport_api_get_max_payload_size() argument
676 memcpy((void*)(&cmock_call_instance->Expected_channel_id), (void*)(&channel_id), in CMockExpectParameters_mod_scmi_to_transport_api_get_max_payload_size()
776 memcpy((void*)(&cmock_call_instance->Expected_channel_id), (void*)(&channel_id), in CMockExpectParameters_mod_scmi_to_transport_api_get_message_header()
883 memcpy((void*)(&cmock_call_instance->Expected_channel_id), (void*)(&channel_id), in CMockExpectParameters_mod_scmi_to_transport_api_get_payload()
996 memcpy((void*)(&cmock_call_instance->Expected_channel_id), (void*)(&channel_id), in CMockExpectParameters_mod_scmi_to_transport_api_write_payload()
1088 memcpy((void*)(&cmock_call_instance->Expected_channel_id), (void*)(&channel_id), in CMockExpectParameters_mod_scmi_to_transport_api_respond()
1186 memcpy((void*)(&cmock_call_instance->Expected_channel_id), (void*)(&channel_id), in CMockExpectParameters_mod_scmi_to_transport_api_transmit()
1233 int mod_scmi_to_transport_api_release_transport_channel_lock(fwk_id_t channel_id) in mod_scmi_to_transport_api_release_transport_channel_lock() argument
[all …]
/SCP-firmware-master/module/optee/smt/src/
A Dmod_optee_smt.c77 static int smt_get_secure(fwk_id_t channel_id, bool *secure) in smt_get_secure() argument
87 &smt_ctx.channel_ctx_table[fwk_id_get_element_idx(channel_id)]; in smt_get_secure()
96 static int smt_get_max_payload_size(fwk_id_t channel_id, size_t *size) in smt_get_max_payload_size() argument
106 &smt_ctx.channel_ctx_table[fwk_id_get_element_idx(channel_id)]; in smt_get_max_payload_size()
123 &smt_ctx.channel_ctx_table[fwk_id_get_element_idx(channel_id)]; in smt_get_message_header()
134 static int smt_get_payload(fwk_id_t channel_id, in smt_get_payload() argument
162 static int smt_write_payload(fwk_id_t channel_id, in smt_write_payload() argument
217 static int smt_transmit(fwk_id_t channel_id, uint32_t message_header, in smt_transmit() argument
333 static int smt_signal_message(fwk_id_t channel_id) in smt_signal_message() argument
396 size_t elt_idx = fwk_id_get_element_idx(channel_id); in mailbox_channel_init()
[all …]
/SCP-firmware-master/module/msg_smt/src/
A Dmod_msg_smt.c77 static int smt_get_secure(fwk_id_t channel_id, bool *secure) in smt_get_secure() argument
90 static int smt_get_max_payload_size(fwk_id_t channel_id, size_t *size) in smt_get_max_payload_size() argument
100 &smt_ctx.channel_ctx_table[fwk_id_get_element_idx(channel_id)]; in smt_get_max_payload_size()
107 static int smt_get_message_header(fwk_id_t channel_id, uint32_t *header) in smt_get_message_header() argument
117 &smt_ctx.channel_ctx_table[fwk_id_get_element_idx(channel_id)]; in smt_get_message_header()
128 static int smt_get_payload(fwk_id_t channel_id, in smt_get_payload() argument
140 &smt_ctx.channel_ctx_table[fwk_id_get_element_idx(channel_id)]; in smt_get_payload()
155 static int smt_write_payload(fwk_id_t channel_id, in smt_write_payload() argument
163 &smt_ctx.channel_ctx_table[fwk_id_get_element_idx(channel_id)]; in smt_write_payload()
204 static int smt_transmit(fwk_id_t channel_id, uint32_t message_header, in smt_transmit() argument
[all …]
/SCP-firmware-master/module/msg_smt/include/
A Dmod_msg_smt.h70 …int (*signal_message)(fwk_id_t channel_id, void *msg_in, size_t in_len, void *msg_out, size_t out_…
88 int (*raise_notification)(fwk_id_t channel_id, size_t size);
/SCP-firmware-master/module/transport/src/
A Dmod_transport.c92 static int transport_get_secure(fwk_id_t channel_id, bool *secure) in transport_get_secure() argument
111 static int transport_get_max_payload_size(fwk_id_t channel_id, size_t *size) in transport_get_max_payload_size() argument
154 fwk_id_t channel_id, in transport_get_payload() argument
184 fwk_id_t channel_id, in transport_write_payload() argument
215 fwk_id_t channel_id, in transport_respond() argument
301 fwk_id_t channel_id, in transport_transmit() argument
382 static int transport_release_channel_lock(fwk_id_t channel_id) in transport_release_channel_lock() argument
402 static int transport_trigger_interrupt(fwk_id_t channel_id) in transport_trigger_interrupt() argument
645 static int transport_signal_message(fwk_id_t channel_id) in transport_signal_message() argument
731 fwk_id_t channel_id, in transport_channel_init() argument
[all …]
/SCP-firmware-master/module/optee/mbx/src/
A Dmod_optee_mbx.c125 static int raise_smt_interrupt(fwk_id_t channel_id) in raise_smt_interrupt() argument
127 size_t idx = fwk_id_get_element_idx(channel_id); in raise_smt_interrupt()
141 static int raise_shm_notification(fwk_id_t channel_id, size_t size) in raise_shm_notification() argument
143 size_t idx = fwk_id_get_element_idx(channel_id); in raise_shm_notification()
/SCP-firmware-master/module/optee/smt/include/
A Dmod_optee_smt.h110 int (*signal_message)(fwk_id_t channel_id);
/SCP-firmware-master/module/mhu2/src/
A Dmod_mhu2.c305 static int mhu2_channel_init(fwk_id_t channel_id, in mhu2_channel_init() argument
318 channel_ctx = &ctx.channel_ctx_table[fwk_id_get_element_idx(channel_id)]; in mhu2_channel_init()

Completed in 32 milliseconds