Searched refs:stmpe_pwm (Results 1 – 3 of 3) sorted by relevance
28 struct stmpe_pwm { struct34 static inline struct stmpe_pwm *to_stmpe_pwm(struct pwm_chip *chip) in to_stmpe_pwm() argument36 return container_of(chip, struct stmpe_pwm, chip); in to_stmpe_pwm()41 struct stmpe_pwm *stmpe_pwm = to_stmpe_pwm(chip); in stmpe_24xx_pwm_enable() local45 ret = stmpe_reg_read(stmpe_pwm->stmpe, STMPE24XX_PWMCS); in stmpe_24xx_pwm_enable()54 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_enable()67 struct stmpe_pwm *stmpe_pwm = to_stmpe_pwm(chip); in stmpe_24xx_pwm_disable() local71 ret = stmpe_reg_read(stmpe_pwm->stmpe, STMPE24XX_PWMCS); in stmpe_24xx_pwm_disable()80 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_disable()102 struct stmpe_pwm *stmpe_pwm = to_stmpe_pwm(chip); in stmpe_24xx_pwm_config() local[all …]
143 stmpe0_pwm: stmpe_pwm {
460 stmpe_pwm {