Home
last modified time | relevance | path

Searched refs:cpu_file (Results 1 – 3 of 3) sorted by relevance

/device/huawei/angler/thermal/
Dthermal.c186 FILE *cpu_file; in get_cpu_usages() local
230 cpu_file = fopen(file_name, "r"); in get_cpu_usages()
232 if (cpu_file == NULL) { in get_cpu_usages()
237 if (1 != fscanf(cpu_file, "%d", &online)) { in get_cpu_usages()
241 fclose(cpu_file); in get_cpu_usages()
244 fclose(cpu_file); in get_cpu_usages()
/device/google/marlin/thermal/
Dthermal.c187 FILE *cpu_file; in get_cpu_usages() local
231 cpu_file = fopen(file_name, "r"); in get_cpu_usages()
233 if (cpu_file == NULL) { in get_cpu_usages()
238 if (1 != fscanf(cpu_file, "%d", &online)) { in get_cpu_usages()
242 fclose(cpu_file); in get_cpu_usages()
245 fclose(cpu_file); in get_cpu_usages()
/device/lge/bullhead/thermal/
Dthermal.c188 FILE *cpu_file; in get_cpu_usages() local
232 cpu_file = fopen(file_name, "r"); in get_cpu_usages()
234 if (cpu_file == NULL) { in get_cpu_usages()
239 if (1 != fscanf(cpu_file, "%d", &online)) { in get_cpu_usages()
243 fclose(cpu_file); in get_cpu_usages()
246 fclose(cpu_file); in get_cpu_usages()