Home
last modified time | relevance | path

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

/device/huawei/angler/thermal/
Dthermal.c41 #define CPU_NUM (sizeof(CPU_SENSORS) / sizeof(int)) macro
110 for (cpu = 0; cpu < CPU_NUM; cpu++) { in get_cpu_temperatures()
189 return CPU_NUM; in get_cpu_usages()
214 if (vals != 5 || size == CPU_NUM) { in get_cpu_usages()
257 if (size != CPU_NUM) { in get_cpu_usages()
261 return CPU_NUM; in get_cpu_usages()
/device/lge/bullhead/thermal/
Dthermal.c42 #define CPU_NUM (sizeof(CPU_SENSORS) / sizeof(int)) macro
108 for (cpu = 0; cpu < CPU_NUM; cpu++) { in get_cpu_temperatures()
191 return CPU_NUM; in get_cpu_usages()
216 if (vals != 5 || size == CPU_NUM) { in get_cpu_usages()
260 if (size != CPU_NUM) { in get_cpu_usages()
265 return CPU_NUM; in get_cpu_usages()
/device/htc/flounder/thermal/
Dthermal.c39 #define CPU_NUM 2 macro
155 return CPU_NUM; in get_cpu_usages()
180 if (vals != 5 || size == CPU_NUM) { in get_cpu_usages()
224 if (size != CPU_NUM) { in get_cpu_usages()
229 return CPU_NUM; in get_cpu_usages()
/device/moto/shamu/thermal/
Dthermal.c40 #define CPU_NUM 4 macro
106 for (cpu = 0; cpu < CPU_NUM; cpu++) { in get_cpu_temperatures()
181 return CPU_NUM; in get_cpu_usages()
206 if (vals != 5 || size == CPU_NUM) { in get_cpu_usages()
250 if (size != CPU_NUM) { in get_cpu_usages()