Searched refs:SEMA_GATES_NUM (Results 1 – 2 of 2) sorted by relevance
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()89 if (per_id < SEMA_GATES_NUM) in imx_rdc_sema_unlock()94 reg = readb(&imx_rdc_sema->gate[per_id % SEMA_GATES_NUM]); in imx_rdc_sema_unlock()98 writeb(0x0, &imx_rdc_sema->gate[per_id % SEMA_GATES_NUM]); in imx_rdc_sema_unlock()
33 #define SEMA_GATES_NUM 64 macro
Completed in 3 milliseconds