Home
last modified time | relevance | path

Searched refs:sti_pwm_lock (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/pwm/
H A Dpwm-sti.c95 struct mutex sti_pwm_lock; /* To sync between enable/disable calls */ member
253 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()