Searched refs:tcdev_lock (Results 1 – 4 of 4) sorted by relevance
5336 mutex_lock(&plat_priv->tcdev_lock); in cnss_tcdev_set_cur_state()5342 mutex_unlock(&plat_priv->tcdev_lock); in cnss_tcdev_set_cur_state()5406 mutex_lock(&priv->tcdev_lock); in cnss_thermal_cdev_register()5409 mutex_unlock(&priv->tcdev_lock); in cnss_thermal_cdev_register()5431 mutex_lock(&priv->tcdev_lock); in cnss_thermal_cdev_unregister()5440 mutex_unlock(&priv->tcdev_lock); in cnss_thermal_cdev_unregister()5456 mutex_lock(&priv->tcdev_lock); in cnss_get_curr_therm_cdev_state()5462 mutex_unlock(&priv->tcdev_lock); in cnss_get_curr_therm_cdev_state()5467 mutex_unlock(&priv->tcdev_lock); in cnss_get_curr_therm_cdev_state()5601 mutex_init(&plat_priv->tcdev_lock); in cnss_probe()
541 struct mutex tcdev_lock; /* mutex for cooling devices list access */ member
486 struct mutex tcdev_lock; member
2960 mutex_lock(&penv->tcdev_lock); in icnss_tcdev_set_cur_state()2965 mutex_unlock(&penv->tcdev_lock); in icnss_tcdev_set_cur_state()3055 mutex_lock(&priv->tcdev_lock); in icnss_get_curr_therm_cdev_state()3061 mutex_unlock(&priv->tcdev_lock); in icnss_get_curr_therm_cdev_state()3066 mutex_unlock(&priv->tcdev_lock); in icnss_get_curr_therm_cdev_state()4823 mutex_init(&priv->tcdev_lock); in icnss_probe()