Lines Matching refs:cdev
326 * Assuming maximum cdev states is 1024, the longer
405 * @cdev : a pointer to a cooling device
408 void thermal_debug_cdev_state_update(const struct thermal_cooling_device *cdev,
411 struct thermal_debugfs *thermal_dbg = cdev->debugfs;
474 * @cdev: a pointer to a cooling device
477 void thermal_debug_cdev_add(struct thermal_cooling_device *cdev, int state)
483 thermal_dbg = thermal_debugfs_add_id(d_cdev, cdev->id);
516 cdev->debugfs = thermal_dbg;
524 * @cdev: a pointer to a cooling device
526 void thermal_debug_cdev_remove(struct thermal_cooling_device *cdev)
530 mutex_lock(&cdev->lock);
532 thermal_dbg = cdev->debugfs;
534 mutex_unlock(&cdev->lock);
538 cdev->debugfs = NULL;
540 mutex_unlock(&cdev->lock);