Home
last modified time | relevance | path

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

/components/drivers/thermal/
A Dthermal.c35 rt_uint32_t coef[2], prop; in thermal_ofw_params_parse() local
51 if (rt_ofw_prop_read_u32_array_index(np, "coefficients", 0, 2, coef) < 0) in thermal_ofw_params_parse()
53 coef[0] = 1; in thermal_ofw_params_parse()
54 coef[1] = 0; in thermal_ofw_params_parse()
57 tz_params->slope = coef[0]; in thermal_ofw_params_parse()
58 tz_params->offset = coef[1]; in thermal_ofw_params_parse()

Completed in 4 milliseconds