Searched refs:CPUIDLE_STATE_MAX (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/cpuidle/ |
D | cpuidle-powernv.c | 44 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()
|
D | dt_idle_states.c | 159 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/ |
D | cpuidle.h | 19 #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/ |
D | pm33xx-core.c | 382 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/ |
D | processor_idle.c | 59 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/ |
D | ladder.c | 40 struct ladder_device_state states[CPUIDLE_STATE_MAX];
|
D | teo.c | 131 struct teo_bin state_bins[CPUIDLE_STATE_MAX];
|
/linux-6.12.1/drivers/idle/ |
D | intel_idle.c | 67 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()
|