Searched refs:PWM_CPT_EDGE (Results 1 – 1 of 1) sorted by relevance
27 #define PWM_CPT_EDGE(x) (0x30 + (4 * (x))) /* Edge to capture on */ macro332 regmap_write(pc->regmap, PWM_CPT_EDGE(pwm->hwpwm), CPT_EDGE_RISING); in sti_pwm_capture()346 regmap_write(pc->regmap, PWM_CPT_EDGE(pwm->hwpwm), CPT_EDGE_DISABLED); in sti_pwm_capture()445 regmap_read(pc->regmap, PWM_CPT_EDGE(devicenum), ®); in sti_pwm_interrupt()447 regmap_write(pc->regmap, PWM_CPT_EDGE(devicenum), reg); in sti_pwm_interrupt()454 PWM_CPT_EDGE(devicenum), in sti_pwm_interrupt()