Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/mfd/
H A Dingenic-tcu.h53 #define TCU_REG_TCNTc(c) (TCU_REG_TCNT0 + ((c) * TCU_CHANNEL_STRIDE)) macro
/openbmc/linux/drivers/clocksource/
H A Dingenic-timer.c56 regmap_read(tcu->map, TCU_REG_TCNTc(tcu->cs_channel), &count); in ingenic_tcu_timer_read()
98 regmap_write(tcu->map, TCU_REG_TCNTc(timer->channel), 0); in ingenic_tcu_cevt_set_next()
231 regmap_write(tcu->map, TCU_REG_TCNTc(channel), 0); in ingenic_tcu_clocksource_init()
/openbmc/linux/drivers/pwm/
H A Dpwm-jz4740.c177 regmap_write(jz4740->map, TCU_REG_TCNTc(pwm->hwpwm), 0); in jz4740_pwm_apply()