Searched refs:pwm_lpss_read (Results 1 – 1 of 1) sorted by relevance
37 static inline u32 pwm_lpss_read(const struct pwm_device *pwm) in pwm_lpss_read() function79 return (pwm_lpss_read(pwm) & PWM_SW_UPDATE) ? -EBUSY : 0; in pwm_lpss_is_updating()107 ctrl = pwm_lpss_read(pwm); in pwm_lpss_prepare()120 pwm_lpss_write(pwm, pwm_lpss_read(pwm) | PWM_ENABLE); in pwm_lpss_cond_enable()159 pwm_lpss_write(pwm, pwm_lpss_read(pwm) & ~PWM_ENABLE); in pwm_lpss_apply()178 ctrl = pwm_lpss_read(pwm); in pwm_lpss_get_state()242 ctrl = pwm_lpss_read(&lpwm->chip.pwms[i]); in pwm_lpss_probe()