/openbmc/linux/include/linux/ |
H A D | cpuidle.h | 26 struct cpuidle_driver; 61 struct cpuidle_driver *drv, 75 struct cpuidle_driver *drv, 152 struct cpuidle_driver { struct 175 extern int cpuidle_select(struct cpuidle_driver *drv, 178 extern int cpuidle_enter(struct cpuidle_driver *drv, 185 extern struct cpuidle_driver *cpuidle_get_driver(void); 191 extern int cpuidle_register(struct cpuidle_driver *drv, 293 int (*enable) (struct cpuidle_driver *drv, 295 void (*disable) (struct cpuidle_driver *drv, [all …]
|
H 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()
|
/openbmc/linux/drivers/cpuidle/ |
H A D | driver.c | 27 static DEFINE_PER_CPU(struct cpuidle_driver *, cpuidle_drivers); 36 static struct cpuidle_driver *__cpuidle_get_cpu_driver(int cpu) in __cpuidle_get_cpu_driver() 69 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver() 74 struct cpuidle_driver *old_drv; in __cpuidle_set_driver() 89 static struct cpuidle_driver *cpuidle_curr_driver; 155 static void __cpuidle_driver_init(struct cpuidle_driver *drv) in __cpuidle_driver_init() 212 static int __cpuidle_register_driver(struct cpuidle_driver *drv) in __cpuidle_register_driver() 269 int cpuidle_register_driver(struct cpuidle_driver *drv) in cpuidle_register_driver() 302 void cpuidle_unregister_driver(struct cpuidle_driver *drv) in cpuidle_unregister_driver() 327 struct cpuidle_driver *cpuidle_get_driver(void) in cpuidle_get_driver() [all …]
|
H 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()
|
H A D | cpuidle-qcom-spm.c | 28 struct cpuidle_driver cpuidle_driver; member 61 struct cpuidle_driver *drv, int idx) in spm_enter_idle_state() 64 cpuidle_driver); in spm_enter_idle_state() 69 static struct cpuidle_driver qcom_spm_idle_driver = { 116 data->cpuidle_driver = qcom_spm_idle_driver; in spm_cpuidle_register() 117 data->cpuidle_driver.cpumask = (struct cpumask *)cpumask_of(cpu); in spm_cpuidle_register() 119 ret = dt_init_idle_driver(&data->cpuidle_driver, in spm_cpuidle_register() 124 return cpuidle_register(&data->cpuidle_driver, NULL); in spm_cpuidle_register()
|
H A D | cpuidle.c | 52 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available() 66 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() 80 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state() 132 int cpuidle_find_deepest_state(struct cpuidle_driver *drv, in cpuidle_find_deepest_state() 212 struct cpuidle_driver *drv, in cpuidle_enter_state() 537 struct cpuidle_driver *drv; in cpuidle_enable_device() 590 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_disable_device() 611 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in __cpuidle_unregister_device() 636 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in __cpuidle_register_device() 739 void cpuidle_unregister(struct cpuidle_driver *drv) in cpuidle_unregister() [all …]
|
H A D | cpuidle-mvebu-v7.c | 29 struct cpuidle_driver *drv, in mvebu_v7_enter_idle() 51 static struct cpuidle_driver armadaxp_idle_driver = { 75 static struct cpuidle_driver armada370_idle_driver = { 90 static struct cpuidle_driver armada38x_idle_driver = { 114 return cpuidle_register((struct cpuidle_driver *)id->driver_data, NULL); in mvebu_v7_cpuidle_probe()
|
H A D | cpuidle-big_little.c | 27 struct cpuidle_driver *drv, int idx); 59 static struct cpuidle_driver bl_idle_little_driver = { 81 static struct cpuidle_driver bl_idle_big_driver = { 126 struct cpuidle_driver *drv, int idx) in bl_enter_powerdown() 142 static int __init bl_idle_driver_init(struct cpuidle_driver *drv, int part_id) in bl_idle_driver_init()
|
H A D | cpuidle-psci.c | 52 struct cpuidle_driver *drv, int idx, in __psci_enter_domain_idle_state() 90 struct cpuidle_driver *drv, int idx) in psci_enter_domain_idle_state() 96 struct cpuidle_driver *drv, in psci_enter_s2idle_domain_idle_state() 186 struct cpuidle_driver *drv, int idx) in psci_enter_idle_state() 216 static int psci_dt_cpu_init_topology(struct cpuidle_driver *drv, in psci_dt_cpu_init_topology() 244 static int psci_dt_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_dt_cpu_init_idle() 286 static int psci_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_cpu_init_idle() 320 struct cpuidle_driver *drv; in psci_idle_init_cpu() 402 struct cpuidle_driver *drv; in psci_cpuidle_probe()
|
H 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() 106 struct cpuidle_driver *drv, in nap_loop() 117 struct cpuidle_driver *drv, in fastsleep_loop() 143 struct cpuidle_driver *drv, in stop_loop() 194 struct cpuidle_driver *drv = &powernv_idle_driver; in powernv_cpuidle_driver_init() 233 struct cpuidle_driver *, in add_powernv_state() argument
|
H 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()
|
H 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 = {
|
H A D | cpuidle-riscv-sbi.c | 98 struct cpuidle_driver *drv, int idx) in sbi_cpuidle_enter_state() 111 struct cpuidle_driver *drv, int idx, in __sbi_enter_domain_idle_state() 154 struct cpuidle_driver *drv, int idx) in sbi_enter_domain_idle_state() 160 struct cpuidle_driver *drv, in sbi_enter_s2idle_domain_idle_state() 238 static int sbi_dt_cpu_init_topology(struct cpuidle_driver *drv, in sbi_dt_cpu_init_topology() 265 struct cpuidle_driver *drv, in sbi_cpuidle_dt_init_states() 320 struct cpuidle_driver *drv; in sbi_cpuidle_init_cpu() 535 struct cpuidle_driver *drv; in sbi_cpuidle_probe()
|
H A D | cpuidle-haltpoll.c | 29 struct cpuidle_driver *drv, int index) in default_enter_idle() 38 static struct cpuidle_driver haltpoll_driver = { 104 struct cpuidle_driver *drv = &haltpoll_driver; in haltpoll_init()
|
H A D | cpuidle-pseries.c | 26 static struct cpuidle_driver pseries_idle_driver = { 37 int snooze_loop(struct cpuidle_device *dev, struct cpuidle_driver *drv, in snooze_loop() 220 int dedicated_cede_loop(struct cpuidle_device *dev, struct cpuidle_driver *drv, in dedicated_cede_loop() 243 int shared_cede_loop(struct cpuidle_device *dev, struct cpuidle_driver *drv, in shared_cede_loop() 332 struct cpuidle_driver *drv = &pseries_idle_driver; in pseries_cpuidle_driver_init()
|
H A D | cpuidle-zynq.c | 26 struct cpuidle_driver *drv, int index) in zynq_enter_idle() 34 static struct cpuidle_driver zynq_idle_driver = {
|
H A D | cpuidle-at91.c | 27 struct cpuidle_driver *drv, in at91_enter_idle() 34 static struct cpuidle_driver at91_idle_driver = {
|
H A D | cpuidle-clps711x.c | 19 struct cpuidle_driver *drv, int index) in clps711x_cpuidle_halt() 26 static struct cpuidle_driver clps711x_idle_driver = {
|
/openbmc/linux/arch/sh/kernel/cpu/shmobile/ |
H 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()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H 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 = { 271 static struct cpuidle_driver omap5_idle_driver = { 308 struct cpuidle_driver *idle_driver; in omap4_idle_init()
|
H 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 = { 333 static struct cpuidle_driver omap3430_idle_driver = {
|
/openbmc/linux/arch/arm/mach-imx/ |
H A D | cpuidle-imx5.c | 12 struct cpuidle_driver *drv, int index) in imx5_cpuidle_enter() 18 static struct cpuidle_driver imx5_cpuidle_driver = {
|
H A D | cpuidle-imx6sl.c | 15 struct cpuidle_driver *drv, int index) in imx6sl_enter_wait() 30 static struct cpuidle_driver imx6sl_cpuidle_driver = {
|
H A D | cpuidle-imx7ulp.c | 16 struct cpuidle_driver *drv, int index) in imx7ulp_enter_wait() 30 static struct cpuidle_driver imx7ulp_cpuidle_driver = {
|
/openbmc/linux/arch/arm/mach-s3c/ |
H A D | cpuidle-s3c64xx.c | 23 struct cpuidle_driver *drv, int index) in s3c64xx_enter_idle() 38 static struct cpuidle_driver s3c64xx_cpuidle_driver = {
|