Searched refs:CPUIDLE_NAME_LEN (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/cpuidle/ |
D | governor.c | 19 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()
|
D | sysfs.c | 30 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()
|
D | poll_state.c | 48 snprintf(state->name, CPUIDLE_NAME_LEN, "POLL"); in cpuidle_poll_state_init()
|
D | cpuidle-powernv.c | 236 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()
|
D | dt_idle_states.c | 88 strncpy(idle_state->name, state_node->name, CPUIDLE_NAME_LEN - 1); in init_state_node()
|
D | cpuidle.c | 783 module_param_string(governor, param_governor, CPUIDLE_NAME_LEN, 0444);
|
/linux-6.1.9/include/linux/ |
D | cpuidle.h | 19 #define CPUIDLE_NAME_LEN 16 macro 49 char name[CPUIDLE_NAME_LEN]; 259 char name[CPUIDLE_NAME_LEN];
|
/linux-6.1.9/drivers/acpi/ |
D | processor_idle.c | 806 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/ |
D | intel_idle.c | 1559 snprintf(state->name, CPUIDLE_NAME_LEN, "C%d_ACPI", cstate); in intel_idle_init_cstates_acpi()
|