Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/thermal/
A Dcpuidle_cooling.c104 struct cpuidle_cooling_device *idle_cdev = cdev->devdata; in cpuidle_cooling_get_cur_state() local
106 *state = idle_cdev->state; in cpuidle_cooling_get_cur_state()
126 struct cpuidle_cooling_device *idle_cdev = cdev->devdata; in cpuidle_cooling_set_cur_state() local
127 struct idle_inject_device *ii_dev = idle_cdev->ii_dev; in cpuidle_cooling_set_cur_state()
128 unsigned long current_state = idle_cdev->state; in cpuidle_cooling_set_cur_state()
131 idle_cdev->state = state; in cpuidle_cooling_set_cur_state()
173 struct cpuidle_cooling_device *idle_cdev; in __cpuidle_cooling_register() local
181 idle_cdev = kzalloc(sizeof(*idle_cdev), GFP_KERNEL); in __cpuidle_cooling_register()
182 if (!idle_cdev) { in __cpuidle_cooling_register()
199 idle_cdev->ii_dev = ii_dev; in __cpuidle_cooling_register()
[all …]

Completed in 4 milliseconds