Home
last modified time | relevance | path

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

/drivers/platform/chrome/
Dcros_ec_sensorhub_trace.h88 __field(s64, history_len)
97 __entry->history_len = state->history_len;
106 __entry->history_len,
Dcros_ec_sensorhub_ring.c249 state->history_len = 0; in cros_ec_sensor_ring_ts_filter_update()
252 for (i = state->history_len - 1; i >= 1; i--) { in cros_ec_sensor_ring_ts_filter_update()
273 if (state->history_len < CROS_EC_SENSORHUB_TS_HISTORY_SIZE) in cros_ec_sensor_ring_ts_filter_update()
274 state->history_len++; in cros_ec_sensor_ring_ts_filter_update()
277 if (state->history_len > TS_HISTORY_THRESHOLD) { in cros_ec_sensor_ring_ts_filter_update()
280 state->history_len - 1); in cros_ec_sensor_ring_ts_filter_update()
287 for (i = 0; i < state->history_len; i++) in cros_ec_sensor_ring_ts_filter_update()
292 cros_ec_sensor_ring_median(error, state->history_len); in cros_ec_sensor_ring_ts_filter_update()
/drivers/macintosh/
Dwindfarm_pm91.c178 pid_param.history_len = piddata->history_len; in wf_smu_create_cpu_fans()
179 if (pid_param.history_len > WF_CPU_PID_MAX_HISTORY) { in wf_smu_create_cpu_fans()
181 "CPU control loop (%d)\n", piddata->history_len); in wf_smu_create_cpu_fans()
182 pid_param.history_len = WF_CPU_PID_MAX_HISTORY; in wf_smu_create_cpu_fans()
186 pid_param.gr = piddata->gr / pid_param.history_len; in wf_smu_create_cpu_fans()
294 .history_len = 2, in wf_smu_create_drive_fans()
375 .history_len = 8, in wf_smu_create_slots_fans()
Dwindfarm_pm121.c546 pid_param.history_len = PM121_SYS_HISTORY_SIZE; in pm121_create_sys_fans()
678 pid_param.history_len = piddata->history_len; in pm121_create_cpu_fans()
679 if (pid_param.history_len > WF_CPU_PID_MAX_HISTORY) { in pm121_create_cpu_fans()
681 "CPU control loop (%d)\n", piddata->history_len); in pm121_create_cpu_fans()
682 pid_param.history_len = WF_CPU_PID_MAX_HISTORY; in pm121_create_cpu_fans()
686 pid_param.gr = piddata->gr / pid_param.history_len; in pm121_create_cpu_fans()
808 for (i = 0; i < pm121_cpu_state->pid.param.history_len; i++) in pm121_tick()
811 average_power = total_power / pm121_cpu_state->pid.param.history_len; in pm121_tick()
Dwindfarm_pm81.c303 pid_param.history_len = WF_SMU_SYS_FANS_HISTORY_SIZE; in wf_smu_create_sys_fans()
432 pid_param.history_len = piddata->history_len; in wf_smu_create_cpu_fans()
433 if (pid_param.history_len > WF_CPU_PID_MAX_HISTORY) { in wf_smu_create_cpu_fans()
435 "CPU control loop (%d)\n", piddata->history_len); in wf_smu_create_cpu_fans()
436 pid_param.history_len = WF_CPU_PID_MAX_HISTORY; in wf_smu_create_cpu_fans()
440 pid_param.gr = piddata->gr / pid_param.history_len; in wf_smu_create_cpu_fans()
Dwindfarm_pid.h27 int history_len; /* Size of history buffer */ member
61 int history_len; /* Size of history buffer */ member
Dwindfarm_pm112.c166 pid.history_len = piddata->history_len; in create_cpu_loop()
169 pid.gr = piddata->gr / piddata->history_len; in create_cpu_loop()
347 .history_len = 2,
397 .history_len = 2,
448 .history_len = 2,
Dwindfarm_pid.c37 int i, hlen = st->param.history_len; in wf_pid_run()
92 int i, hlen = st->param.history_len; in wf_cpu_pid_run()
Dwindfarm_rm31.c323 pid.history_len = hsize; in cpu_setup_pid()
342 .history_len = 2,
355 .history_len = 20,
442 .history_len = 20,
Dwindfarm_pm72.c422 pid.history_len = hsize; in cpu_setup_pid()
441 .history_len = 2,
453 .history_len = 2,
533 .history_len = 2,
/drivers/crypto/cavium/zip/
Dzip_deflate.c81 zip_cmd->s.historylength = zip_ops->history_len; in prepare_zip_command()
87 zip_ops->history_len); in prepare_zip_command()
Dcommon.h142 u32 history_len; member
Dzip_crypto.c66 zip_ops->history_len = 0; in zip_static_init_zip_ops()