Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/powerpc/nx-gzip/
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-v6.6/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()
/Linux-v6.6/drivers/macintosh/
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()
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()
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()
Dwindfarm_pid.h30 int history_len; /* Size of history buffer */ member
64 int history_len; /* Size of history buffer */ member
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,
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,
/Linux-v6.6/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()
/Linux-v6.6/include/linux/platform_data/
Dcros_ec_sensorhub.h86 int history_len; member
/Linux-v6.6/arch/powerpc/include/asm/
Dsmu.h623 __u8 history_len; member