Searched refs:pwm_lock (Results 1 – 2 of 2) sorted by relevance
34 static DEFINE_MUTEX(pwm_lock);911 * Holding the pwm_lock is probably not needed. If you use pwm_capture() in pwm_capture() 915 guard(mutex)(&pwm_lock); in pwm_capture() 933 guard(mutex)(&pwm_lock); in pwmchip_find_by_name() 953 * This function is called while holding pwm_lock. As .operational only in pwm_device_request() 1022 guard(mutex)(&pwm_lock); in pwm_request_from_chip() 1744 guard(mutex)(&pwm_lock); in fwnode_to_pwmchip() 2045 guard(mutex)(&pwm_lock); in pwm_put() 2128 guard(mutex)(&pwm_lock); in pwm_cdev_open() 2233 guard(mutex)(&pwm_lock); in pwm_cdev_ioctl() [all...]
201 struct mutex pwm_lock[NPCM7XX_PWM_MAX_MODULES]; member 224 mutex_lock(&data->pwm_lock[module]); in npcm7xx_pwm_config_set() 248 mutex_unlock(&data->pwm_lock[module]); in npcm7xx_pwm_config_set() 263 mutex_unlock(&data->pwm_lock[module]); in npcm7xx_pwm_config_set() 989 mutex_init(&data->pwm_lock[cnt]); in npcm7xx_pwm_fan_probe()