Home
last modified time | relevance | path

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

/linux/drivers/pwm/
H A Dpwm-sti.c27 #define PWM_CPT_EDGE(x) (0x30 + (4 * (x))) /* Edge to capture on */ macro
324 regmap_write(pc->regmap, PWM_CPT_EDGE(pwm->hwpwm), CPT_EDGE_RISING); in sti_pwm_capture()
338 regmap_write(pc->regmap, PWM_CPT_EDGE(pwm->hwpwm), CPT_EDGE_DISABLED); in sti_pwm_capture()
467 regmap_read(pc->regmap, PWM_CPT_EDGE(devicenum), &reg); in sti_pwm_interrupt()
469 regmap_write(pc->regmap, PWM_CPT_EDGE(devicenum), reg); in sti_pwm_interrupt()
476 PWM_CPT_EDGE(devicenum), in sti_pwm_interrupt()