Home
last modified time | relevance | path

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

/tools/thermal/tmon/
Dpid.c44 struct pid_params p_param; variable
60 p_param.ts = ticktime; in init_thermal_controller()
62 p_param.kp = .36; in init_thermal_controller()
63 p_param.ki = 5.0; in init_thermal_controller()
64 p_param.kd = 0.19; in init_thermal_controller()
66 p_param.t_target = target_temp_user; in init_thermal_controller()
75 p_param.y_k = 0.0; in controller_reset()
92 ek = p_param.t_target - xk; /* error */ in controller_handler()
95 xk, p_param.t_target); in controller_handler()
101 p_term = -p_param.kp * (xk - xk_1); in controller_handler()
[all …]
Dtui.c335 p_param.kp, p_param.ki, p_param.kd, p_param.y_k); in show_control_w()
339 p_param.t_target, target_thermal_zone, ctrl_cdev); in show_control_w()
424 p_param.t_target = val; in handle_input_val()
Dtmon.h140 extern struct pid_params p_param;
Dsysfs.c497 fprintf(tmon_log, "%3.1f ", p_param.t_target); in update_thermal_data()