Searched refs:stmpe_pwm (Results 1 – 2 of 2) sorted by relevance
32 struct stmpe_pwm { struct38 static inline struct stmpe_pwm *to_stmpe_pwm(struct pwm_chip *chip) in to_stmpe_pwm() argument40 return container_of(chip, struct stmpe_pwm, chip); in to_stmpe_pwm()45 struct stmpe_pwm *stmpe_pwm = to_stmpe_pwm(chip); in stmpe_24xx_pwm_enable() local49 ret = stmpe_reg_read(stmpe_pwm->stmpe, STMPE24XX_PWMCS); in stmpe_24xx_pwm_enable()58 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_enable()71 struct stmpe_pwm *stmpe_pwm = to_stmpe_pwm(chip); in stmpe_24xx_pwm_disable() local75 ret = stmpe_reg_read(stmpe_pwm->stmpe, STMPE24XX_PWMCS); in stmpe_24xx_pwm_disable()84 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_disable()106 struct stmpe_pwm *stmpe_pwm = to_stmpe_pwm(chip); in stmpe_24xx_pwm_config() local[all …]
144 stmpe0_pwm: stmpe_pwm {