Searched refs:sti_pwm_lock (Results 1 – 1 of 1) sorted by relevance
101 struct mutex sti_pwm_lock; /* To sync between enable/disable calls */ member261 mutex_lock(&pc->sti_pwm_lock); in sti_pwm_enable()283 mutex_unlock(&pc->sti_pwm_lock); in sti_pwm_enable()291 mutex_lock(&pc->sti_pwm_lock); in sti_pwm_disable()294 mutex_unlock(&pc->sti_pwm_lock); in sti_pwm_disable()303 mutex_unlock(&pc->sti_pwm_lock); in sti_pwm_disable()621 mutex_init(&pc->sti_pwm_lock); in sti_pwm_probe()