/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/sdm845/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 | 69 const char *get_cpu_label(unsigned int cpu_num);
|
/hardware/qcom/msm8x84/kernel-headers/linux/ |
D | msm_thermal_ioctl.h | 25 uint32_t cpu_num; member
|
/hardware/qcom/msm8x84/original-kernel-headers/linux/ |
D | msm_thermal_ioctl.h | 9 uint32_t cpu_num; member
|
/hardware/google/pixel/thermal/ |
D | thermal-helper.cpp | 89 uint64_t cpu_num, user, nice, system, idle; in parseCpuUsagesFileAndAssignUsages() local 104 cpu_num = std::stoi(cpu_name.substr(3)); in parseCpuUsagesFileAndAssignUsages() 106 if (cpu_num < kMaxCpus) { in parseCpuUsagesFileAndAssignUsages() 123 (*cpu_usages)[cpu_num].name = cpu_name; in parseCpuUsagesFileAndAssignUsages() 124 (*cpu_usages)[cpu_num].active = user + nice + system; in parseCpuUsagesFileAndAssignUsages() 125 (*cpu_usages)[cpu_num].total = user + nice + system + idle; in parseCpuUsagesFileAndAssignUsages() 126 (*cpu_usages)[cpu_num].isOnline = (is_online == "1") ? true : false; in parseCpuUsagesFileAndAssignUsages()
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
D | msm_thermal_ioctl.h | 26 uint32_t cpu_num; member
|
/hardware/qcom/msm8x09/kernel-headers/linux/ |
D | msm_thermal_ioctl.h | 26 uint32_t cpu_num; member
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
D | msm_thermal_ioctl.h | 26 uint32_t cpu_num; member
|
/hardware/qcom/msm8998/original-kernel-headers/linux/ |
D | msm_thermal_ioctl.h | 10 uint32_t cpu_num; member
|
/hardware/qcom/msm8998/kernel-headers/linux/ |
D | msm_thermal_ioctl.h | 26 uint32_t cpu_num; member
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
D | msm_thermal_ioctl.h | 10 uint32_t cpu_num; member
|
/hardware/qcom/msm8x09/original-kernel-headers/linux/ |
D | msm_thermal_ioctl.h | 10 uint32_t cpu_num; member
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
D | msm_thermal_ioctl.h | 10 uint32_t cpu_num; member
|