Home
last modified time | relevance | path

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

/u-boot/arch/arm/mach-imx/
A Drdc-sema.c51 struct rdc_sema_regs *imx_rdc_sema; in imx_rdc_sema_lock() local
60 imx_rdc_sema = (struct rdc_sema_regs *)SEMAPHORE1_BASE_ADDR; in imx_rdc_sema_lock()
62 imx_rdc_sema = (struct rdc_sema_regs *)SEMAPHORE2_BASE_ADDR; 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()
81 struct rdc_sema_regs *imx_rdc_sema; in imx_rdc_sema_unlock() local
90 imx_rdc_sema = (struct rdc_sema_regs *)SEMAPHORE1_BASE_ADDR; in imx_rdc_sema_unlock()
92 imx_rdc_sema = (struct rdc_sema_regs *)SEMAPHORE2_BASE_ADDR; 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()

Completed in 2 milliseconds