Home
last modified time | relevance | path

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

/drivers/cpuidle/
Dsysfs.c339 struct cpuidle_state_kobj { struct
377 static void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_add_s2idle_attr_group()
389 static void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) in cpuidle_remove_s2idle_attr_group()
395 static inline void cpuidle_add_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_add_s2idle_attr_group()
396 static inline void cpuidle_remove_s2idle_attr_group(struct cpuidle_state_kobj *kobj) { } in cpuidle_remove_s2idle_attr_group()
399 #define kobj_to_state_obj(k) container_of(k, struct cpuidle_state_kobj, kobj)
444 struct cpuidle_state_kobj *state_obj = kobj_to_state_obj(kobj); in cpuidle_state_sysfs_release()
471 struct cpuidle_state_kobj *kobj; in cpuidle_add_state_sysfs()
477 kobj = kzalloc(sizeof(struct cpuidle_state_kobj), GFP_KERNEL); in cpuidle_add_state_sysfs()