Home
last modified time | relevance | path

Searched refs:idle_cdev (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/thermal/
Dcpuidle_cooling.c105 struct cpuidle_cooling_device *idle_cdev = cdev->devdata; in cpuidle_cooling_get_cur_state() local
107 *state = idle_cdev->state; in cpuidle_cooling_get_cur_state()
127 struct cpuidle_cooling_device *idle_cdev = cdev->devdata; in cpuidle_cooling_set_cur_state() local
128 struct idle_inject_device *ii_dev = idle_cdev->ii_dev; in cpuidle_cooling_set_cur_state()
129 unsigned long current_state = idle_cdev->state; in cpuidle_cooling_set_cur_state()
132 idle_cdev->state = state; in cpuidle_cooling_set_cur_state()
174 struct cpuidle_cooling_device *idle_cdev; in __cpuidle_cooling_register() local
182 idle_cdev = kzalloc(sizeof(*idle_cdev), GFP_KERNEL); in __cpuidle_cooling_register()
183 if (!idle_cdev) { in __cpuidle_cooling_register()
200 idle_cdev->ii_dev = ii_dev; in __cpuidle_cooling_register()
[all …]