Home
last modified time | relevance | path

Searched refs:cpuidle_driver (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.1.9/include/linux/
Dcpuidle.h25 struct cpuidle_driver;
60 struct cpuidle_driver *drv,
74 struct cpuidle_driver *drv,
122 struct cpuidle_driver { struct
142 extern bool cpuidle_not_available(struct cpuidle_driver *drv, argument
145 extern int cpuidle_select(struct cpuidle_driver *drv,
148 extern int cpuidle_enter(struct cpuidle_driver *drv,
151 extern u64 cpuidle_poll_time(struct cpuidle_driver *drv,
154 extern int cpuidle_register_driver(struct cpuidle_driver *drv);
155 extern struct cpuidle_driver *cpuidle_get_driver(void);
[all …]
Dcpu_cooling.h63 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-6.1.9/drivers/cpuidle/
Ddriver.c26 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()
48 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_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;
97 static inline struct cpuidle_driver *__cpuidle_get_cpu_driver(int cpu) in __cpuidle_get_cpu_driver()
108 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver()
125 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver()
154 static void __cpuidle_driver_init(struct cpuidle_driver *drv) in __cpuidle_driver_init()
[all …]
Dcpuidle.h19 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()
Dcpuidle-qcom-spm.c29 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()
125 return cpuidle_register(&data->cpuidle_driver, NULL); in spm_cpuidle_register()
Dcpuidle.c51 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available()
65 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead()
79 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state()
131 int cpuidle_find_deepest_state(struct cpuidle_driver *drv, in cpuidle_find_deepest_state()
139 static void enter_s2idle_proper(struct cpuidle_driver *drv, in enter_s2idle_proper()
178 int cpuidle_enter_s2idle(struct cpuidle_driver *drv, struct cpuidle_device *dev) in cpuidle_enter_s2idle()
202 int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, in cpuidle_enter_state()
324 int cpuidle_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_select()
340 int cpuidle_enter(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_enter()
397 u64 cpuidle_poll_time(struct cpuidle_driver *drv, in cpuidle_poll_time()
[all …]
Dcpuidle-mvebu-v7.c29 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()
Dcpuidle-psci.c58 struct cpuidle_driver *drv, int idx, in __psci_enter_domain_idle_state()
100 struct cpuidle_driver *drv, int idx) in psci_enter_domain_idle_state()
106 struct cpuidle_driver *drv, in psci_enter_s2idle_domain_idle_state()
196 struct cpuidle_driver *drv, int idx) in psci_enter_idle_state()
226 static int psci_dt_cpu_init_topology(struct cpuidle_driver *drv, in psci_dt_cpu_init_topology()
250 static int psci_dt_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_dt_cpu_init_idle()
292 static int psci_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_cpu_init_idle()
326 struct cpuidle_driver *drv; in psci_idle_init_cpu()
408 struct cpuidle_driver *drv; in psci_cpuidle_probe()
Dcpuidle-big_little.c27 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()
Dcpuidle-powernv.c31 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
Dcpuidle-arm.c35 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()
Dcpuidle-exynos.c28 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 = {
Dcpuidle-riscv-sbi.c97 struct cpuidle_driver *drv, int idx) in sbi_cpuidle_enter_state()
110 struct cpuidle_driver *drv, int idx, in __sbi_enter_domain_idle_state()
153 struct cpuidle_driver *drv, int idx) in sbi_enter_domain_idle_state()
159 struct cpuidle_driver *drv, in sbi_enter_s2idle_domain_idle_state()
237 static int sbi_dt_cpu_init_topology(struct cpuidle_driver *drv, in sbi_dt_cpu_init_topology()
263 struct cpuidle_driver *drv, in sbi_cpuidle_dt_init_states()
326 struct cpuidle_driver *drv; in sbi_cpuidle_init_cpu()
541 struct cpuidle_driver *drv; in sbi_cpuidle_probe()
Dcpuidle-haltpoll.c29 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()
Dcpuidle-pseries.c26 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()
Dcpuidle-zynq.c26 struct cpuidle_driver *drv, int index) in zynq_enter_idle()
34 static struct cpuidle_driver zynq_idle_driver = {
Dcpuidle-at91.c27 struct cpuidle_driver *drv, in at91_enter_idle()
34 static struct cpuidle_driver at91_idle_driver = {
Dcpuidle-clps711x.c19 struct cpuidle_driver *drv, int index) in clps711x_cpuidle_halt()
26 static struct cpuidle_driver clps711x_idle_driver = {
/linux-6.1.9/arch/sh/kernel/cpu/shmobile/
Dcpuidle.c25 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-6.1.9/arch/arm/mach-omap2/
Dcpuidle44xx.c86 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()
Dcpuidle34xx.c108 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-6.1.9/arch/arm/mach-imx/
Dcpuidle-imx5.c12 struct cpuidle_driver *drv, int index) in imx5_cpuidle_enter()
18 static struct cpuidle_driver imx5_cpuidle_driver = {
Dcpuidle-imx6sl.c15 struct cpuidle_driver *drv, int index) in imx6sl_enter_wait()
30 static struct cpuidle_driver imx6sl_cpuidle_driver = {
Dcpuidle-imx7ulp.c16 struct cpuidle_driver *drv, int index) in imx7ulp_enter_wait()
30 static struct cpuidle_driver imx7ulp_cpuidle_driver = {
/linux-6.1.9/arch/arm/mach-s3c/
Dcpuidle-s3c64xx.c23 struct cpuidle_driver *drv, in s3c64xx_enter_idle()
39 static struct cpuidle_driver s3c64xx_cpuidle_driver = {

123