/linux/include/linux/ |
A D | cpuidle.h | 24 struct cpuidle_device; 92 struct cpuidle_device { struct 143 struct cpuidle_device *dev); 146 struct cpuidle_device *dev, 152 struct cpuidle_device *dev); 178 struct cpuidle_device *dev) in cpuidle_not_available() 188 struct cpuidle_device *dev) in cpuidle_poll_time() 221 struct cpuidle_device *dev); 264 struct cpuidle_device *dev); 266 struct cpuidle_device *dev); [all …]
|
/linux/drivers/cpuidle/ |
A D | cpuidle.h | 18 extern int cpuidle_enter_state(struct cpuidle_device *dev, 35 extern int cpuidle_add_device_sysfs(struct cpuidle_device *device); 36 extern void cpuidle_remove_device_sysfs(struct cpuidle_device *device); 37 extern int cpuidle_add_sysfs(struct cpuidle_device *dev); 38 extern void cpuidle_remove_sysfs(struct cpuidle_device *dev); 43 int cpuidle_enter_state_coupled(struct cpuidle_device *dev, 45 int cpuidle_coupled_register_device(struct cpuidle_device *dev); 46 void cpuidle_coupled_unregister_device(struct cpuidle_device *dev); 59 static inline int cpuidle_enter_state_coupled(struct cpuidle_device *dev, in cpuidle_enter_state_coupled() 65 static inline int cpuidle_coupled_register_device(struct cpuidle_device *dev) in cpuidle_coupled_register_device() [all …]
|
A D | cpuidle.c | 30 DEFINE_PER_CPU(struct cpuidle_device *, cpuidle_devices); 31 DEFINE_PER_CPU(struct cpuidle_device, cpuidle_dev); 50 struct cpuidle_device *dev) in cpuidle_not_available() 78 struct cpuidle_device *dev, in find_deepest_state() 112 struct cpuidle_device *dev; in cpuidle_use_deepest_state() 130 struct cpuidle_device *dev, in cpuidle_find_deepest_state() 138 struct cpuidle_device *dev, int index) in enter_s2idle_proper() 393 struct cpuidle_device *dev) in cpuidle_poll_time() 497 int cpuidle_enable_device(struct cpuidle_device *dev) in cpuidle_enable_device() 705 struct cpuidle_device *device; in cpuidle_unregister() [all …]
|
A D | sysfs.c | 140 ssize_t (*show)(struct cpuidle_device *, char *); 147 struct cpuidle_device *dev; 164 struct cpuidle_device *dev = to_cpuidle_device(kobj); in cpuidle_show() 179 struct cpuidle_device *dev = to_cpuidle_device(kobj); in cpuidle_store() 344 struct cpuidle_device *device; 426 struct cpuidle_device *dev = kobj_to_device(kobj); in cpuidle_state_store() 605 static int cpuidle_add_driver_sysfs(struct cpuidle_device *dev) in cpuidle_add_driver_sysfs() 660 int cpuidle_add_device_sysfs(struct cpuidle_device *device) in cpuidle_add_device_sysfs() 678 void cpuidle_remove_device_sysfs(struct cpuidle_device *device) in cpuidle_remove_device_sysfs() 688 int cpuidle_add_sysfs(struct cpuidle_device *dev) in cpuidle_add_sysfs() [all …]
|
A D | cpuidle-haltpoll.c | 25 static struct cpuidle_device __percpu *haltpoll_cpuidle_devices; 28 static int default_enter_idle(struct cpuidle_device *dev, in default_enter_idle() 59 struct cpuidle_device *dev; in haltpoll_cpu_online() 76 struct cpuidle_device *dev; in haltpoll_cpu_offline() 120 haltpoll_cpuidle_devices = alloc_percpu(struct cpuidle_device); in haltpoll_init()
|
A D | cpuidle-powernv.c | 49 static u64 get_snooze_timeout(struct cpuidle_device *dev, in get_snooze_timeout() 68 static int snooze_loop(struct cpuidle_device *dev, in snooze_loop() 103 static int nap_loop(struct cpuidle_device *dev, in nap_loop() 114 static int fastsleep_loop(struct cpuidle_device *dev, in fastsleep_loop() 140 static int stop_loop(struct cpuidle_device *dev, in stop_loop() 163 struct cpuidle_device *dev = per_cpu(cpuidle_devices, cpu); in powernv_cpuidle_cpu_online() 175 struct cpuidle_device *dev = per_cpu(cpuidle_devices, cpu); in powernv_cpuidle_cpu_dead() 229 int (*idle_fn)(struct cpuidle_device *, in add_powernv_state() argument
|
A D | coupled.c | 149 void cpuidle_coupled_parallel_barrier(struct cpuidle_device *dev, atomic_t *a) in cpuidle_coupled_parallel_barrier() 293 static inline int cpuidle_coupled_get_state(struct cpuidle_device *dev, in cpuidle_coupled_get_state() 470 int cpuidle_enter_state_coupled(struct cpuidle_device *dev, in cpuidle_enter_state_coupled() 642 int cpuidle_coupled_register_device(struct cpuidle_device *dev) in cpuidle_coupled_register_device() 645 struct cpuidle_device *other_dev; in cpuidle_coupled_register_device() 690 void cpuidle_coupled_unregister_device(struct cpuidle_device *dev) in cpuidle_coupled_unregister_device() 745 struct cpuidle_device *dev; in coupled_cpu_online() 761 struct cpuidle_device *dev; in coupled_cpu_up_prepare()
|
A D | cpuidle-pseries.c | 36 static int snooze_loop(struct cpuidle_device *dev, in snooze_loop() 217 static int dedicated_cede_loop(struct cpuidle_device *dev, in dedicated_cede_loop() 240 static int shared_cede_loop(struct cpuidle_device *dev, in shared_cede_loop() 300 struct cpuidle_device *dev = per_cpu(cpuidle_devices, cpu); in pseries_cpuidle_cpu_online() 312 struct cpuidle_device *dev = per_cpu(cpuidle_devices, cpu); in pseries_cpuidle_cpu_dead()
|
A D | cpuidle-tegra.c | 140 static int tegra_cpuidle_coupled_barrier(struct cpuidle_device *dev) in tegra_cpuidle_coupled_barrier() 163 static int tegra_cpuidle_state_enter(struct cpuidle_device *dev, in tegra_cpuidle_state_enter() 225 static int tegra_cpuidle_enter(struct cpuidle_device *dev, in tegra_cpuidle_enter() 253 static int tegra114_enter_s2idle(struct cpuidle_device *dev, in tegra114_enter_s2idle()
|
A D | cpuidle-psci.c | 56 static int __psci_enter_domain_idle_state(struct cpuidle_device *dev, in __psci_enter_domain_idle_state() 98 static int psci_enter_domain_idle_state(struct cpuidle_device *dev, in psci_enter_domain_idle_state() 104 static int psci_enter_s2idle_domain_idle_state(struct cpuidle_device *dev, in psci_enter_s2idle_domain_idle_state() 149 static int psci_enter_idle_state(struct cpuidle_device *dev, in psci_enter_idle_state() 363 struct cpuidle_device *dev; in psci_cpuidle_probe()
|
A D | cpuidle-cps.c | 23 static int cps_nc_enter(struct cpuidle_device *dev, in cps_nc_enter() 105 struct cpuidle_device *device; in cps_cpuidle_unregister() 118 struct cpuidle_device *device; in cps_cpuidle_init()
|
A D | cpuidle-arm.c | 34 static int arm_enter_idle_state(struct cpuidle_device *dev, in arm_enter_idle_state() 148 struct cpuidle_device *dev; in arm_idle_init()
|
A D | cpuidle-exynos.c | 27 static int exynos_enter_coupled_lowpower(struct cpuidle_device *dev, in exynos_enter_coupled_lowpower() 58 static int exynos_enter_lowpower(struct cpuidle_device *dev, in exynos_enter_lowpower()
|
A D | cpuidle-big_little.c | 26 static int bl_enter_powerdown(struct cpuidle_device *dev, 123 static int bl_enter_powerdown(struct cpuidle_device *dev, in bl_enter_powerdown()
|
/linux/drivers/cpuidle/governors/ |
A D | haltpoll.c | 49 struct cpuidle_device *dev, in haltpoll_select() 78 static void adjust_poll_limit(struct cpuidle_device *dev, u64 block_ns) in adjust_poll_limit() 112 static void haltpoll_reflect(struct cpuidle_device *dev, int index) in haltpoll_reflect() 126 struct cpuidle_device *dev) in haltpoll_enable_device()
|
A D | ladder.c | 51 static inline void ladder_do_selection(struct cpuidle_device *dev, in ladder_do_selection() 67 struct cpuidle_device *dev, bool *dummy) in ladder_select_state() 133 struct cpuidle_device *dev) in ladder_enable_device() 167 static void ladder_reflect(struct cpuidle_device *dev, int index) in ladder_reflect()
|
A D | teo.c | 160 static void teo_update(struct cpuidle_driver *drv, struct cpuidle_device *dev) in teo_update() 263 struct cpuidle_device *dev, int state_idx, in teo_find_shallower_state() 285 static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in teo_select() 483 static void teo_reflect(struct cpuidle_device *dev, int state) in teo_reflect() 508 struct cpuidle_device *dev) in teo_enable_device()
|
A D | menu.c | 161 static void menu_update(struct cpuidle_driver *drv, struct cpuidle_device *dev); 265 static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in menu_select() 436 static void menu_reflect(struct cpuidle_device *dev, int index) in menu_reflect() 450 static void menu_update(struct cpuidle_driver *drv, struct cpuidle_device *dev) in menu_update() 546 struct cpuidle_device *dev) in menu_enable_device()
|
/linux/Documentation/driver-api/pm/ |
A D | cpuidle.rst | 78 int (*enable) (struct cpuidle_driver *drv, struct cpuidle_device *dev); 81 (logical) CPU represented by the struct cpuidle_device object pointed 100 by the struct cpuidle_device object pointed to by the ``dev`` 110 int (*select) (struct cpuidle_driver *drv, struct cpuidle_device *dev, 114 CPU represented by the struct cpuidle_device object pointed to by the 140 void (*reflect) (struct cpuidle_device *dev, int index); 207 void (*enter) (struct cpuidle_device *dev, struct cpuidle_driver *drv, 210 The first two arguments of it point to the struct cpuidle_device object 253 The registration of a struct cpuidle_device object causes the ``CPUIdle`` 261 struct cpuidle_device objects representing CPUs handled by the given [all …]
|
/linux/drivers/acpi/ |
A D | processor_idle.c | 48 static DEFINE_PER_CPU(struct cpuidle_device *, acpi_cpuidle_device); 664 static int acpi_idle_enter(struct cpuidle_device *dev, in acpi_idle_enter() 693 static int acpi_idle_enter_s2idle(struct cpuidle_device *dev, in acpi_idle_enter_s2idle() 723 struct cpuidle_device *dev) in acpi_processor_setup_cpuidle_cx() 848 struct cpuidle_device *dev) in acpi_processor_setup_cpuidle_cx() 1156 static int acpi_idle_lpi_enter(struct cpuidle_device *dev, in acpi_idle_lpi_enter() 1237 struct cpuidle_device *dev) in acpi_processor_setup_cpuidle_dev() 1263 struct cpuidle_device *dev; in acpi_processor_hotplug() 1288 struct cpuidle_device *dev; in acpi_processor_power_state_has_changed() 1345 struct cpuidle_device *dev; in acpi_processor_power_init() [all …]
|
/linux/arch/arm/include/asm/ |
A D | cpuidle.h | 8 extern int arm_cpuidle_simple_enter(struct cpuidle_device *dev, 12 static inline int arm_cpuidle_simple_enter(struct cpuidle_device *dev, in arm_cpuidle_simple_enter()
|
/linux/arch/arm/mach-omap2/ |
A D | cpuidle34xx.c | 107 static int omap3_enter_idle(struct cpuidle_device *dev, in omap3_enter_idle() 169 static int next_valid_state(struct cpuidle_device *dev, in next_valid_state() 219 static int omap3_enter_idle_bm(struct cpuidle_device *dev, in omap3_enter_idle_bm()
|
A D | cpuidle44xx.c | 85 static int omap_enter_idle_simple(struct cpuidle_device *dev, in omap_enter_idle_simple() 93 static int omap_enter_idle_smp(struct cpuidle_device *dev, in omap_enter_idle_smp() 119 static int omap_enter_idle_coupled(struct cpuidle_device *dev, in omap_enter_idle_coupled()
|
/linux/kernel/sched/ |
A D | idle.c | 132 struct cpuidle_device *dev) in call_cpuidle_s2idle() 140 static int call_cpuidle(struct cpuidle_driver *drv, struct cpuidle_device *dev, in call_cpuidle() 172 struct cpuidle_device *dev = cpuidle_get_device(); in cpuidle_idle_call()
|
/linux/drivers/firmware/psci/ |
A D | psci_checker.c | 233 static int suspend_cpu(struct cpuidle_device *dev, in suspend_cpu() 277 struct cpuidle_device *dev; in suspend_test_thread() 390 struct cpuidle_device *dev = per_cpu(cpuidle_devices, cpu); in suspend_tests()
|