Searched refs:DEVFREQ_NAME_LEN (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/drivers/devfreq/ |
H A D | governor.h | 16 #define DEVFREQ_NAME_LEN 16 macro 95 const char name[DEVFREQ_NAME_LEN];
|
H A D | devfreq.c | 55 static const char timer_name[][DEVFREQ_NAME_LEN] = { 274 if (!strncmp(tmp_governor->name, name, DEVFREQ_NAME_LEN)) in find_devfreq_governor() 309 DEVFREQ_NAME_LEN)) in try_then_request_governor() 1298 DEVFREQ_NAME_LEN)) { in devfreq_add_governor() 1386 DEVFREQ_NAME_LEN)) { in devfreq_remove_governor() 1437 char str_governor[DEVFREQ_NAME_LEN + 1]; in governor_store() 1443 ret = sscanf(buf, "%" __stringify(DEVFREQ_NAME_LEN) "s", str_governor); in governor_store() 1529 count = scnprintf(&buf[count], DEVFREQ_NAME_LEN, in available_governors_show() 1872 char str_timer[DEVFREQ_NAME_LEN + 1]; in timer_store() 1884 if (!strncmp(timer_name[i], str_timer, DEVFREQ_NAME_LEN)) { in timer_store() [all...] |
/kernel/linux/linux-5.10/drivers/devfreq/ |
H A D | devfreq.c | 52 static const char timer_name[][DEVFREQ_NAME_LEN] = { 274 if (!strncmp(tmp_governor->name, name, DEVFREQ_NAME_LEN)) in find_devfreq_governor() 309 DEVFREQ_NAME_LEN)) in try_then_request_governor() 803 strscpy(devfreq->governor_name, governor_name, DEVFREQ_NAME_LEN); in devfreq_add_device() 1239 DEVFREQ_NAME_LEN)) { in devfreq_add_governor() 1301 DEVFREQ_NAME_LEN)) { in devfreq_remove_governor() 1352 char str_governor[DEVFREQ_NAME_LEN + 1]; in governor_store() 1358 ret = sscanf(buf, "%" __stringify(DEVFREQ_NAME_LEN) "s", str_governor); in governor_store() 1385 strncpy(df->governor_name, governor->name, DEVFREQ_NAME_LEN); in governor_store() 1392 DEVFREQ_NAME_LEN); in governor_store() [all...] |
H A D | governor.h | 52 const char name[DEVFREQ_NAME_LEN];
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | devfreq.h | 18 #define DEVFREQ_NAME_LEN 16 macro 179 char governor_name[DEVFREQ_NAME_LEN];
|
Completed in 7 milliseconds