From 5bf0cf59102f6a0fa812d7f60f954b5cc9ab834a Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Wed, 31 Dec 2008 18:15:24 +0000 Subject: Ingenic Jz4740: * Fix compiling * More USB work git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19628 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/jz4740.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'firmware/export/jz4740.h') diff --git a/firmware/export/jz4740.h b/firmware/export/jz4740.h index 4b6008a9ac..409d1d5a6a 100644 --- a/firmware/export/jz4740.h +++ b/firmware/export/jz4740.h @@ -5102,32 +5102,32 @@ struct Ration2m #define W_COEF_MSK 0xFF // function about REG_CTRL -#define stop_ipu(IPU_V_BASE) \ +#define IPU_STOP_IPU(IPU_V_BASE) \ REG32(IPU_V_BASE + REG_CTRL) &= ~IPU_EN; -#define run_ipu(IPU_V_BASE) \ +#define IPU_RUN_IPU(IPU_V_BASE) \ REG32(IPU_V_BASE + REG_CTRL) |= IPU_EN; -#define reset_ipu(IPU_V_BASE) \ +#define IPU_RESET_IPU(IPU_V_BASE) \ REG32(IPU_V_BASE + REG_CTRL) |= IPU_RESET; -#define disable_irq(IPU_V_BASE) \ +#define IPU_DISABLE_IRQ(IPU_V_BASE) \ REG32(IPU_V_BASE + REG_CTRL) &= ~FM_IRQ_EN; -#define disable_rsize(IPU_V_BASE) \ +#define IPU_DISABLE_RSIZE(IPU_V_BASE) \ REG32(IPU_V_BASE + REG_CTRL) &= ~RSZ_EN; -#define enable_rsize(IPU_V_BASE) \ +#define IPU_ENABLE_RSIZE(IPU_V_BASE) \ REG32(IPU_V_BASE + REG_CTRL) |= RSZ_EN; -#define ipu_is_enable(IPU_V_BASE) \ +#define IPU_IS_ENABLED(IPU_V_BASE) \ (REG32(IPU_V_BASE + REG_CTRL) & IPU_EN) // function about REG_STATUS -#define clear_end_flag(IPU_V_BASE) \ +#define IPU_CLEAR_END_FLAG(IPU_V_BASE) \ REG32(IPU_V_BASE + REG_STATUS) &= ~OUT_END; -#define polling_end_flag(IPU_V_BASE) \ +#define IPU_POLLING_END_FLAG(IPU_V_BASE) \ (REG32(IPU_V_BASE + REG_STATUS) & OUT_END) /* parameter -- cgit v1.2.3