Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/cpuidle/
Dgovernor.c19 char param_governor[CPUIDLE_NAME_LEN];
36 if (!strncasecmp(str, gov->name, CPUIDLE_NAME_LEN)) in cpuidle_find_governor()
95 !strncasecmp(param_governor, gov->name, CPUIDLE_NAME_LEN) || in cpuidle_register_governor()
98 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 strlcpy(powernv_states[index].name, name, CPUIDLE_NAME_LEN); in add_powernv_state()
237 strlcpy(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.c778 module_param_string(governor, param_governor, CPUIDLE_NAME_LEN, 0444);
/linux-5.19.10/include/linux/
Dcpuidle.h19 #define CPUIDLE_NAME_LEN 16 macro
49 char name[CPUIDLE_NAME_LEN];
259 char name[CPUIDLE_NAME_LEN];
/linux-5.19.10/drivers/acpi/
Dprocessor_idle.c788 snprintf(state->name, CPUIDLE_NAME_LEN, "C%d", i); in acpi_processor_setup_cstates()
1197 snprintf(state->name, CPUIDLE_NAME_LEN, "LPI-%d", i); in acpi_processor_setup_lpi_states()
/linux-5.19.10/drivers/idle/
Dintel_idle.c1491 snprintf(state->name, CPUIDLE_NAME_LEN, "C%d_ACPI", cstate); in intel_idle_init_cstates_acpi()