Home
last modified time | relevance | path

Searched refs:cfg_cnt (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/sdm845/thermal/
Dthermal_common.c266 int thermal_zone_init(struct target_therm_cfg *v_sen_t, int cfg_cnt) in thermal_zone_init() argument
274 if (v_sen_t == NULL || cfg_cnt == 0) { in thermal_zone_init()
278 sensors = calloc(get_num_cpus() + cfg_cnt - 1, in thermal_zone_init()
281 for (j = 0, idx = 0; j < cfg_cnt && in thermal_zone_init()
282 idx < (get_num_cpus() + cfg_cnt - 1); j++) { in thermal_zone_init()
286 idx < (get_num_cpus() + cfg_cnt - 1); cpu++, idx++) { in thermal_zone_init()
Dthermal_common.h70 int thermal_zone_init(struct target_therm_cfg *v_sen_t, int cfg_cnt);