Searched refs:per_id (Results 1 – 3 of 3) sorted by relevance
15 static inline int imx_rdc_check_sema_required(int per_id) in imx_rdc_check_sema_required() argument20 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() argument39 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() argument55 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()67 reg = readb(&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[all …]
90 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);
243 int per_id; in main() local291 per_id = create_fifo_thread(periodic_thread, NULL, PRIO); in main()293 join_thread(per_id); in main()