Home
last modified time | relevance | path

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

/linux-6.1.9/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.c48 snprintf(state->name, CPUIDLE_NAME_LEN, "POLL"); in cpuidle_poll_state_init()
Dcpuidle-powernv.c236 strscpy(powernv_states[index].name, name, CPUIDLE_NAME_LEN); in add_powernv_state()
237 strscpy(powernv_states[index].desc, name, CPUIDLE_NAME_LEN); in add_powernv_state()
Ddt_idle_states.c88 strncpy(idle_state->name, state_node->name, CPUIDLE_NAME_LEN - 1); in init_state_node()
Dcpuidle.c783 module_param_string(governor, param_governor, CPUIDLE_NAME_LEN, 0444);
/linux-6.1.9/include/linux/
Dcpuidle.h19 #define CPUIDLE_NAME_LEN 16 macro
49 char name[CPUIDLE_NAME_LEN];
259 char name[CPUIDLE_NAME_LEN];
/linux-6.1.9/drivers/acpi/
Dprocessor_idle.c806 snprintf(state->name, CPUIDLE_NAME_LEN, "C%d", i); in acpi_processor_setup_cstates()
1218 snprintf(state->name, CPUIDLE_NAME_LEN, "LPI-%d", i); in acpi_processor_setup_lpi_states()
/linux-6.1.9/drivers/idle/
Dintel_idle.c1559 snprintf(state->name, CPUIDLE_NAME_LEN, "C%d_ACPI", cstate); in intel_idle_init_cstates_acpi()