/linux-2.6.39/include/linux/ |
D | cpuidle.h | 24 struct cpuidle_device; 44 int (*enter) (struct cpuidle_device *dev, 80 struct cpuidle_device { struct 98 int (*prepare) (struct cpuidle_device *dev); argument 101 DECLARE_PER_CPU(struct cpuidle_device *, cpuidle_devices); 109 static inline int cpuidle_get_last_residency(struct cpuidle_device *dev) in cpuidle_get_last_residency() 129 extern int cpuidle_register_device(struct cpuidle_device *dev); 130 extern void cpuidle_unregister_device(struct cpuidle_device *dev); 134 extern int cpuidle_enable_device(struct cpuidle_device *dev); 135 extern void cpuidle_disable_device(struct cpuidle_device *dev); [all …]
|
/linux-2.6.39/drivers/cpuidle/ |
D | cpuidle.c | 24 DEFINE_PER_CPU(struct cpuidle_device *, cpuidle_devices); 43 static int __cpuidle_register_device(struct cpuidle_device *dev); 52 struct cpuidle_device *dev = __this_cpu_read(cpuidle_devices); in cpuidle_idle_call() 165 static int poll_idle(struct cpuidle_device *dev, struct cpuidle_state *st) in poll_idle() 185 static void poll_idle_init(struct cpuidle_device *dev) in poll_idle_init() 200 static void poll_idle_init(struct cpuidle_device *dev) {} in poll_idle_init() 210 int cpuidle_enable_device(struct cpuidle_device *dev) in cpuidle_enable_device() 265 void cpuidle_disable_device(struct cpuidle_device *dev) in cpuidle_disable_device() 290 static int __cpuidle_register_device(struct cpuidle_device *dev) in __cpuidle_register_device() 338 int cpuidle_register_device(struct cpuidle_device *dev) in cpuidle_register_device() [all …]
|
D | sysfs.c | 160 ssize_t (*show)(struct cpuidle_device *, char *); 161 ssize_t (*store)(struct cpuidle_device *, const char *, size_t count); 169 #define kobj_to_cpuidledev(k) container_of(k, struct cpuidle_device, kobj) 174 struct cpuidle_device *dev = kobj_to_cpuidledev(kobj); in cpuidle_show() 189 struct cpuidle_device *dev = kobj_to_cpuidledev(kobj); in cpuidle_store() 207 struct cpuidle_device *dev = kobj_to_cpuidledev(kobj); in cpuidle_sysfs_release() 303 static inline void cpuidle_free_state_kobj(struct cpuidle_device *device, int i) in cpuidle_free_state_kobj() 315 int cpuidle_add_state_sysfs(struct cpuidle_device *device) in cpuidle_add_state_sysfs() 350 void cpuidle_remove_state_sysfs(struct cpuidle_device *device) in cpuidle_remove_state_sysfs() 365 struct cpuidle_device *dev; in cpuidle_add_sysfs() [all …]
|
D | cpuidle.h | 27 extern int cpuidle_add_state_sysfs(struct cpuidle_device *device); 28 extern void cpuidle_remove_state_sysfs(struct cpuidle_device *device);
|
D | governor.c | 46 struct cpuidle_device *dev; in cpuidle_switch_governor()
|
/linux-2.6.39/Documentation/cpuidle/ |
D | driver.txt | 15 cpuidle driver initializes the cpuidle_device structure for each CPU device 25 extern int cpuidle_register_device(struct cpuidle_device *dev); 26 extern void cpuidle_unregister_device(struct cpuidle_device *dev); 30 extern int cpuidle_enable_device(struct cpuidle_device *dev); 31 extern void cpuidle_disable_device(struct cpuidle_device *dev);
|
/linux-2.6.39/arch/arm/mach-kirkwood/ |
D | cpuidle.c | 31 static DEFINE_PER_CPU(struct cpuidle_device, kirkwood_cpuidle_device); 34 static int kirkwood_enter_idle(struct cpuidle_device *dev, in kirkwood_enter_idle() 66 struct cpuidle_device *device; in kirkwood_init_cpuidle()
|
/linux-2.6.39/arch/arm/mach-at91/ |
D | cpuidle.c | 27 static DEFINE_PER_CPU(struct cpuidle_device, at91_cpuidle_device); 35 static int at91_enter_idle(struct cpuidle_device *dev, in at91_enter_idle() 64 struct cpuidle_device *device; in at91_init_cpuidle()
|
/linux-2.6.39/drivers/idle/ |
D | intel_idle.c | 83 static struct cpuidle_device __percpu *intel_idle_cpuidle_devices; 84 static int intel_idle(struct cpuidle_device *dev, struct cpuidle_state *state); 215 static int intel_idle(struct cpuidle_device *dev, struct cpuidle_state *state) in intel_idle() 389 struct cpuidle_device *dev; in intel_idle_cpuidle_devices_uninit() 406 struct cpuidle_device *dev; in intel_idle_cpuidle_devices_init() 408 intel_idle_cpuidle_devices = alloc_percpu(struct cpuidle_device); in intel_idle_cpuidle_devices_init()
|
/linux-2.6.39/drivers/cpuidle/governors/ |
D | menu.c | 185 static void menu_update(struct cpuidle_device *dev); 233 static int menu_select(struct cpuidle_device *dev) in menu_select() 315 static void menu_reflect(struct cpuidle_device *dev) in menu_reflect() 325 static void menu_update(struct cpuidle_device *dev) in menu_update() 386 static int menu_enable_device(struct cpuidle_device *dev) in menu_enable_device()
|
D | ladder.c | 65 static int ladder_select_state(struct cpuidle_device *dev) in ladder_select_state() 128 static int ladder_enable_device(struct cpuidle_device *dev) in ladder_enable_device()
|
/linux-2.6.39/arch/sh/kernel/cpu/shmobile/ |
D | cpuidle.c | 27 static int cpuidle_sleep_enter(struct cpuidle_device *dev, in cpuidle_sleep_enter() 56 static struct cpuidle_device cpuidle_dev; 64 struct cpuidle_device *dev = &cpuidle_dev; in sh_mobile_setup_cpuidle()
|
/linux-2.6.39/arch/arm/mach-davinci/ |
D | cpuidle.c | 40 static DEFINE_PER_CPU(struct cpuidle_device, davinci_cpuidle_device); 80 static int davinci_enter_idle(struct cpuidle_device *dev, in davinci_enter_idle() 107 struct cpuidle_device *device; in davinci_cpuidle_probe()
|
/linux-2.6.39/arch/arm/mach-omap2/ |
D | cpuidle34xx.c | 122 static int omap3_enter_idle(struct cpuidle_device *dev, in omap3_enter_idle() 175 static struct cpuidle_state *next_valid_state(struct cpuidle_device *dev, in next_valid_state() 236 static int omap3_enter_idle_bm(struct cpuidle_device *dev, in omap3_enter_idle_bm() 296 DEFINE_PER_CPU(struct cpuidle_device, omap3_idle_dev); 496 struct cpuidle_device *dev; in omap3_idle_init()
|
/linux-2.6.39/drivers/acpi/ |
D | processor_idle.c | 748 static int acpi_idle_enter_c1(struct cpuidle_device *dev, in acpi_idle_enter_c1() 788 static int acpi_idle_enter_simple(struct cpuidle_device *dev, in acpi_idle_enter_simple() 864 static int acpi_idle_enter_bm(struct cpuidle_device *dev, in acpi_idle_enter_bm() 985 struct cpuidle_device *dev = &pr->power.dev; in acpi_processor_setup_cpuidle()
|
/linux-2.6.39/include/acpi/ |
D | processor.h | 71 struct cpuidle_device dev;
|