Searched refs:k_p (Results 1 – 2 of 2) sorted by relevance
41 int32_t k_p, k_i; in pi_control() local59 k_p = (err < 0) ? dev_ctx->config->pi_controller.k_p_overshoot : in pi_control()78 pi_power = (k_p * err) + (k_i * dev_ctx->integral_error); in pi_control()
529 int32_t allocatable_power, k_i, k_p, err, terr; in test_thermal_mgmt_pi_control_positive_allocatable_power() local545 k_p = dev_ctx->config->pi_controller.k_p_undershoot = 2; 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