Searched refs:TCFG0_BIT_CH (Results 1 - 1 of 1) sorted by relevance

/u-boot/arch/arm/mach-nexell/
H A Dtimer.c47 #define TCFG0_BIT_CH(ch) ((ch) == 0 || (ch) == 1 ? 0 : 8) macro
63 u32 val = readl(base + REG_TCFG0) & ~(0xFF << TCFG0_BIT_CH(ch));
65 writel(val | ((scl - 1) << TCFG0_BIT_CH(ch)), base + REG_TCFG0);

Completed in 33 milliseconds