/linux/drivers/cpuidle/ |
H 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 …]
|
H A D | sysfs.c | 147 ssize_t (*show)(struct cpuidle_device *, char *); 148 ssize_t (*store)(struct cpuidle_device *, const char *, size_t count); 154 struct cpuidle_device *dev; 159 static inline struct cpuidle_device *to_cpuidle_device(struct kobject *kobj) in to_cpuidle_device() 171 struct cpuidle_device *dev = to_cpuidle_device(kobj); in cpuidle_show() 186 struct cpuidle_device *dev = to_cpuidle_device(kobj); in cpuidle_store() 352 struct cpuidle_device *device; 434 struct cpuidle_device *dev = kobj_to_device(kobj); in cpuidle_state_store() 463 static inline void cpuidle_free_state_kobj(struct cpuidle_device *device, int i) in cpuidle_free_state_kobj() 476 static int cpuidle_add_state_sysfs(struct cpuidle_device *device) in cpuidle_add_state_sysfs() [all …]
|
H A D | cpuidle-haltpoll.c | 25 static struct cpuidle_device __percpu *haltpoll_cpuidle_devices; 28 static __cpuidle int default_enter_idle(struct cpuidle_device *dev, in default_enter_idle() 58 struct cpuidle_device *dev; in haltpoll_cpu_online() 75 struct cpuidle_device *dev; in haltpoll_cpu_offline() 119 haltpoll_cpuidle_devices = alloc_percpu(struct cpuidle_device); in haltpoll_init()
|
H 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() 105 static int nap_loop(struct cpuidle_device *dev, in nap_loop() 116 static int fastsleep_loop(struct cpuidle_device *dev, in fastsleep_loop() 142 static int stop_loop(struct cpuidle_device *dev, in stop_loop() 166 struct cpuidle_device *dev = per_cpu(cpuidle_devices, cpu); in powernv_cpuidle_cpu_online() 178 struct cpuidle_device *dev = per_cpu(cpuidle_devices, cpu); in powernv_cpuidle_cpu_dead() 232 int (*idle_fn)(struct cpuidle_device *, in add_powernv_state() argument
|
H 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() 465 int cpuidle_enter_state_coupled(struct cpuidle_device *dev, in cpuidle_enter_state_coupled() 635 int cpuidle_coupled_register_device(struct cpuidle_device *dev) in cpuidle_coupled_register_device() 638 struct cpuidle_device *other_dev; in cpuidle_coupled_register_device() 683 void cpuidle_coupled_unregister_device(struct cpuidle_device *dev) in cpuidle_coupled_unregister_device() 738 struct cpuidle_device *dev; in coupled_cpu_online() 754 struct cpuidle_device *dev; in coupled_cpu_up_prepare()
|
H A D | cpuidle-tegra.c | 140 static int tegra_cpuidle_coupled_barrier(struct cpuidle_device *dev) in tegra_cpuidle_coupled_barrier() 163 static __cpuidle int tegra_cpuidle_state_enter(struct cpuidle_device *dev, in tegra_cpuidle_state_enter() 229 static __cpuidle int tegra_cpuidle_enter(struct cpuidle_device *dev, in tegra_cpuidle_enter() 262 static int tegra114_enter_s2idle(struct cpuidle_device *dev, in tegra114_enter_s2idle()
|
H 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()
|
H A D | cpuidle-psci.c | 53 static __cpuidle int __psci_enter_domain_idle_state(struct cpuidle_device *dev, in __psci_enter_domain_idle_state() 91 static int psci_enter_domain_idle_state(struct cpuidle_device *dev, in psci_enter_domain_idle_state() 97 static int psci_enter_s2idle_domain_idle_state(struct cpuidle_device *dev, in psci_enter_s2idle_domain_idle_state() 191 static __cpuidle int psci_enter_idle_state(struct cpuidle_device *dev, in psci_enter_idle_state() 411 struct cpuidle_device *dev; in psci_cpuidle_probe()
|
H A D | cpuidle-riscv-sbi.c | 78 static __cpuidle int sbi_cpuidle_enter_state(struct cpuidle_device *dev, in sbi_cpuidle_enter_state() 91 static __cpuidle int __sbi_enter_domain_idle_state(struct cpuidle_device *dev, in __sbi_enter_domain_idle_state() 134 static int sbi_enter_domain_idle_state(struct cpuidle_device *dev, in sbi_enter_domain_idle_state() 140 static int sbi_enter_s2idle_domain_idle_state(struct cpuidle_device *dev, in sbi_enter_s2idle_domain_idle_state() 506 struct cpuidle_device *dev; in sbi_cpuidle_probe()
|
H 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()
|
H A D | cpuidle-big_little.c | 26 static int bl_enter_powerdown(struct cpuidle_device *dev, 125 static __cpuidle int bl_enter_powerdown(struct cpuidle_device *dev, in bl_enter_powerdown()
|
H A D | cpuidle-zynq.c | 25 static int zynq_enter_idle(struct cpuidle_device *dev, in zynq_enter_idle()
|
/linux/drivers/cpuidle/governors/ |
H A D | haltpoll.c | 50 struct cpuidle_device *dev, in haltpoll_select() 79 static void adjust_poll_limit(struct cpuidle_device *dev, u64 block_ns) in adjust_poll_limit() 120 static void haltpoll_reflect(struct cpuidle_device *dev, int index) in haltpoll_reflect() 134 struct cpuidle_device *dev) in haltpoll_enable_device()
|
H A D | ladder.c | 52 static inline void ladder_do_selection(struct cpuidle_device *dev, in ladder_do_selection() 68 struct cpuidle_device *dev, bool *dummy) in ladder_select_state() 134 struct cpuidle_device *dev) in ladder_enable_device() 168 static void ladder_reflect(struct cpuidle_device *dev, int index) in ladder_reflect()
|
H A D | teo.c | 143 static void teo_update(struct cpuidle_driver *drv, struct cpuidle_device *dev) in teo_update() 254 struct cpuidle_device *dev, int state_idx, in teo_find_shallower_state() 277 static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in teo_select() 504 static void teo_reflect(struct cpuidle_device *dev, int state) in teo_reflect() 529 struct cpuidle_device *dev) in teo_enable_device()
|
/linux/Documentation/driver-api/pm/ |
H 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 97 void (*disable) (struct cpuidle_driver *drv, struct cpuidle_device *dev); 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 243 However, it also is necessary to register struct cpuidle_device objects for [all …]
|
/linux/arch/arm/include/asm/ |
H 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/ |
H 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()
|
H 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()
|
/linux/kernel/sched/ |
H A D | idle.c | 129 struct cpuidle_device *dev) in call_cpuidle_s2idle() 137 static int call_cpuidle(struct cpuidle_driver *drv, struct cpuidle_device *dev, in call_cpuidle() 169 struct cpuidle_device *dev = cpuidle_get_device(); in cpuidle_idle_call()
|
/linux/drivers/firmware/psci/ |
H 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()
|
/linux/arch/arm/mach-imx/ |
H A D | cpuidle-imx5.c | 11 static __cpuidle int imx5_cpuidle_enter(struct cpuidle_device *dev, in imx5_cpuidle_enter()
|
H A D | cpuidle-imx6sl.c | 14 static __cpuidle int imx6sl_enter_wait(struct cpuidle_device *dev, in imx6sl_enter_wait()
|
/linux/arch/mips/include/asm/ |
H A D | idle.h | 20 extern int mips_cpuidle_wait_enter(struct cpuidle_device *dev,
|
/linux/arch/arm/mach-s3c/ |
H A D | cpuidle-s3c64xx.c | 22 static __cpuidle int s3c64xx_enter_idle(struct cpuidle_device *dev, in s3c64xx_enter_idle()
|