/openbmc/linux/drivers/idle/ |
H A D | intel_idle.c | 84 struct cpuidle_state *state_table; 137 struct cpuidle_state *state = &drv->states[index]; in __intel_idle() 213 struct cpuidle_state *state = &drv->states[index]; in intel_idle_s2idle() 266 static struct cpuidle_state snb_cstates[] __initdata = { 311 static struct cpuidle_state byt_cstates[] __initdata = { 356 static struct cpuidle_state cht_cstates[] __initdata = { 401 static struct cpuidle_state ivb_cstates[] __initdata = { 446 static struct cpuidle_state ivt_cstates[] __initdata = { 557 static struct cpuidle_state hsw_cstates[] __initdata = { 1541 struct cpuidle_state *state; in intel_idle_init_cstates_acpi() [all …]
|
/openbmc/linux/drivers/cpuidle/ |
H A D | sysfs.c | 217 ssize_t (*show)(struct cpuidle_state *, \ 219 ssize_t (*store)(struct cpuidle_state *, \ 230 static ssize_t show_state_##_name(struct cpuidle_state *state, \ 237 static ssize_t show_state_##_name(struct cpuidle_state *state, \ 245 static ssize_t show_state_##_name(struct cpuidle_state *state, \ 272 static ssize_t show_state_time(struct cpuidle_state *state, in define_show_state_time_function() 279 static ssize_t show_state_disable(struct cpuidle_state *state, in show_state_disable() 287 static ssize_t store_state_disable(struct cpuidle_state *state, in store_state_disable() 348 struct cpuidle_state *state; 417 struct cpuidle_state *state = kobj_to_state(kobj); in cpuidle_state_show() [all …]
|
H A D | cpuidle-pseries.c | 32 static struct cpuidle_state *cpuidle_state_table __read_mostly; 267 static struct cpuidle_state dedicated_states[NR_DEDICATED_STATES] = { 286 static struct cpuidle_state shared_states[] = {
|
H A D | dt_idle_states.c | 20 static int init_state_node(struct cpuidle_state *idle_state, in init_state_node() 152 struct cpuidle_state *idle_state; in dt_init_idle_driver()
|
H A D | cpuidle-tegra.c | 330 struct cpuidle_state *state_cc6 = &tegra_idle_driver.states[TEGRA_CC6]; in tegra_cpuidle_pcie_irqs_in_use() 342 struct cpuidle_state *s = &tegra_idle_driver.states[TEGRA_C7]; in tegra_cpuidle_setup_tegra114_c7_state()
|
H A D | poll_state.c | 50 struct cpuidle_state *state = &drv->states[0]; in cpuidle_poll_state_init()
|
H A D | cpuidle-powernv.c | 37 static struct cpuidle_state *cpuidle_state_table __read_mostly; 154 static struct cpuidle_state powernv_states[CPUIDLE_STATE_MAX] = {
|
H A D | cpuidle.c | 90 struct cpuidle_state *s = &drv->states[i]; in find_deepest_state() 143 struct cpuidle_state *target_state = &drv->states[index]; in enter_s2idle_proper() 217 struct cpuidle_state *target_state = &drv->states[index]; in cpuidle_enter_state()
|
H A D | driver.c | 168 struct cpuidle_state *s = &drv->states[i]; in __cpuidle_driver_init()
|
/openbmc/linux/include/linux/ |
H A D | cpuidle.h | 49 struct cpuidle_state { struct 159 struct cpuidle_state states[CPUIDLE_STATE_MAX]; 267 extern void sched_idle_set_state(struct cpuidle_state *idle_state);
|
/openbmc/linux/Documentation/driver-api/pm/ |
H A D | cpuidle.rst | 85 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
|
/openbmc/linux/drivers/firmware/psci/ |
H A D | psci_checker.c | 236 struct cpuidle_state *state = &drv->states[index]; in suspend_cpu() 303 struct cpuidle_state *state = &drv->states[index]; in suspend_test_thread()
|
/openbmc/linux/drivers/cpuidle/governors/ |
H A D | menu.c | 355 struct cpuidle_state *s = &drv->states[i]; in menu_select() 465 struct cpuidle_state *target = &drv->states[last_idx]; in menu_update()
|
H A D | ladder.c | 139 struct cpuidle_state *state; in ladder_enable_device()
|
H A D | teo.c | 443 struct cpuidle_state *s = &drv->states[i]; in teo_select()
|
/openbmc/linux/kernel/sched/ |
H A D | idle.c | 17 void sched_idle_set_state(struct cpuidle_state *idle_state) in sched_idle_set_state()
|
H A D | sched.h | 103 struct cpuidle_state; 1138 struct cpuidle_state *idle_state; 2404 struct cpuidle_state *idle_state) in idle_set_state() 2409 static inline struct cpuidle_state *idle_get_state(struct rq *rq) in idle_get_state() 2417 struct cpuidle_state *idle_state) in idle_set_state() 2421 static inline struct cpuidle_state *idle_get_state(struct rq *rq) in idle_get_state()
|
H A D | fair.c | 7127 struct cpuidle_state *idle = idle_get_state(rq); in find_idlest_group_cpu()
|
/openbmc/linux/drivers/acpi/ |
H A D | processor_idle.c | 741 struct cpuidle_state *state; in acpi_processor_setup_cpuidle_cx() 779 struct cpuidle_state *state; in acpi_processor_setup_cstates() 1201 struct cpuidle_state *state; in acpi_processor_setup_lpi_states()
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A D | cpuidle.rst | 4 .. |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
|