Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/idle/
Dintel_idle.c73 struct cpuidle_state *state_table;
90 static struct cpuidle_state *cpuidle_state_table;
115 static struct cpuidle_state nehalem_cstates[] = {
152 static struct cpuidle_state snb_cstates[] = {
197 static struct cpuidle_state byt_cstates[] = {
242 static struct cpuidle_state cht_cstates[] = {
287 static struct cpuidle_state ivb_cstates[] = {
332 static struct cpuidle_state ivt_cstates[] = {
369 static struct cpuidle_state ivt_cstates_4s[] = {
406 static struct cpuidle_state ivt_cstates_8s[] = {
[all …]
/Linux-v5.4/drivers/cpuidle/
Dsysfs.c239 ssize_t (*show)(struct cpuidle_state *, \
241 ssize_t (*store)(struct cpuidle_state *, \
252 static ssize_t show_state_##_name(struct cpuidle_state *state, \
259 static ssize_t store_state_##_name(struct cpuidle_state *state, \
278 static ssize_t show_state_##_name(struct cpuidle_state *state, \
286 static ssize_t show_state_##_name(struct cpuidle_state *state, \
333 struct cpuidle_state *state;
342 static ssize_t show_state_s2idle_##_name(struct cpuidle_state *state, \
402 struct cpuidle_state *state = kobj_to_state(kobj); in cpuidle_state_show()
416 struct cpuidle_state *state = kobj_to_state(kobj); in cpuidle_state_store()
Dcpuidle-pseries.c30 static struct cpuidle_state *cpuidle_state_table __read_mostly;
158 static struct cpuidle_state dedicated_states[] = {
176 static struct cpuidle_state shared_states[] = {
Ddt_idle_states.c21 static int init_state_node(struct cpuidle_state *idle_state, in init_state_node()
154 struct cpuidle_state *idle_state; in dt_init_idle_driver()
Dcpuidle-powernv.c37 static struct cpuidle_state *cpuidle_state_table __read_mostly;
59 struct cpuidle_state *s = &drv->states[i]; in get_snooze_timeout()
155 static struct cpuidle_state powernv_states[CPUIDLE_STATE_MAX] = {
Dpoll_state.c46 struct cpuidle_state *state = &drv->states[0]; in cpuidle_poll_state_init()
Dcpuidle.c86 struct cpuidle_state *s = &drv->states[i]; in find_deepest_state()
202 struct cpuidle_state *target_state = &drv->states[index]; in cpuidle_enter_state()
/Linux-v5.4/Documentation/driver-api/pm/
Dcpuidle.rst7 .. |struct cpuidle_state| replace:: :c:type:`struct cpuidle_state <cpuidle_state>`
91 |struct cpuidle_state| objects representing idle states that the
124 :c:member:`states` array of |struct cpuidle_state| objects held by the
171 of |struct cpuidle_state| objects included in the |struct cpuidle_driver| object
177 value of the :c:member:`target_residency` field in |struct cpuidle_state| in
181 idle state represented by the |struct cpuidle_state| object holding it, this
185 Three fields in |struct cpuidle_state| are used by the existing ``CPUIdle``
207 The :c:member:`enter` callback pointer in |struct cpuidle_state|, which must not
219 and the last one is an index of the |struct cpuidle_state| entry in the driver's
223 The analogous ``->enter_s2idle()`` callback in |struct cpuidle_state| is used
/Linux-v5.4/include/linux/
Dcpuidle.h44 struct cpuidle_state { struct
118 struct cpuidle_state states[CPUIDLE_STATE_MAX];
224 extern void sched_idle_set_state(struct cpuidle_state *idle_state);
/Linux-v5.4/drivers/cpuidle/governors/
Dmenu.c351 struct cpuidle_state *s = &drv->states[i]; in menu_select()
465 struct cpuidle_state *target = &drv->states[last_idx]; in menu_update()
Dladder.c140 struct cpuidle_state *state; in ladder_enable_device()
Dteo.c256 struct cpuidle_state *s = &drv->states[i]; in teo_select()
/Linux-v5.4/drivers/firmware/psci/
Dpsci_checker.c234 struct cpuidle_state *state = &drv->states[index]; in suspend_cpu()
304 struct cpuidle_state *state = &drv->states[index]; in suspend_test_thread()
/Linux-v5.4/kernel/sched/
Dsched.h85 struct cpuidle_state;
1000 struct cpuidle_state *idle_state;
1836 struct cpuidle_state *idle_state) in idle_set_state()
1841 static inline struct cpuidle_state *idle_get_state(struct rq *rq) in idle_get_state()
1849 struct cpuidle_state *idle_state) in idle_set_state()
1853 static inline struct cpuidle_state *idle_get_state(struct rq *rq) in idle_get_state()
Didle.c20 void sched_idle_set_state(struct cpuidle_state *idle_state) in sched_idle_set_state()
Dfair.c5706 struct cpuidle_state *idle = idle_get_state(rq); in find_idlest_group_cpu()
/Linux-v5.4/drivers/acpi/
Dprocessor_idle.c847 struct cpuidle_state *state; in acpi_processor_setup_cstates()
1263 struct cpuidle_state *state; in acpi_processor_setup_lpi_states()
/Linux-v5.4/Documentation/admin-guide/pm/
Dcpuidle.rst4 .. |struct cpuidle_state| replace:: :c:type:`struct cpuidle_state <cpuidle_state>`
435 |struct cpuidle_state| objects each allowing an individual (logical) CPU to ask
437 is a hierarchy of units in the processor, one |struct cpuidle_state| object can
452 Then, the target residency of the |struct cpuidle_state| object representing
478 |struct cpuidle_state| object, there is a corresponding
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_irq.c3105 const struct cpuidle_state *state = &drv->states[i]; in cstate_disable_latency()