Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/powerpc/nx-gzip/
H A Dgunz_test.c293 int history_len = 0; in decompress_file() local
557 history_len = (history_len + 15) / 16; in decompress_file()
558 putnn(cmdp->cpb, in_histlen, history_len); in decompress_file()
559 history_len = history_len * 16; /* bytes */ in decompress_file()
561 if (history_len > 0) { in decompress_file()
563 if (cur_out >= history_len) { in decompress_file()
565 + (cur_out - history_len), in decompress_file()
566 history_len); in decompress_file()
570 - history_len), in decompress_file()
571 history_len - cur_out); in decompress_file()
[all …]
/linux/drivers/platform/chrome/
H A Dcros_ec_sensorhub_trace.h88 __field(s64, history_len)
97 __entry->history_len = state->history_len;
106 __entry->history_len,
H A Dcros_ec_sensorhub_ring.c288 state->history_len = 0; in cros_ec_sensor_ring_ts_filter_update()
291 for (i = state->history_len - 1; i >= 1; i--) { in cros_ec_sensor_ring_ts_filter_update()
312 if (state->history_len < CROS_EC_SENSORHUB_TS_HISTORY_SIZE) in cros_ec_sensor_ring_ts_filter_update()
313 state->history_len++; in cros_ec_sensor_ring_ts_filter_update()
316 if (state->history_len > TS_HISTORY_THRESHOLD) { in cros_ec_sensor_ring_ts_filter_update()
319 state->history_len - 1); in cros_ec_sensor_ring_ts_filter_update()
326 for (i = 0; i < state->history_len; i++) in cros_ec_sensor_ring_ts_filter_update()
331 cros_ec_sensor_ring_median(error, state->history_len); in cros_ec_sensor_ring_ts_filter_update()
/linux/drivers/macintosh/
H A 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()
374 .history_len = 8, in wf_smu_create_slots_fans()
H A Dwindfarm_pm121.c546 pid_param.history_len = PM121_SYS_HISTORY_SIZE; in pm121_create_sys_fans()
677 pid_param.history_len = piddata->history_len; in pm121_create_cpu_fans()
678 if (pid_param.history_len > WF_CPU_PID_MAX_HISTORY) { in pm121_create_cpu_fans()
680 "CPU control loop (%d)\n", piddata->history_len); in pm121_create_cpu_fans()
681 pid_param.history_len = WF_CPU_PID_MAX_HISTORY; in pm121_create_cpu_fans()
685 pid_param.gr = piddata->gr / pid_param.history_len; in pm121_create_cpu_fans()
807 for (i = 0; i < pm121_cpu_state->pid.param.history_len; i++) in pm121_tick()
810 average_power = total_power / pm121_cpu_state->pid.param.history_len; in pm121_tick()
H A Dwindfarm_pm81.c303 pid_param.history_len = WF_SMU_SYS_FANS_HISTORY_SIZE; in wf_smu_create_sys_fans()
431 pid_param.history_len = piddata->history_len; in wf_smu_create_cpu_fans()
432 if (pid_param.history_len > WF_CPU_PID_MAX_HISTORY) { in wf_smu_create_cpu_fans()
434 "CPU control loop (%d)\n", piddata->history_len); in wf_smu_create_cpu_fans()
435 pid_param.history_len = WF_CPU_PID_MAX_HISTORY; in wf_smu_create_cpu_fans()
439 pid_param.gr = piddata->gr / pid_param.history_len; in wf_smu_create_cpu_fans()
H A Dwindfarm_pid.h30 int history_len; /* Size of history buffer */ member
64 int history_len; /* Size of history buffer */ member
H A Dwindfarm_pm112.c168 pid.history_len = piddata->history_len; in create_cpu_loop()
171 pid.gr = piddata->gr / piddata->history_len; in create_cpu_loop()
349 .history_len = 2,
399 .history_len = 2,
450 .history_len = 2,
H A 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()
H A Dwindfarm_rm31.c323 pid.history_len = hsize; in cpu_setup_pid()
342 .history_len = 2,
355 .history_len = 20,
442 .history_len = 20,
H A Dwindfarm_pm72.c422 pid.history_len = hsize; in cpu_setup_pid()
441 .history_len = 2,
453 .history_len = 2,
533 .history_len = 2,
/linux/include/linux/platform_data/
H A Dcros_ec_sensorhub.h86 int history_len; member
/linux/arch/powerpc/include/asm/
H A Dsmu.h623 __u8 history_len; member