Home
last modified time | relevance | path

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

12

/linux/drivers/cpuidle/
H A Dcpuidle.h18 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 Dsysfs.c147 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 Dcpuidle-haltpoll.c25 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 Dcpuidle-powernv.c49 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 Dcoupled.c149 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 Dcpuidle-tegra.c140 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 Dcpuidle-cps.c23 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 Dcpuidle-psci.c53 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 Dcpuidle-riscv-sbi.c78 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 Dcpuidle-exynos.c27 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 Dcpuidle-big_little.c26 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 Dcpuidle-zynq.c25 static int zynq_enter_idle(struct cpuidle_device *dev, in zynq_enter_idle()
/linux/drivers/cpuidle/governors/
H A Dhaltpoll.c50 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 Dladder.c52 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 Dteo.c143 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 Dcpuidle.rst78 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 Dcpuidle.h8 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 Dcpuidle44xx.c85 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 Dcpuidle34xx.c107 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 Didle.c129 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 Dpsci_checker.c233 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 Dcpuidle-imx5.c11 static __cpuidle int imx5_cpuidle_enter(struct cpuidle_device *dev, in imx5_cpuidle_enter()
H A Dcpuidle-imx6sl.c14 static __cpuidle int imx6sl_enter_wait(struct cpuidle_device *dev, in imx6sl_enter_wait()
/linux/arch/mips/include/asm/
H A Didle.h20 extern int mips_cpuidle_wait_enter(struct cpuidle_device *dev,
/linux/arch/arm/mach-s3c/
H A Dcpuidle-s3c64xx.c22 static __cpuidle int s3c64xx_enter_idle(struct cpuidle_device *dev, in s3c64xx_enter_idle()

12