/linux/include/linux/ |
A D | cpuidle.h | 25 struct cpuidle_driver; 60 struct cpuidle_driver *drv, 74 struct cpuidle_driver *drv, 122 struct cpuidle_driver { struct 145 extern int cpuidle_select(struct cpuidle_driver *drv, 148 extern int cpuidle_enter(struct cpuidle_driver *drv, 155 extern struct cpuidle_driver *cpuidle_get_driver(void); 161 extern int cpuidle_register(struct cpuidle_driver *drv, 263 int (*enable) (struct cpuidle_driver *drv, 265 void (*disable) (struct cpuidle_driver *drv, [all …]
|
A D | cpu_cooling.h | 63 struct cpuidle_driver; 66 void cpuidle_cooling_register(struct cpuidle_driver *drv); 68 static inline void cpuidle_cooling_register(struct cpuidle_driver *drv) in cpuidle_cooling_register()
|
/linux/drivers/cpuidle/ |
A D | driver.c | 26 static DEFINE_PER_CPU(struct cpuidle_driver *, cpuidle_drivers); 35 static struct cpuidle_driver *__cpuidle_get_cpu_driver(int cpu) in __cpuidle_get_cpu_driver() 68 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver() 73 struct cpuidle_driver *old_drv; in __cpuidle_set_driver() 88 static struct cpuidle_driver *cpuidle_curr_driver; 154 static void __cpuidle_driver_init(struct cpuidle_driver *drv) in __cpuidle_driver_init() 207 static int __cpuidle_register_driver(struct cpuidle_driver *drv) in __cpuidle_register_driver() 264 int cpuidle_register_driver(struct cpuidle_driver *drv) in cpuidle_register_driver() 297 void cpuidle_unregister_driver(struct cpuidle_driver *drv) in cpuidle_unregister_driver() 322 struct cpuidle_driver *cpuidle_get_driver(void) in cpuidle_get_driver() [all …]
|
A D | cpuidle-qcom-spm.c | 29 struct cpuidle_driver cpuidle_driver; member 62 struct cpuidle_driver *drv, int idx) in spm_enter_idle_state() 65 cpuidle_driver); in spm_enter_idle_state() 70 static struct cpuidle_driver qcom_spm_idle_driver = { 117 data->cpuidle_driver = qcom_spm_idle_driver; in spm_cpuidle_register() 118 data->cpuidle_driver.cpumask = (struct cpumask *)cpumask_of(cpu); in spm_cpuidle_register() 120 ret = dt_init_idle_driver(&data->cpuidle_driver, in spm_cpuidle_register() 129 return cpuidle_register(&data->cpuidle_driver, NULL); in spm_cpuidle_register()
|
A D | cpuidle.h | 19 struct cpuidle_driver *drv, int next_state); 41 bool cpuidle_state_is_coupled(struct cpuidle_driver *drv, int state); 42 int cpuidle_coupled_state_verify(struct cpuidle_driver *drv); 44 struct cpuidle_driver *drv, int next_state); 49 bool cpuidle_state_is_coupled(struct cpuidle_driver *drv, int state) in cpuidle_state_is_coupled() 54 static inline int cpuidle_coupled_state_verify(struct cpuidle_driver *drv) in cpuidle_coupled_state_verify() 60 struct cpuidle_driver *drv, int next_state) in cpuidle_enter_state_coupled()
|
A D | cpuidle.c | 49 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available() 63 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() 77 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state() 129 int cpuidle_find_deepest_state(struct cpuidle_driver *drv, in cpuidle_find_deepest_state() 137 static void enter_s2idle_proper(struct cpuidle_driver *drv, in enter_s2idle_proper() 392 u64 cpuidle_poll_time(struct cpuidle_driver *drv, in cpuidle_poll_time() 500 struct cpuidle_driver *drv; in cpuidle_enable_device() 553 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_disable_device() 574 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in __cpuidle_unregister_device() 702 void cpuidle_unregister(struct cpuidle_driver *drv) in cpuidle_unregister() [all …]
|
A D | cpuidle-psci.c | 57 struct cpuidle_driver *drv, int idx, in __psci_enter_domain_idle_state() 99 struct cpuidle_driver *drv, int idx) in psci_enter_domain_idle_state() 105 struct cpuidle_driver *drv, in psci_enter_s2idle_domain_idle_state() 150 struct cpuidle_driver *drv, int idx) in psci_enter_idle_state() 180 static int psci_dt_cpu_init_topology(struct cpuidle_driver *drv, in psci_dt_cpu_init_topology() 204 static int psci_dt_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_dt_cpu_init_idle() 246 static int psci_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_cpu_init_idle() 280 struct cpuidle_driver *drv; in psci_idle_init_cpu() 362 struct cpuidle_driver *drv; in psci_cpuidle_probe()
|
A D | cpuidle-mvebu-v7.c | 29 struct cpuidle_driver *drv, in mvebu_v7_enter_idle() 48 static struct cpuidle_driver armadaxp_idle_driver = { 71 static struct cpuidle_driver armada370_idle_driver = { 86 static struct cpuidle_driver armada38x_idle_driver = { 109 return cpuidle_register((struct cpuidle_driver *)id->driver_data, NULL); in mvebu_v7_cpuidle_probe()
|
A D | cpuidle-powernv.c | 31 static struct cpuidle_driver powernv_idle_driver = { 50 struct cpuidle_driver *drv, in get_snooze_timeout() 69 struct cpuidle_driver *drv, in snooze_loop() 104 struct cpuidle_driver *drv, in nap_loop() 115 struct cpuidle_driver *drv, in fastsleep_loop() 141 struct cpuidle_driver *drv, in stop_loop() 191 struct cpuidle_driver *drv = &powernv_idle_driver; in powernv_cpuidle_driver_init() 230 struct cpuidle_driver *, in add_powernv_state() argument
|
A D | cpuidle-big_little.c | 27 struct cpuidle_driver *drv, int idx); 59 static struct cpuidle_driver bl_idle_little_driver = { 80 static struct cpuidle_driver bl_idle_big_driver = { 124 struct cpuidle_driver *drv, int idx) in bl_enter_powerdown() 138 static int __init bl_idle_driver_init(struct cpuidle_driver *drv, int part_id) in bl_idle_driver_init()
|
A D | cpuidle-arm.c | 35 struct cpuidle_driver *drv, int idx) in arm_enter_idle_state() 45 static struct cpuidle_driver arm_idle_driver __initdata = { 81 struct cpuidle_driver *drv; in arm_idle_init_cpu() 147 struct cpuidle_driver *drv; in arm_idle_init()
|
A D | cpuidle-exynos.c | 28 struct cpuidle_driver *drv, in exynos_enter_coupled_lowpower() 59 struct cpuidle_driver *drv, in exynos_enter_lowpower() 76 static struct cpuidle_driver exynos_idle_driver = { 93 static struct cpuidle_driver exynos_coupled_idle_driver = {
|
A D | cpuidle-pseries.c | 26 static struct cpuidle_driver pseries_idle_driver = { 37 struct cpuidle_driver *drv, in snooze_loop() 218 struct cpuidle_driver *drv, in dedicated_cede_loop() 241 struct cpuidle_driver *drv, in shared_cede_loop() 328 struct cpuidle_driver *drv = &pseries_idle_driver; in pseries_cpuidle_driver_init()
|
A D | cpuidle-haltpoll.c | 29 struct cpuidle_driver *drv, int index) in default_enter_idle() 39 static struct cpuidle_driver haltpoll_driver = { 105 struct cpuidle_driver *drv = &haltpoll_driver; in haltpoll_init()
|
A D | cpuidle-zynq.c | 26 struct cpuidle_driver *drv, int index) in zynq_enter_idle() 34 static struct cpuidle_driver zynq_idle_driver = {
|
A D | sysfs.c | 47 struct cpuidle_driver *drv; in show_current_driver() 473 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(device); in cpuidle_add_state_sysfs() 513 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(device); in cpuidle_remove_state_sysfs() 529 struct cpuidle_driver *drv; 536 ssize_t (*show)(struct cpuidle_driver *, char *); 537 ssize_t (*store)(struct cpuidle_driver *, const char *, size_t); 540 static ssize_t show_driver_name(struct cpuidle_driver *drv, char *buf) in show_driver_name() 609 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_add_driver_sysfs()
|
A D | cpuidle-at91.c | 30 struct cpuidle_driver *drv, in at91_enter_idle() 37 static struct cpuidle_driver at91_idle_driver = {
|
/linux/arch/sh/kernel/cpu/shmobile/ |
A D | cpuidle.c | 25 struct cpuidle_driver *drv, in cpuidle_sleep_enter() 51 static struct cpuidle_driver cpuidle_driver = { variable 89 cpuidle_driver.states[1].flags = CPUIDLE_FLAG_NONE; in sh_mobile_setup_cpuidle() 92 cpuidle_driver.states[2].flags = CPUIDLE_FLAG_NONE; in sh_mobile_setup_cpuidle() 94 return cpuidle_register(&cpuidle_driver, NULL); in sh_mobile_setup_cpuidle()
|
/linux/arch/arm/mach-omap2/ |
A D | cpuidle44xx.c | 86 struct cpuidle_driver *drv, in omap_enter_idle_simple() 94 struct cpuidle_driver *drv, in omap_enter_idle_smp() 120 struct cpuidle_driver *drv, in omap_enter_idle_coupled() 234 static struct cpuidle_driver omap4_idle_driver = { 269 static struct cpuidle_driver omap5_idle_driver = { 305 struct cpuidle_driver *idle_driver; in omap4_idle_init()
|
A D | cpuidle34xx.c | 108 struct cpuidle_driver *drv, in omap3_enter_idle() 170 struct cpuidle_driver *drv, int index) in next_valid_state() 220 struct cpuidle_driver *drv, in omap3_enter_idle_bm() 263 static struct cpuidle_driver omap3_idle_driver = { 326 static struct cpuidle_driver omap3430_idle_driver = {
|
/linux/drivers/cpuidle/governors/ |
A D | teo.c | 160 static void teo_update(struct cpuidle_driver *drv, struct cpuidle_device *dev) in teo_update() 249 static s64 teo_middle_of_bin(int idx, struct cpuidle_driver *drv) in teo_middle_of_bin() 262 static int teo_find_shallower_state(struct cpuidle_driver *drv, in teo_find_shallower_state() 285 static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in teo_select() 507 static int teo_enable_device(struct cpuidle_driver *drv, in teo_enable_device()
|
/linux/arch/arm/mach-imx/ |
A D | cpuidle-imx5.c | 12 struct cpuidle_driver *drv, int index) in imx5_cpuidle_enter() 18 static struct cpuidle_driver imx5_cpuidle_driver = {
|
A D | cpuidle-imx6sl.c | 15 struct cpuidle_driver *drv, int index) in imx6sl_enter_wait() 30 static struct cpuidle_driver imx6sl_cpuidle_driver = {
|
A D | cpuidle-imx7ulp.c | 16 struct cpuidle_driver *drv, int index) in imx7ulp_enter_wait() 30 static struct cpuidle_driver imx7ulp_cpuidle_driver = {
|
/linux/arch/arm/mach-s3c/ |
A D | cpuidle-s3c64xx.c | 23 struct cpuidle_driver *drv, in s3c64xx_enter_idle() 39 static struct cpuidle_driver s3c64xx_cpuidle_driver = {
|