Searched refs:pwm_lock (Results 1 – 2 of 2) sorted by relevance
32 static DEFINE_MUTEX(pwm_lock);69 mutex_lock(&pwm_lock); in pwmchip_find_by_name()75 mutex_unlock(&pwm_lock); in pwmchip_find_by_name()80 mutex_unlock(&pwm_lock); in pwmchip_find_by_name()279 mutex_lock(&pwm_lock); in pwmchip_add()283 mutex_unlock(&pwm_lock); in pwmchip_add()300 mutex_unlock(&pwm_lock); in pwmchip_add()324 mutex_lock(&pwm_lock); in pwmchip_remove()330 mutex_unlock(&pwm_lock); in pwmchip_remove()373 mutex_lock(&pwm_lock); in pwm_request_from_chip()[all …]
202 struct mutex pwm_lock[NPCM7XX_PWM_MAX_MODULES]; member225 mutex_lock(&data->pwm_lock[module]); in npcm7xx_pwm_config_set()249 mutex_unlock(&data->pwm_lock[module]); in npcm7xx_pwm_config_set()264 mutex_unlock(&data->pwm_lock[module]); in npcm7xx_pwm_config_set()985 mutex_init(&data->pwm_lock[cnt]); in npcm7xx_pwm_fan_probe()