Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-exynos/include/mach/
H A Dpwm.h23 #define TCON_OFFSET(x) ((x + 1) * (!!x) << 2) macro
25 #define TCON_START(x) (1 << TCON_OFFSET(x))
26 #define TCON_UPDATE(x) (1 << (TCON_OFFSET(x) + 1))
27 #define TCON_INVERTER(x) (1 << (TCON_OFFSET(x) + 2))
28 #define TCON_AUTO_RELOAD(x) (1 << (TCON_OFFSET(x) + 3))
/openbmc/u-boot/arch/arm/mach-s5pc1xx/include/mach/
H A Dpwm.h23 #define TCON_OFFSET(x) ((x + 1) * (!!x) << 2) macro
25 #define TCON_START(x) (1 << TCON_OFFSET(x))
26 #define TCON_UPDATE(x) (1 << (TCON_OFFSET(x) + 1))
27 #define TCON_INVERTER(x) (1 << (TCON_OFFSET(x) + 2))
28 #define TCON_AUTO_RELOAD(x) (1 << (TCON_OFFSET(x) + 3))
/openbmc/u-boot/arch/arm/cpu/armv7/s5p-common/
H A Dpwm.c162 val = readl(&pwm->tcon) & ~(0xf << TCON_OFFSET(pwm_id)); in pwm_init()