Searched refs:terr (Results 1 – 2 of 2) sorted by relevance
40 int32_t err, terr, pi_power; in pi_control() local65 terr = dev_ctx->integral_error + err; in pi_control()68 (terr < dev_ctx->config->pi_controller.integral_max)) { in pi_control()74 dev_ctx->integral_error = terr; in pi_control()
529 int32_t allocatable_power, k_i, k_p, err, terr; in test_thermal_mgmt_pi_control_positive_allocatable_power() local548 terr = err + dev_ctx->integral_error; in test_thermal_mgmt_pi_control_positive_allocatable_power()549 allocatable_power = k_p * err + k_i * terr + dev_ctx->config->tdp; in test_thermal_mgmt_pi_control_positive_allocatable_power()
Completed in 4 milliseconds