Searched refs:DEVFREQ_NAME_LEN (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/include/linux/ |
D | devfreq.h | 20 #define DEVFREQ_NAME_LEN 16 macro 155 char governor_name[DEVFREQ_NAME_LEN];
|
/Linux-v4.19/drivers/devfreq/ |
D | governor.h | 50 const char name[DEVFREQ_NAME_LEN];
|
D | devfreq.c | 217 if (!strncmp(tmp_governor->name, name, DEVFREQ_NAME_LEN)) in find_devfreq_governor() 593 strncpy(devfreq->governor_name, governor_name, DEVFREQ_NAME_LEN); in devfreq_add_device() 883 DEVFREQ_NAME_LEN)) { in devfreq_add_governor() 945 DEVFREQ_NAME_LEN)) { in devfreq_remove_governor() 986 char str_governor[DEVFREQ_NAME_LEN + 1]; in governor_store() 989 ret = sscanf(buf, "%" __stringify(DEVFREQ_NAME_LEN) "s", str_governor); in governor_store() 1017 strncpy(df->governor_name, governor->name, DEVFREQ_NAME_LEN); in governor_store() 1045 count = scnprintf(&buf[count], DEVFREQ_NAME_LEN, in available_governors_show()
|