Home
last modified time | relevance | path

Searched refs:sc_ipc_t (Results 1 – 19 of 19) sorted by relevance

/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/rm/
Dsci_rm_api.h149 sc_err_t sc_rm_partition_alloc(sc_ipc_t ipc, sc_rm_pt_t *pt, sc_bool_t secure,
173 sc_err_t sc_rm_set_confidential(sc_ipc_t ipc, sc_rm_pt_t pt, sc_bool_t retro);
193 sc_err_t sc_rm_partition_free(sc_ipc_t ipc, sc_rm_pt_t pt);
206 sc_rm_did_t sc_rm_get_did(sc_ipc_t ipc);
226 sc_err_t sc_rm_partition_static(sc_ipc_t ipc, sc_rm_pt_t pt, sc_rm_did_t did);
243 sc_err_t sc_rm_partition_lock(sc_ipc_t ipc, sc_rm_pt_t pt);
253 sc_err_t sc_rm_get_partition(sc_ipc_t ipc, sc_rm_pt_t *pt);
271 sc_err_t sc_rm_set_parent(sc_ipc_t ipc, sc_rm_pt_t pt, sc_rm_pt_t pt_parent);
300 sc_err_t sc_rm_move_all(sc_ipc_t ipc, sc_rm_pt_t pt_src, sc_rm_pt_t pt_dst,
334 sc_err_t sc_rm_assign_resource(sc_ipc_t ipc, sc_rm_pt_t pt, sc_rsrc_t resource);
[all …]
/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/misc/
Dsci_misc_api.h120 sc_err_t sc_misc_set_control(sc_ipc_t ipc, sc_rsrc_t resource,
140 sc_err_t sc_misc_get_control(sc_ipc_t ipc, sc_rsrc_t resource,
168 sc_err_t sc_misc_set_max_dma_group(sc_ipc_t ipc, sc_rm_pt_t pt,
189 sc_err_t sc_misc_set_dma_group(sc_ipc_t ipc, sc_rsrc_t resource,
220 sc_err_t sc_misc_seco_image_load(sc_ipc_t ipc, sc_faddr_t addr_src,
243 sc_err_t sc_misc_seco_authenticate(sc_ipc_t ipc,
262 sc_err_t sc_misc_seco_fuse_write(sc_ipc_t ipc, sc_faddr_t addr);
279 sc_err_t sc_misc_seco_enable_debug(sc_ipc_t ipc, sc_faddr_t addr);
296 sc_err_t sc_misc_seco_forward_lifecycle(sc_ipc_t ipc, uint32_t lifecycle);
317 sc_err_t sc_misc_seco_return_lifecycle(sc_ipc_t ipc, sc_faddr_t addr);
[all …]
/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/timer/
Dsci_timer_api.h78 sc_err_t sc_timer_set_wdog_timeout(sc_ipc_t ipc, sc_timer_wdog_time_t timeout);
94 sc_err_t sc_timer_set_wdog_pre_timeout(sc_ipc_t ipc,
108 sc_err_t sc_timer_start_wdog(sc_ipc_t ipc, sc_bool_t lock);
118 sc_err_t sc_timer_stop_wdog(sc_ipc_t ipc);
128 sc_err_t sc_timer_ping_wdog(sc_ipc_t ipc);
142 sc_err_t sc_timer_get_wdog_status(sc_ipc_t ipc,
160 sc_err_t sc_timer_pt_get_wdog_status(sc_ipc_t ipc, sc_rm_pt_t pt,
182 sc_err_t sc_timer_set_wdog_action(sc_ipc_t ipc,
210 sc_err_t sc_timer_set_rtc_time(sc_ipc_t ipc, uint16_t year, uint8_t mon,
227 sc_err_t sc_timer_get_rtc_time(sc_ipc_t ipc, uint16_t *year, uint8_t *mon,
[all …]
/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/pm/
Dsci_pm_api.h235 sc_err_t sc_pm_set_sys_power_mode(sc_ipc_t ipc, sc_pm_power_mode_t mode);
256 sc_err_t sc_pm_set_partition_power_mode(sc_ipc_t ipc, sc_rm_pt_t pt,
271 sc_err_t sc_pm_get_sys_power_mode(sc_ipc_t ipc, sc_rm_pt_t pt,
306 sc_err_t sc_pm_set_resource_power_mode(sc_ipc_t ipc, sc_rsrc_t resource,
321 sc_err_t sc_pm_get_resource_power_mode(sc_ipc_t ipc, sc_rsrc_t resource,
342 sc_err_t sc_pm_req_low_power_mode(sc_ipc_t ipc, sc_rsrc_t resource,
365 sc_err_t sc_pm_req_cpu_low_power_mode(sc_ipc_t ipc, sc_rsrc_t resource,
383 sc_err_t sc_pm_set_cpu_resume_addr(sc_ipc_t ipc, sc_rsrc_t resource,
402 sc_err_t sc_pm_set_cpu_resume(sc_ipc_t ipc, sc_rsrc_t resource,
422 sc_err_t sc_pm_req_sys_if_power_mode(sc_ipc_t ipc, sc_rsrc_t resource,
[all …]
/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/pad/
Dsci_pad_api.h214 sc_err_t sc_pad_set_mux(sc_ipc_t ipc, sc_pad_t pad,
235 sc_err_t sc_pad_get_mux(sc_ipc_t ipc, sc_pad_t pad,
257 sc_err_t sc_pad_set_gp(sc_ipc_t ipc, sc_pad_t pad, uint32_t ctrl);
277 sc_err_t sc_pad_get_gp(sc_ipc_t ipc, sc_pad_t pad, uint32_t *ctrl);
294 sc_err_t sc_pad_set_wakeup(sc_ipc_t ipc, sc_pad_t pad, sc_pad_wakeup_t wakeup);
311 sc_err_t sc_pad_get_wakeup(sc_ipc_t ipc, sc_pad_t pad, sc_pad_wakeup_t *wakeup);
338 sc_err_t sc_pad_set_all(sc_ipc_t ipc, sc_pad_t pad, uint8_t mux,
364 sc_err_t sc_pad_get_all(sc_ipc_t ipc, sc_pad_t pad, uint8_t *mux,
391 sc_err_t sc_pad_set(sc_ipc_t ipc, sc_pad_t pad, uint32_t val);
409 sc_err_t sc_pad_get(sc_ipc_t ipc, sc_pad_t pad, uint32_t *val);
[all …]
/external/arm-trusted-firmware/plat/imx/common/include/sci/
Dsci_ipc.h36 sc_err_t sc_ipc_open(sc_ipc_t *ipc, sc_ipc_id_t id);
43 void sc_ipc_close(sc_ipc_t ipc);
53 void sc_ipc_read(sc_ipc_t ipc, void *data);
63 void sc_ipc_write(sc_ipc_t ipc, void *data);
65 extern sc_ipc_t ipc_handle;
Dsci_rpc.h100 void sc_call_rpc(sc_ipc_t ipc, sc_rpc_msg_t *msg, bool no_resp);
126 void sc_rpc_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
Dsci_scfw.h26 typedef uint64_t sc_ipc_t; typedef
/external/arm-trusted-firmware/plat/imx/common/sci/svc/rm/
Drm_rpc_clnt.c31 sc_err_t sc_rm_partition_alloc(sc_ipc_t ipc, sc_rm_pt_t *pt, sc_bool_t secure, in sc_rm_partition_alloc()
58 sc_err_t sc_rm_set_confidential(sc_ipc_t ipc, sc_rm_pt_t pt, sc_bool_t retro) in sc_rm_set_confidential()
76 sc_err_t sc_rm_partition_free(sc_ipc_t ipc, sc_rm_pt_t pt) in sc_rm_partition_free()
93 sc_rm_did_t sc_rm_get_did(sc_ipc_t ipc) in sc_rm_get_did()
109 sc_err_t sc_rm_partition_static(sc_ipc_t ipc, sc_rm_pt_t pt, sc_rm_did_t did) in sc_rm_partition_static()
127 sc_err_t sc_rm_partition_lock(sc_ipc_t ipc, sc_rm_pt_t pt) in sc_rm_partition_lock()
144 sc_err_t sc_rm_get_partition(sc_ipc_t ipc, sc_rm_pt_t *pt) in sc_rm_get_partition()
164 sc_err_t sc_rm_set_parent(sc_ipc_t ipc, sc_rm_pt_t pt, sc_rm_pt_t pt_parent) in sc_rm_set_parent()
182 sc_err_t sc_rm_move_all(sc_ipc_t ipc, sc_rm_pt_t pt_src, sc_rm_pt_t pt_dst, in sc_rm_move_all()
203 sc_err_t sc_rm_assign_resource(sc_ipc_t ipc, sc_rm_pt_t pt, sc_rsrc_t resource) in sc_rm_assign_resource()
[all …]
Dsci_rm_rpc.h77 void rm_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
/external/arm-trusted-firmware/plat/imx/common/sci/svc/misc/
Dmisc_rpc_clnt.c31 sc_err_t sc_misc_set_control(sc_ipc_t ipc, sc_rsrc_t resource, in sc_misc_set_control()
51 sc_err_t sc_misc_get_control(sc_ipc_t ipc, sc_rsrc_t resource, in sc_misc_get_control()
73 sc_err_t sc_misc_set_max_dma_group(sc_ipc_t ipc, sc_rm_pt_t pt, in sc_misc_set_max_dma_group()
92 sc_err_t sc_misc_set_dma_group(sc_ipc_t ipc, sc_rsrc_t resource, in sc_misc_set_dma_group()
111 sc_err_t sc_misc_seco_image_load(sc_ipc_t ipc, sc_faddr_t addr_src, in sc_misc_seco_image_load()
135 sc_err_t sc_misc_seco_authenticate(sc_ipc_t ipc, in sc_misc_seco_authenticate()
155 sc_err_t sc_misc_seco_fuse_write(sc_ipc_t ipc, sc_faddr_t addr) in sc_misc_seco_fuse_write()
173 sc_err_t sc_misc_seco_enable_debug(sc_ipc_t ipc, sc_faddr_t addr) in sc_misc_seco_enable_debug()
191 sc_err_t sc_misc_seco_forward_lifecycle(sc_ipc_t ipc, uint32_t lifecycle) in sc_misc_seco_forward_lifecycle()
208 sc_err_t sc_misc_seco_return_lifecycle(sc_ipc_t ipc, sc_faddr_t addr) in sc_misc_seco_return_lifecycle()
[all …]
Dsci_misc_rpc.h72 void misc_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
/external/arm-trusted-firmware/plat/imx/common/sci/
Dipc.c16 sc_ipc_t ipc_handle;
23 void sc_call_rpc(sc_ipc_t ipc, sc_rpc_msg_t *msg, bool no_resp) in sc_call_rpc()
34 sc_err_t sc_ipc_open(sc_ipc_t *ipc, sc_ipc_id_t id) in sc_ipc_open()
54 *ipc = (sc_ipc_t) id; in sc_ipc_open()
59 void sc_ipc_close(sc_ipc_t ipc) in sc_ipc_close()
67 void sc_ipc_read(sc_ipc_t ipc, void *data) in sc_ipc_read()
95 void sc_ipc_write(sc_ipc_t ipc, void *data) in sc_ipc_write()
/external/arm-trusted-firmware/plat/imx/common/sci/svc/timer/
Dtimer_rpc_clnt.c31 sc_err_t sc_timer_set_wdog_timeout(sc_ipc_t ipc, sc_timer_wdog_time_t timeout) in sc_timer_set_wdog_timeout()
48 sc_err_t sc_timer_set_wdog_pre_timeout(sc_ipc_t ipc, in sc_timer_set_wdog_pre_timeout()
66 sc_err_t sc_timer_start_wdog(sc_ipc_t ipc, sc_bool_t lock) in sc_timer_start_wdog()
83 sc_err_t sc_timer_stop_wdog(sc_ipc_t ipc) in sc_timer_stop_wdog()
99 sc_err_t sc_timer_ping_wdog(sc_ipc_t ipc) in sc_timer_ping_wdog()
115 sc_err_t sc_timer_get_wdog_status(sc_ipc_t ipc, in sc_timer_get_wdog_status()
143 sc_err_t sc_timer_pt_get_wdog_status(sc_ipc_t ipc, sc_rm_pt_t pt, in sc_timer_pt_get_wdog_status()
172 sc_err_t sc_timer_set_wdog_action(sc_ipc_t ipc, in sc_timer_set_wdog_action()
191 sc_err_t sc_timer_set_rtc_time(sc_ipc_t ipc, uint16_t year, uint8_t mon, in sc_timer_set_rtc_time()
215 sc_err_t sc_timer_get_rtc_time(sc_ipc_t ipc, uint16_t *year, uint8_t *mon, in sc_timer_get_rtc_time()
[all …]
Dsci_timer_rpc.h65 void timer_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
/external/arm-trusted-firmware/plat/imx/common/sci/svc/pm/
Dpm_rpc_clnt.c32 sc_err_t sc_pm_set_sys_power_mode(sc_ipc_t ipc, sc_pm_power_mode_t mode) in sc_pm_set_sys_power_mode()
49 sc_err_t sc_pm_set_partition_power_mode(sc_ipc_t ipc, sc_rm_pt_t pt, in sc_pm_set_partition_power_mode()
68 sc_err_t sc_pm_get_sys_power_mode(sc_ipc_t ipc, sc_rm_pt_t pt, in sc_pm_get_sys_power_mode()
90 sc_err_t sc_pm_set_resource_power_mode(sc_ipc_t ipc, sc_rsrc_t resource, in sc_pm_set_resource_power_mode()
109 sc_err_t sc_pm_get_resource_power_mode(sc_ipc_t ipc, sc_rsrc_t resource, in sc_pm_get_resource_power_mode()
131 sc_err_t sc_pm_req_low_power_mode(sc_ipc_t ipc, sc_rsrc_t resource, in sc_pm_req_low_power_mode()
150 sc_err_t sc_pm_req_cpu_low_power_mode(sc_ipc_t ipc, sc_rsrc_t resource, in sc_pm_req_cpu_low_power_mode()
171 sc_err_t sc_pm_set_cpu_resume_addr(sc_ipc_t ipc, sc_rsrc_t resource, in sc_pm_set_cpu_resume_addr()
191 sc_err_t sc_pm_set_cpu_resume(sc_ipc_t ipc, sc_rsrc_t resource, in sc_pm_set_cpu_resume()
212 sc_err_t sc_pm_req_sys_if_power_mode(sc_ipc_t ipc, sc_rsrc_t resource, in sc_pm_req_sys_if_power_mode()
[all …]
Dsci_pm_rpc.h67 void pm_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
/external/arm-trusted-firmware/plat/imx/common/sci/svc/pad/
Dpad_rpc_clnt.c31 sc_err_t sc_pad_set_mux(sc_ipc_t ipc, sc_pad_t pad, in sc_pad_set_mux()
52 sc_err_t sc_pad_get_mux(sc_ipc_t ipc, sc_pad_t pad, in sc_pad_get_mux()
83 sc_err_t sc_pad_set_gp(sc_ipc_t ipc, sc_pad_t pad, uint32_t ctrl) in sc_pad_set_gp()
101 sc_err_t sc_pad_get_gp(sc_ipc_t ipc, sc_pad_t pad, uint32_t *ctrl) in sc_pad_get_gp()
122 sc_err_t sc_pad_set_wakeup(sc_ipc_t ipc, sc_pad_t pad, sc_pad_wakeup_t wakeup) in sc_pad_set_wakeup()
140 sc_err_t sc_pad_get_wakeup(sc_ipc_t ipc, sc_pad_t pad, sc_pad_wakeup_t *wakeup) in sc_pad_get_wakeup()
161 sc_err_t sc_pad_set_all(sc_ipc_t ipc, sc_pad_t pad, uint8_t mux, in sc_pad_set_all()
185 sc_err_t sc_pad_get_all(sc_ipc_t ipc, sc_pad_t pad, uint8_t *mux, in sc_pad_get_all()
224 sc_err_t sc_pad_set(sc_ipc_t ipc, sc_pad_t pad, uint32_t val) in sc_pad_set()
242 sc_err_t sc_pad_get(sc_ipc_t ipc, sc_pad_t pad, uint32_t *val) in sc_pad_get()
[all …]
Dsci_pad_rpc.h62 void pad_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);