Home
last modified time | relevance | path

Searched refs:history_len (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/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()
[all...]
/kernel/linux/linux-6.6/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()
[all...]
/kernel/linux/linux-5.10/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.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()
311 * Note: The filter will only activate once state->history_len goes
/kernel/linux/linux-6.6/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.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()
311 * Note: The filter will only activate once state->history_len goes
/kernel/linux/linux-5.10/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()
375 .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()
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()
H A 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()
H A Dwindfarm_pid.h27 int history_len; /* Size of history buffer */ member
61 int history_len; /* Size of history buffer */ member
H A 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,
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_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_pm72.c422 pid.history_len = hsize; in cpu_setup_pid()
441 .history_len = 2,
453 .history_len = 2,
533 .history_len = 2,
/kernel/linux/linux-6.6/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_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_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_pm72.c422 pid.history_len = hsize; in cpu_setup_pid()
441 .history_len = 2,
453 .history_len = 2,
533 .history_len = 2,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dcros_ec_sensorhub.h75 * @history_len: Amount of valid historic data in the arrays.
86 int history_len; member

Completed in 19 milliseconds

12