Home
last modified time | relevance | path

Searched refs:CPUIDLE_STATE_MAX (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/cpuidle/
Dcpuidle-powernv.c44 static struct stop_psscr_table stop_psscr_table[CPUIDLE_STATE_MAX] __read_mostly;
154 static struct cpuidle_state powernv_states[CPUIDLE_STATE_MAX] = {
273 if (nr_pnv_idle_states > CPUIDLE_STATE_MAX - 1) { in powernv_add_idle_states()
275 dt_idle_states = CPUIDLE_STATE_MAX - 1; in powernv_add_idle_states()
Ddt_idle_states.c159 if (state_idx >= CPUIDLE_STATE_MAX) in dt_init_idle_driver()
193 if (state_idx == CPUIDLE_STATE_MAX) { in dt_init_idle_driver()
/linux-6.12.1/include/linux/
Dcpuidle.h19 #define CPUIDLE_STATE_MAX 10 macro
104 struct cpuidle_state_usage states_usage[CPUIDLE_STATE_MAX];
105 struct cpuidle_state_kobj *kobjs[CPUIDLE_STATE_MAX];
159 struct cpuidle_state states[CPUIDLE_STATE_MAX];
/linux-6.12.1/arch/arm/mach-omap2/
Dpm33xx-core.c382 struct amx3_idle_state states[CPUIDLE_STATE_MAX]; in amx3_idle_init()
394 if (i == CPUIDLE_STATE_MAX) { in amx3_idle_init()
/linux-6.12.1/drivers/acpi/
Dprocessor_idle.c59 DEFINE_PER_CPU(struct acpi_processor_cx * [CPUIDLE_STATE_MAX], acpi_cstate);
765 if (count == CPUIDLE_STATE_MAX) in acpi_processor_setup_cpuidle_cx()
823 if (count == CPUIDLE_STATE_MAX) in acpi_processor_setup_cstates()
1207 for (i = 0; i < pr->power.count && i < CPUIDLE_STATE_MAX; i++) { in acpi_processor_setup_lpi_states()
1242 for (i = ACPI_IDLE_STATE_START; i < CPUIDLE_STATE_MAX; i++) { in acpi_processor_setup_cpuidle_states()
/linux-6.12.1/drivers/cpuidle/governors/
Dladder.c40 struct ladder_device_state states[CPUIDLE_STATE_MAX];
Dteo.c131 struct teo_bin state_bins[CPUIDLE_STATE_MAX];
/linux-6.12.1/drivers/idle/
Dintel_idle.c67 static int max_cstate = CPUIDLE_STATE_MAX - 1;
1660 limit = min_t(int, min_t(int, CPUIDLE_STATE_MAX, max_cstate + 1), in intel_idle_cst_usable()
1709 int cstate, limit = min_t(int, CPUIDLE_STATE_MAX, acpi_state_table.count); in intel_idle_init_cstates_acpi()
1768 limit = min_t(int, CPUIDLE_STATE_MAX, acpi_state_table.count); in intel_idle_off_by_default()
2091 for (cstate = 0; cstate < CPUIDLE_STATE_MAX; ++cstate) { in intel_idle_init_cstates_icpu()