Home
last modified time | relevance | path

Searched refs:cpu_num (Results 1 – 4 of 4) sorted by relevance

/hardware/libhardware/modules/thermal/
Dthermal.c87 int vals, cpu_num, online; in get_cpu_usages() local
110 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, in get_cpu_usages()
127 snprintf(file_name, MAX_LENGTH, CPU_ONLINE_FILE_FORMAT, cpu_num); in get_cpu_usages()
134 online = cpu_num == 0; in get_cpu_usages()
/hardware/qcom/sm8150/thermal/
Dthermal.c37 const char * __attribute__ ((weak)) get_cpu_label(unsigned int cpu_num) { in get_cpu_label() argument
81 int vals, cpu_num, online; in get_cpu_usages() local
113 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, in get_cpu_usages()
135 snprintf(file_name, MAX_LENGTH, CPU_ONLINE_FILE_FORMAT, cpu_num); in get_cpu_usages()
Dthermal_common.c69 const char *get_cpu_label(unsigned int cpu_num) { in get_cpu_label() argument
84 if(cpu_num >= get_num_cpus()) in get_cpu_label()
87 return cpu_label[cpu_num]; in get_cpu_label()
Dthermal_common.h72 const char *get_cpu_label(unsigned int cpu_num);