Searched refs:cpu_num (Results 1 – 4 of 4) sorted by relevance
/hardware/libhardware/modules/thermal/ |
D | thermal.c | 87 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/ |
D | thermal.c | 37 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()
|
D | thermal_common.c | 69 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()
|
D | thermal_common.h | 72 const char *get_cpu_label(unsigned int cpu_num);
|