Searched refs:sti_pwm_lock (Results 1 – 1 of 1) sorted by relevance
62 struct mutex sti_pwm_lock; /* To sync between enable/disable calls */ member207 mutex_lock(&pc->sti_pwm_lock); in sti_pwm_enable()222 mutex_unlock(&pc->sti_pwm_lock); in sti_pwm_enable()230 mutex_lock(&pc->sti_pwm_lock); in sti_pwm_disable()232 mutex_unlock(&pc->sti_pwm_lock); in sti_pwm_disable()238 mutex_unlock(&pc->sti_pwm_lock); in sti_pwm_disable()338 mutex_init(&pc->sti_pwm_lock); in sti_pwm_probe()