Home
last modified time | relevance | path

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

/netbsd-src/sys/arch/arm/samsung/
H A Dexynos_pwm.c68 u_int timer_index; member
97 tcon &= ~TCON_START(timer->timer_index); in exynos_pwm_enable()
98 tcon |= TCON_UPDATE(timer->timer_index); in exynos_pwm_enable()
100 tcon &= ~TCON_UPDATE(timer->timer_index); in exynos_pwm_enable()
101 tcon |= TCON_START(timer->timer_index); in exynos_pwm_enable()
102 tcon |= TCON_AUTO_RELOAD(timer->timer_index); in exynos_pwm_enable()
106 tcon &= ~TCON_AUTO_RELOAD(timer->timer_index); in exynos_pwm_enable()
121 tcntb = PWM_READ(sc, TCNTB(timer->timer_index)); in exynos_pwm_get_config()
122 tcmpb = PWM_READ(sc, TCMPB(timer->timer_index)); in exynos_pwm_get_config()
124 conf->polarity = (tcon & TCON_OUTINV(timer->timer_index)) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW; in exynos_pwm_get_config()
[all …]