Home
last modified time | relevance | path

Searched refs:per_id (Results 1 – 2 of 2) sorted by relevance

/u-boot/arch/arm/mach-imx/
A Drdc-sema.c15 static inline int imx_rdc_check_sema_required(int per_id) in imx_rdc_check_sema_required() argument
20 reg = readl(&imx_rdc->pdap[per_id]); in imx_rdc_check_sema_required()
34 int imx_rdc_check_permission(int per_id, int dom_id) in imx_rdc_check_permission() argument
39 reg = readl(&imx_rdc->pdap[per_id]); in imx_rdc_check_permission()
49 int imx_rdc_sema_lock(int per_id) in imx_rdc_sema_lock() argument
55 ret = imx_rdc_check_sema_required(per_id); in imx_rdc_sema_lock()
59 if (per_id < SEMA_GATES_NUM) in imx_rdc_sema_lock()
66 &imx_rdc_sema->gate[per_id % SEMA_GATES_NUM]); in imx_rdc_sema_lock()
79 int imx_rdc_sema_unlock(int per_id) in imx_rdc_sema_unlock() argument
85 ret = imx_rdc_check_sema_required(per_id); in imx_rdc_sema_unlock()
[all …]
/u-boot/arch/arm/include/asm/mach-imx/
A Drdc-sema.h90 int imx_rdc_check_permission(int per_id, int dom_id);
91 int imx_rdc_sema_lock(int per_id);
92 int imx_rdc_sema_unlock(int per_id);

Completed in 6 milliseconds