Home
last modified time | relevance | path

Searched refs:percentage (Results 1 – 25 of 124) sorted by relevance

12345

/linux-6.6.21/drivers/macintosh/
Dapm_emu.c19 int percentage = -1; in pmu_apm_get_power_status() local
41 if (percentage < 0) in pmu_apm_get_power_status()
42 percentage = 0; in pmu_apm_get_power_status()
45 percentage += (pmu_batteries[i].charge * 100) / in pmu_apm_get_power_status()
66 percentage /= real_count; in pmu_apm_get_power_status()
70 } else if (percentage <= APM_CRITICAL) { in pmu_apm_get_power_status()
73 } else if (percentage <= APM_LOW) { in pmu_apm_get_power_status()
82 info->battery_life = percentage; in pmu_apm_get_power_status()
/linux-6.6.21/drivers/thermal/
Dgov_fair_share.c44 struct thermal_cooling_device *cdev, int percentage, int level) in get_target_state() argument
46 return (long)(percentage * level * cdev->max_state) / (100 * tz->num_trips); in get_target_state()
87 int percentage; in fair_share_throttle() local
94 percentage = 100 / total_instance; in fair_share_throttle()
96 percentage = (instance->weight * 100) / total_weight; in fair_share_throttle()
98 instance->target = get_target_state(tz, cdev, percentage, in fair_share_throttle()
/linux-6.6.21/arch/sh/boards/mach-hp6xx/
Dhp6xx_apm.c32 int battery, backup, charging, percentage; in hp6x0_apm_get_power_status() local
39 percentage = 100 * (battery - HP680_BATTERY_MIN) / in hp6x0_apm_get_power_status()
43 info->battery_life = percentage; in hp6x0_apm_get_power_status()
62 } else if (percentage <= APM_CRITICAL) { in hp6x0_apm_get_power_status()
65 } else if (percentage <= APM_LOW) { in hp6x0_apm_get_power_status()
/linux-6.6.21/Documentation/devicetree/bindings/power/supply/
Drichtek,rt9455.yaml29 richtek,end-of-charge-percentage:
33 below output_charge_current x end-of-charge-percentage, charge is terminated.
62 - richtek,end-of-charge-percentage
83 richtek,end-of-charge-percentage = <10>;
Dcpcap-battery.yaml29 - description: low battery percentage interrupt
30 - description: critical battery percentage interrupt
/linux-6.6.21/tools/testing/selftests/powerpc/pmu/
Dcount_instructions.c33 double percentage; in do_count_loop() local
47 percentage = (double)difference / events[0].result.value * 100; in do_count_loop()
56 printf("Delta %lld, %f%%\n", difference, percentage); in do_count_loop()
Dcount_stcx_fail.c33 double percentage; in do_count_loop() local
49 percentage = (double)difference / events[0].result.value * 100; in do_count_loop()
60 printf("Delta %lld, %f%%\n", difference, percentage); in do_count_loop()
/linux-6.6.21/tools/testing/selftests/powerpc/pmu/ebb/
Dinstruction_count_test.c29 double percentage; in do_count_loop() local
48 percentage = (double)difference / event->result.value * 100; in do_count_loop()
54 printf("Delta %ld, %f%%\n", difference, percentage); in do_count_loop()
/linux-6.6.21/tools/perf/Documentation/
Dperf-diff.txt44 file://filename entries. This option will affect the percentage
45 of the Baseline/Delta column. See --percentage for more info.
50 file://filename entries. This option will affect the percentage
51 of the Baseline/Delta column. See --percentage for more info.
56 file://filename entries. This option will affect the percentage
57 of the Baseline/Delta column. See --percentage for more info.
119 --percentage::
120 Determine how to display the overhead percentage of filtered entries.
207 b - baseline sample percentage
258 relative to how entries are filtered. Use --percentage=absolute to
Dperf-report.txt37 Show sample percentage for different cpu modes.
46 file://filename entries. This option will affect the percentage of
47 the overhead column. See --percentage for more info.
56 file://filename entries. This option will affect the percentage of
57 the overhead column. See --percentage for more info.
61 file://filename entries. This option will affect the percentage of
62 the overhead column. See --percentage for more info.
100 - overhead: Overhead percentage of sample
101 - overhead_sys: Overhead percentage of sample running in system mode
102 - overhead_us: Overhead percentage of sample running in user mode
[all …]
Dperf-top.txt151 percentage of the overhead column. See --percentage for more info.
155 percentage of the overhead column. See --percentage for more info.
159 percentage of the overhead column. See --percentage for more info.
215 --percentage::
216 Determine how to display the overhead percentage of filtered entries.
Dintel-hybrid.txt129 perf-stat reports the scaled counts for hybrid event and with a percentage
130 displayed. The percentage is the event's running time/enabling time.
133 scaled value for core cycles is 160,444,092 and the percentage is 0.47%.
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.c785 u16 percentage = 0, rate = 0; in amdgpu_atombios_get_igp_ss_overrides() local
796 percentage = le16_to_cpu(igp_info->info_6.usDVISSPercentage); in amdgpu_atombios_get_igp_ss_overrides()
800 percentage = le16_to_cpu(igp_info->info_6.usHDMISSPercentage); in amdgpu_atombios_get_igp_ss_overrides()
804 percentage = le16_to_cpu(igp_info->info_6.usLvdsSSPercentage); in amdgpu_atombios_get_igp_ss_overrides()
812 percentage = le16_to_cpu(igp_info->info_7.usDVISSPercentage); in amdgpu_atombios_get_igp_ss_overrides()
816 percentage = le16_to_cpu(igp_info->info_7.usHDMISSPercentage); in amdgpu_atombios_get_igp_ss_overrides()
820 percentage = le16_to_cpu(igp_info->info_7.usLvdsSSPercentage); in amdgpu_atombios_get_igp_ss_overrides()
828 percentage = le16_to_cpu(igp_info->info_8.usDVISSPercentage); in amdgpu_atombios_get_igp_ss_overrides()
832 percentage = le16_to_cpu(igp_info->info_8.usHDMISSPercentage); in amdgpu_atombios_get_igp_ss_overrides()
836 percentage = le16_to_cpu(igp_info->info_8.usLvdsSSPercentage); in amdgpu_atombios_get_igp_ss_overrides()
[all …]
/linux-6.6.21/tools/tracing/rtla/src/
Dosnoise_top.c215 int percentage; in osnoise_top_print() local
224 percentage = ((cpu_data->sum_runtime - cpu_data->sum_noise) * 10000000) in osnoise_top_print()
226 decimal = percentage % 100000; in osnoise_top_print()
227 percentage = percentage / 100000; in osnoise_top_print()
231 trace_seq_printf(s, " %3d.%05d", percentage, decimal); in osnoise_top_print()
/linux-6.6.21/tools/testing/selftests/bpf/benchs/
Drun_common.sh31 function percentage() function
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-class-bdi42 percentage of the write-back cache to a particular device.
67 given percentage of the write-back cache. This is useful in
97 percentage of the write-back cache to a particular device
Dsysfs-class-led14 LEDs within the group to a calculated percentage of what
17 The percentage is calculated for each grouped LED via
Dsysfs-class-power-wilco18 A low and high threshold percentage is specified.
/linux-6.6.21/arch/arm/mach-pxa/
Dsharpsl_pm.h56 int percentage; member
/linux-6.6.21/Documentation/hwmon/
Dhs3001.rst25 humidity is expressed as a percentage. In the sysfs interface, all values are
Dsht4x.rst26 humidity is expressed as a percentage. In sysfs interface, all values are
/linux-6.6.21/Documentation/devicetree/bindings/serial/
Dnvidia,tegra20-hsuart.yaml61 List of entries providing percentage of baud rate adjustment within a range. Each entry
64 percentage mentioned here.
/linux-6.6.21/Documentation/devicetree/bindings/clock/
Dmediatek,mt8186-fhctl.yaml35 description: The percentage of spread spectrum clocking for one PLL.
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clock_source.c498 pll_settings->ss_percentage = ss_data->percentage; in dce110_get_pix_clk_dividers_helper()
661 if (ss_data->percentage == 0) in calculate_ss()
678 fb_div, dc_fixpt_from_fraction(ss_data->percentage, in calculate_ss()
737 bp_params.percentage = ss_data->percentage; in enable_spread_spectrum()
1418 ss_data_cur->percentage = in get_ss_info_from_atombios()
/linux-6.6.21/Documentation/devicetree/bindings/cpufreq/
Dcpufreq-dt.txt19 - voltage-tolerance: Specify the CPU voltage tolerance in percentage.

12345