Searched refs:sti_pwm_lock (Results 1 – 1 of 1) sorted by relevance
95 struct mutex sti_pwm_lock; /* To sync between enable/disable calls */ member253 mutex_lock(&pc->sti_pwm_lock); in sti_pwm_enable()275 mutex_unlock(&pc->sti_pwm_lock); in sti_pwm_enable()283 mutex_lock(&pc->sti_pwm_lock); in sti_pwm_disable()286 mutex_unlock(&pc->sti_pwm_lock); in sti_pwm_disable()295 mutex_unlock(&pc->sti_pwm_lock); in sti_pwm_disable()597 mutex_init(&pc->sti_pwm_lock); in sti_pwm_probe()