Home
last modified time | relevance | path

Searched refs:CPUIDLE_NAME_LEN (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/cpuidle/
Dgovernor.c19 char param_governor[CPUIDLE_NAME_LEN];
36 if (!strncasecmp(str, gov->name, CPUIDLE_NAME_LEN)) in cpuidle_find_governor()
94 !strncasecmp(param_governor, gov->name, CPUIDLE_NAME_LEN) || in cpuidle_register_governor()
97 CPUIDLE_NAME_LEN))) in cpuidle_register_governor()
Dsysfs.c30 if (i >= (ssize_t) (PAGE_SIZE - (CPUIDLE_NAME_LEN + 2))) in show_available_governors()
33 i += scnprintf(&buf[i], CPUIDLE_NAME_LEN + 1, "%s ", tmp->name); in show_available_governors()
80 char gov_name[CPUIDLE_NAME_LEN + 1]; in store_current_governor()
84 ret = sscanf(buf, "%" __stringify(CPUIDLE_NAME_LEN) "s", gov_name); in store_current_governor()
91 if (!strncmp(gov->name, gov_name, CPUIDLE_NAME_LEN)) { in store_current_governor()
Dpoll_state.c52 snprintf(state->name, CPUIDLE_NAME_LEN, "POLL"); in cpuidle_poll_state_init()
Dcpuidle-powernv.c239 strscpy(powernv_states[index].name, name, CPUIDLE_NAME_LEN); in add_powernv_state()
240 strscpy(powernv_states[index].desc, name, CPUIDLE_NAME_LEN); in add_powernv_state()
Ddt_idle_states.c87 strscpy(idle_state->name, state_node->name, CPUIDLE_NAME_LEN); in init_state_node()
Dcpuidle.c812 module_param_string(governor, param_governor, CPUIDLE_NAME_LEN, 0444);
/linux-6.12.1/include/linux/
Dcpuidle.h20 #define CPUIDLE_NAME_LEN 16 macro
50 char name[CPUIDLE_NAME_LEN];
289 char name[CPUIDLE_NAME_LEN];
/linux-6.12.1/drivers/acpi/
Dprocessor_idle.c799 snprintf(state->name, CPUIDLE_NAME_LEN, "C%d", i); in acpi_processor_setup_cstates()
1211 snprintf(state->name, CPUIDLE_NAME_LEN, "LPI-%d", i); in acpi_processor_setup_lpi_states()
/linux-6.12.1/drivers/idle/
Dintel_idle.c1726 snprintf(state->name, CPUIDLE_NAME_LEN, "C%d_ACPI", cstate); in intel_idle_init_cstates_acpi()