Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dcpuidle.h24 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/
Dcpuidle.c24 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 …]
Dsysfs.c160 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 …]
Dcpuidle.h27 extern int cpuidle_add_state_sysfs(struct cpuidle_device *device);
28 extern void cpuidle_remove_state_sysfs(struct cpuidle_device *device);
Dgovernor.c46 struct cpuidle_device *dev; in cpuidle_switch_governor()
/linux-2.6.39/Documentation/cpuidle/
Ddriver.txt15 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/
Dcpuidle.c31 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/
Dcpuidle.c27 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/
Dintel_idle.c83 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/
Dmenu.c185 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()
Dladder.c65 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/
Dcpuidle.c27 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/
Dcpuidle.c40 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/
Dcpuidle34xx.c122 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/
Dprocessor_idle.c748 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/
Dprocessor.h71 struct cpuidle_device dev;