Home
last modified time | relevance | path

Searched refs:cpuidle_state (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.1/drivers/idle/
Dintel_idle.c83 struct cpuidle_state *state_table;
96 static struct cpuidle_state *cpuidle_state_table __initdata;
135 struct cpuidle_state *state = &drv->states[index]; in __intel_idle()
223 struct cpuidle_state *state = &drv->states[index]; in intel_idle_s2idle()
239 static struct cpuidle_state nehalem_cstates[] __initdata = {
276 static struct cpuidle_state snb_cstates[] __initdata = {
321 static struct cpuidle_state byt_cstates[] __initdata = {
366 static struct cpuidle_state cht_cstates[] __initdata = {
411 static struct cpuidle_state ivb_cstates[] __initdata = {
456 static struct cpuidle_state ivt_cstates[] __initdata = {
[all …]
/Linux-v6.1/drivers/cpuidle/
Dsysfs.c210 ssize_t (*show)(struct cpuidle_state *, \
212 ssize_t (*store)(struct cpuidle_state *, \
223 static ssize_t show_state_##_name(struct cpuidle_state *state, \
230 static ssize_t show_state_##_name(struct cpuidle_state *state, \
238 static ssize_t show_state_##_name(struct cpuidle_state *state, \
248 static ssize_t show_state_##_name(struct cpuidle_state *state, \
265 static ssize_t show_state_time(struct cpuidle_state *state, in define_show_state_time_function()
272 static ssize_t show_state_disable(struct cpuidle_state *state, in show_state_disable()
280 static ssize_t store_state_disable(struct cpuidle_state *state, in store_state_disable()
302 static ssize_t show_state_default_status(struct cpuidle_state *state, in show_state_default_status()
[all …]
Dcpuidle-pseries.c32 static struct cpuidle_state *cpuidle_state_table __read_mostly;
265 static struct cpuidle_state dedicated_states[NR_DEDICATED_STATES] = {
283 static struct cpuidle_state shared_states[] = {
Ddt_idle_states.c21 static int init_state_node(struct cpuidle_state *idle_state, in init_state_node()
153 struct cpuidle_state *idle_state; in dt_init_idle_driver()
Dcpuidle-tegra.c319 struct cpuidle_state *state_cc6 = &tegra_idle_driver.states[TEGRA_CC6]; in tegra_cpuidle_pcie_irqs_in_use()
331 struct cpuidle_state *s = &tegra_idle_driver.states[TEGRA_C7]; in tegra_cpuidle_setup_tegra114_c7_state()
Dpoll_state.c46 struct cpuidle_state *state = &drv->states[0]; in cpuidle_poll_state_init()
Dcpuidle-powernv.c37 static struct cpuidle_state *cpuidle_state_table __read_mostly;
152 static struct cpuidle_state powernv_states[CPUIDLE_STATE_MAX] = {
Dcpuidle.c89 struct cpuidle_state *s = &drv->states[i]; in find_deepest_state()
143 struct cpuidle_state *target_state = &drv->states[index]; in enter_s2idle_proper()
207 struct cpuidle_state *target_state = &drv->states[index]; in cpuidle_enter_state()
Ddriver.c167 struct cpuidle_state *s = &drv->states[i]; in __cpuidle_driver_init()
/Linux-v6.1/include/linux/
Dcpuidle.h48 struct cpuidle_state { struct
129 struct cpuidle_state states[CPUIDLE_STATE_MAX];
237 extern void sched_idle_set_state(struct cpuidle_state *idle_state);
/Linux-v6.1/Documentation/driver-api/pm/
Dcpuidle.rst85 struct cpuidle_state objects representing idle states that the
118 :c:member:`states` array of struct cpuidle_state objects held by the
165 of struct cpuidle_state objects included in the struct cpuidle_driver object
171 value of the :c:member:`target_residency` field in struct cpuidle_state in
175 idle state represented by the struct cpuidle_state object holding it, this
179 Three fields in struct cpuidle_state are used by the existing ``CPUIdle``
201 The :c:member:`enter` callback pointer in struct cpuidle_state, which must not
213 and the last one is an index of the struct cpuidle_state entry in the driver's
217 The analogous ``->enter_s2idle()`` callback in struct cpuidle_state is used
/Linux-v6.1/drivers/firmware/psci/
Dpsci_checker.c236 struct cpuidle_state *state = &drv->states[index]; in suspend_cpu()
303 struct cpuidle_state *state = &drv->states[index]; in suspend_test_thread()
/Linux-v6.1/drivers/cpuidle/governors/
Dmenu.c344 struct cpuidle_state *s = &drv->states[i]; in menu_select()
454 struct cpuidle_state *target = &drv->states[last_idx]; in menu_update()
Dladder.c139 struct cpuidle_state *state; in ladder_enable_device()
Dteo.c333 struct cpuidle_state *s = &drv->states[i]; in teo_select()
/Linux-v6.1/kernel/sched/
Dsched.h101 struct cpuidle_state;
1127 struct cpuidle_state *idle_state;
2315 struct cpuidle_state *idle_state) in idle_set_state()
2320 static inline struct cpuidle_state *idle_get_state(struct rq *rq) in idle_get_state()
2328 struct cpuidle_state *idle_state) in idle_set_state()
2332 static inline struct cpuidle_state *idle_get_state(struct rq *rq) in idle_get_state()
Didle.c17 void sched_idle_set_state(struct cpuidle_state *idle_state) in sched_idle_set_state()
Dfair.c6336 struct cpuidle_state *idle = idle_get_state(rq); in find_idlest_group_cpu()
/Linux-v6.1/drivers/acpi/
Dprocessor_idle.c748 struct cpuidle_state *state; in acpi_processor_setup_cpuidle_cx()
786 struct cpuidle_state *state; in acpi_processor_setup_cstates()
1205 struct cpuidle_state *state; in acpi_processor_setup_lpi_states()
/Linux-v6.1/Documentation/admin-guide/pm/
Dcpuidle.rst4 .. |struct cpuidle_state| replace:: :c:type:`struct cpuidle_state <cpuidle_state>`
360 |struct cpuidle_state| objects each allowing an individual (logical) CPU to ask
362 is a hierarchy of units in the processor, one |struct cpuidle_state| object can
377 Then, the target residency of the |struct cpuidle_state| object representing
403 |struct cpuidle_state| object, there is a corresponding