Home
last modified time | relevance | path

Searched refs:history_len (Results 1 – 16 of 16) 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.c277 state->history_len = 0; in cros_ec_sensor_ring_ts_filter_update()
280 for (i = state->history_len - 1; i >= 1; i--) { in cros_ec_sensor_ring_ts_filter_update()
301 if (state->history_len < CROS_EC_SENSORHUB_TS_HISTORY_SIZE) in cros_ec_sensor_ring_ts_filter_update()
302 state->history_len++; in cros_ec_sensor_ring_ts_filter_update()
305 if (state->history_len > TS_HISTORY_THRESHOLD) { in cros_ec_sensor_ring_ts_filter_update()
308 state->history_len - 1); in cros_ec_sensor_ring_ts_filter_update()
315 for (i = 0; i < state->history_len; i++) in cros_ec_sensor_ring_ts_filter_update()
320 cros_ec_sensor_ring_median(error, state->history_len); in cros_ec_sensor_ring_ts_filter_update()
/linux/drivers/macintosh/
H A Dwindfarm_pm91.c179 pid_param.history_len = piddata->history_len; in wf_smu_create_cpu_fans()
180 if (pid_param.history_len > WF_CPU_PID_MAX_HISTORY) { in wf_smu_create_cpu_fans()
182 "CPU control loop (%d)\n", piddata->history_len); in wf_smu_create_cpu_fans()
183 pid_param.history_len = WF_CPU_PID_MAX_HISTORY; in wf_smu_create_cpu_fans()
187 pid_param.gr = piddata->gr / pid_param.history_len; in wf_smu_create_cpu_fans()
295 .history_len = 2, in wf_smu_create_drive_fans()
376 .history_len = 8, in wf_smu_create_slots_fans()
H A Dwindfarm_pm121.c547 pid_param.history_len = PM121_SYS_HISTORY_SIZE; in pm121_create_sys_fans()
679 pid_param.history_len = piddata->history_len; in pm121_create_cpu_fans()
680 if (pid_param.history_len > WF_CPU_PID_MAX_HISTORY) { in pm121_create_cpu_fans()
682 "CPU control loop (%d)\n", piddata->history_len); in pm121_create_cpu_fans()
683 pid_param.history_len = WF_CPU_PID_MAX_HISTORY; in pm121_create_cpu_fans()
687 pid_param.gr = piddata->gr / pid_param.history_len; in pm121_create_cpu_fans()
809 for (i = 0; i < pm121_cpu_state->pid.param.history_len; i++) in pm121_tick()
812 average_power = total_power / pm121_cpu_state->pid.param.history_len; in pm121_tick()
H A Dwindfarm_pm81.c304 pid_param.history_len = WF_SMU_SYS_FANS_HISTORY_SIZE; in wf_smu_create_sys_fans()
433 pid_param.history_len = piddata->history_len; in wf_smu_create_cpu_fans()
434 if (pid_param.history_len > WF_CPU_PID_MAX_HISTORY) { in wf_smu_create_cpu_fans()
436 "CPU control loop (%d)\n", piddata->history_len); in wf_smu_create_cpu_fans()
437 pid_param.history_len = WF_CPU_PID_MAX_HISTORY; in wf_smu_create_cpu_fans()
441 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/drivers/crypto/cavium/zip/
H A Dzip_deflate.c81 zip_cmd->s.historylength = zip_ops->history_len; in prepare_zip_command()
87 zip_ops->history_len); in prepare_zip_command()
H A Dcommon.h142 u32 history_len; member
H A Dzip_crypto.c66 zip_ops->history_len = 0; in zip_static_init_zip_ops()
/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