/trusted-firmware-a/plat/imx/common/include/sci/svc/rm/ |
A D | sci_rm_api.h | 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); 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); 534 sc_err_t sc_rm_memreg_alloc(sc_ipc_t ipc, sc_rm_mr_t *mr, 561 sc_err_t sc_rm_memreg_split(sc_ipc_t ipc, sc_rm_mr_t mr, 578 sc_err_t sc_rm_memreg_free(sc_ipc_t ipc, sc_rm_mr_t mr); 603 sc_err_t sc_rm_find_memreg(sc_ipc_t ipc, sc_rm_mr_t *mr, 675 sc_err_t sc_rm_get_memreg_info(sc_ipc_t ipc, sc_rm_mr_t mr, 737 sc_bool_t sc_rm_is_pad_owned(sc_ipc_t ipc, sc_pad_t pad); [all …]
|
/trusted-firmware-a/plat/imx/common/include/sci/svc/misc/ |
A D | sci_misc_api.h | 120 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, 243 sc_err_t sc_misc_seco_authenticate(sc_ipc_t ipc, 337 sc_err_t sc_misc_seco_chip_info(sc_ipc_t ipc, uint16_t *lc, 354 void sc_misc_debug_out(sc_ipc_t ipc, uint8_t ch); 414 sc_err_t sc_misc_set_ari(sc_ipc_t ipc, sc_rsrc_t resource, 446 sc_err_t sc_misc_boot_done(sc_ipc_t ipc, sc_rsrc_t cpu); 498 sc_err_t sc_misc_set_temp(sc_ipc_t ipc, sc_rsrc_t resource, 515 sc_err_t sc_misc_get_temp(sc_ipc_t ipc, sc_rsrc_t resource, [all …]
|
/trusted-firmware-a/plat/imx/common/include/sci/svc/timer/ |
A D | sci_timer_api.h | 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, 239 sc_err_t sc_timer_get_rtc_sec1970(sc_ipc_t ipc, uint32_t *sec); 288 sc_err_t sc_timer_cancel_rtc_alarm(sc_ipc_t ipc); 303 sc_err_t sc_timer_set_rtc_calb(sc_ipc_t ipc, int8_t count); [all …]
|
/trusted-firmware-a/plat/imx/common/include/sci/svc/pm/ |
A D | sci_pm_api.h | 271 sc_err_t sc_pm_get_sys_power_mode(sc_ipc_t ipc, sc_rm_pt_t pt, 402 sc_err_t sc_pm_set_cpu_resume(sc_ipc_t ipc, sc_rsrc_t resource, 453 sc_err_t sc_pm_set_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource, 474 sc_err_t sc_pm_get_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource, 502 sc_err_t sc_pm_clock_enable(sc_ipc_t ipc, sc_rsrc_t resource, 526 sc_err_t sc_pm_set_clock_parent(sc_ipc_t ipc, sc_rsrc_t resource, 547 sc_err_t sc_pm_get_clock_parent(sc_ipc_t ipc, sc_rsrc_t resource, 573 sc_err_t sc_pm_reset(sc_ipc_t ipc, sc_pm_reset_type_t type); 602 sc_err_t sc_pm_boot(sc_ipc_t ipc, sc_rm_pt_t pt, 627 void sc_pm_reboot(sc_ipc_t ipc, sc_pm_reset_type_t type); [all …]
|
/trusted-firmware-a/plat/imx/common/include/sci/svc/pad/ |
A D | sci_pad_api.h | 214 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, 338 sc_err_t sc_pad_set_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); 435 sc_err_t sc_pad_set_gp_28fdsoi(sc_ipc_t ipc, sc_pad_t pad, 456 sc_err_t sc_pad_get_gp_28fdsoi(sc_ipc_t ipc, sc_pad_t pad, 480 sc_err_t sc_pad_set_gp_28fdsoi_hsic(sc_ipc_t ipc, sc_pad_t pad, 505 sc_err_t sc_pad_get_gp_28fdsoi_hsic(sc_ipc_t ipc, sc_pad_t pad, 534 sc_err_t sc_pad_set_gp_28fdsoi_comp(sc_ipc_t ipc, sc_pad_t pad, [all …]
|
/trusted-firmware-a/plat/imx/common/include/sci/ |
A D | sci_ipc.h | 36 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;
|
A D | sci_rpc.h | 100 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);
|
A D | sci_scfw.h | 26 typedef uint64_t sc_ipc_t; typedef
|
/trusted-firmware-a/plat/imx/common/sci/ |
A D | ipc.c | 16 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()
|
/trusted-firmware-a/plat/imx/common/sci/svc/rm/ |
A D | rm_rpc_clnt.c | 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() 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() 393 sc_err_t sc_rm_memreg_alloc(sc_ipc_t ipc, sc_rm_mr_t *mr, in sc_rm_memreg_alloc() 418 sc_err_t sc_rm_memreg_split(sc_ipc_t ipc, sc_rm_mr_t mr, in sc_rm_memreg_split() 445 sc_err_t sc_rm_memreg_free(sc_ipc_t ipc, sc_rm_mr_t mr) in sc_rm_memreg_free() 462 sc_err_t sc_rm_find_memreg(sc_ipc_t ipc, sc_rm_mr_t *mr, in sc_rm_find_memreg() 542 sc_err_t sc_rm_get_memreg_info(sc_ipc_t ipc, sc_rm_mr_t mr, in sc_rm_get_memreg_info() 608 sc_bool_t sc_rm_is_pad_owned(sc_ipc_t ipc, sc_pad_t pad) in sc_rm_is_pad_owned() [all …]
|
A D | sci_rm_rpc.h | 77 void rm_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
|
/trusted-firmware-a/plat/imx/common/sci/svc/misc/ |
A D | misc_rpc_clnt.c | 31 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() 135 sc_err_t sc_misc_seco_authenticate(sc_ipc_t ipc, in sc_misc_seco_authenticate() 244 sc_err_t sc_misc_seco_chip_info(sc_ipc_t ipc, uint16_t *lc, in sc_misc_seco_chip_info() 274 void sc_misc_debug_out(sc_ipc_t ipc, uint8_t ch) in sc_misc_debug_out() 340 sc_err_t sc_misc_set_ari(sc_ipc_t ipc, sc_rsrc_t resource, in sc_misc_set_ari() 374 sc_err_t sc_misc_boot_done(sc_ipc_t ipc, sc_rsrc_t cpu) in sc_misc_boot_done() 429 sc_err_t sc_misc_set_temp(sc_ipc_t ipc, sc_rsrc_t resource, in sc_misc_set_temp() 450 sc_err_t sc_misc_get_temp(sc_ipc_t ipc, sc_rsrc_t resource, in sc_misc_get_temp() [all …]
|
A D | sci_misc_rpc.h | 72 void misc_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
|
/trusted-firmware-a/plat/imx/common/sci/svc/timer/ |
A D | timer_rpc_clnt.c | 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() 251 sc_err_t sc_timer_get_rtc_sec1970(sc_ipc_t ipc, uint32_t *sec) in sc_timer_get_rtc_sec1970() 311 sc_err_t sc_timer_cancel_rtc_alarm(sc_ipc_t ipc) in sc_timer_cancel_rtc_alarm() 327 sc_err_t sc_timer_set_rtc_calb(sc_ipc_t ipc, int8_t count) in sc_timer_set_rtc_calb() [all …]
|
A D | sci_timer_rpc.h | 65 void timer_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
|
/trusted-firmware-a/plat/imx/common/sci/svc/pm/ |
A D | pm_rpc_clnt.c | 32 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() 191 sc_err_t sc_pm_set_cpu_resume(sc_ipc_t ipc, sc_rsrc_t resource, in sc_pm_set_cpu_resume() 235 sc_err_t sc_pm_set_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource, in sc_pm_set_clock_rate() 256 sc_err_t sc_pm_get_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource, in sc_pm_get_clock_rate() 279 sc_err_t sc_pm_clock_enable(sc_ipc_t ipc, sc_rsrc_t resource, in sc_pm_clock_enable() 343 sc_err_t sc_pm_reset(sc_ipc_t ipc, sc_pm_reset_type_t type) in sc_pm_reset() 380 sc_err_t sc_pm_boot(sc_ipc_t ipc, sc_rm_pt_t pt, in sc_pm_boot() 404 void sc_pm_reboot(sc_ipc_t ipc, sc_pm_reset_type_t type) in sc_pm_reboot() [all …]
|
A D | sci_pm_rpc.h | 67 void pm_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
|
/trusted-firmware-a/plat/imx/common/sci/svc/pad/ |
A D | pad_rpc_clnt.c | 31 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() 161 sc_err_t sc_pad_set_all(sc_ipc_t ipc, sc_pad_t pad, uint8_t mux, in sc_pad_set_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() 263 sc_err_t sc_pad_set_gp_28fdsoi(sc_ipc_t ipc, sc_pad_t pad, in sc_pad_set_gp_28fdsoi() 283 sc_err_t sc_pad_get_gp_28fdsoi(sc_ipc_t ipc, sc_pad_t pad, in sc_pad_get_gp_28fdsoi() 310 sc_err_t sc_pad_set_gp_28fdsoi_hsic(sc_ipc_t ipc, sc_pad_t pad, in sc_pad_set_gp_28fdsoi_hsic() [all …]
|
A D | sci_pad_rpc.h | 62 void pad_xlate(sc_ipc_t ipc, sc_rpc_msg_t *msg);
|