Home
last modified time | relevance | path

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

/hardware/qcom/sdm845/thermal/
Dthermal_common.c50 size_t get_num_cpus() { in get_num_cpus() function
74 cpu_label= (char**)calloc(get_num_cpus(), sizeof(char *)); in get_cpu_label()
77 for(cpu = 0; cpu < get_num_cpus(); cpu++) { in get_cpu_label()
84 if(cpu_num >= get_num_cpus()) in get_cpu_label()
278 sensors = calloc(get_num_cpus() + cfg_cnt - 1, in thermal_zone_init()
282 idx < (get_num_cpus() + cfg_cnt - 1); j++) { in thermal_zone_init()
285 for (cpu = 0; cpu < get_num_cpus() && in thermal_zone_init()
286 idx < (get_num_cpus() + cfg_cnt - 1); cpu++, idx++) { in thermal_zone_init()
Dthermal_common.h68 size_t get_num_cpus();
Dthermal.c43 size_t __attribute__ ((weak)) get_num_cpus() { in get_num_cpus() function
92 cpus = get_num_cpus(); in get_cpu_usages()