Home
last modified time | relevance | path

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

12345

/linux/drivers/macintosh/
H A 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/arch/sh/boards/mach-hp6xx/
H A 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/tools/testing/selftests/powerpc/pmu/
H A 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()
H A 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/arch/s390/kernel/
H A Dhiperdispatch.c208 unsigned long time_delta, steal_delta, steal, percentage; in hd_calculate_steal_percentage() local
215 percentage = 0; in hd_calculate_steal_percentage()
225 return percentage; in hd_calculate_steal_percentage()
230 percentage = steal_delta / cpus; in hd_calculate_steal_percentage()
234 return percentage; in hd_calculate_steal_percentage()
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A 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/tools/testing/selftests/net/rds/
H A DREADME.txt20 -l Simulates a percentage of packet loss
22 -c Simulates a percentage of packet corruption
24 -u Simulates a percentage of packet duplication.
/linux/tools/perf/Documentation/
H A 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
H A 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 …]
H A Dperf-top.txt155 percentage of the overhead column. See --percentage for more info.
159 percentage of the overhead column. See --percentage for more info.
163 percentage of the overhead column. See --percentage for more info.
219 --percentage::
220 Determine how to display the overhead percentage of filtered entries.
H A 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/drivers/gpu/drm/amd/amdgpu/
H A 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/tools/tracing/rtla/src/
H A Dosnoise_top.c225 int percentage; in osnoise_top_print() local
234 percentage = ((cpu_data->sum_runtime - cpu_data->sum_noise) * 10000000) in osnoise_top_print()
236 decimal = percentage % 100000; in osnoise_top_print()
237 percentage = percentage / 100000; in osnoise_top_print()
241 trace_seq_printf(s, " %3d.%05d", percentage, decimal); in osnoise_top_print()
/linux/Documentation/ABI/testing/
H A 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
H A Dsysfs-class-led14 LEDs within the group to a calculated percentage of what
17 The percentage is calculated for each grouped LED via
H A Dsysfs-class-power-wilco18 A low and high threshold percentage is specified.
H A Dsysfs-platform-ideapad-laptop36 This feature limits the maximum battery charge percentage to
/linux/tools/testing/selftests/bpf/benchs/
H A Drun_common.sh31 function percentage() function
/linux/arch/arm/mach-pxa/
H A Dsharpsl_pm.h56 int percentage; member
/linux/Documentation/hwmon/
H A Dhs3001.rst25 humidity is expressed as a percentage. In the sysfs interface, all values are
H A Dsht4x.rst26 humidity is expressed as a percentage. In sysfs interface, all values are
H A Dshtc1.rst45 celsius, relative humidity is expressed as a percentage.
/linux/Documentation/devicetree/bindings/cpufreq/
H A Dcpufreq-dt.txt19 - voltage-tolerance: Specify the CPU voltage tolerance in percentage.
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dclock_source.h36 uint32_t percentage; /*> In unit of 0.01% or 0.001%*/ member
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_clock_source.c502 pll_settings->ss_percentage = ss_data->percentage; in dce110_get_pix_clk_dividers_helper()
665 if (ss_data->percentage == 0) in calculate_ss()
682 fb_div, dc_fixpt_from_fraction(ss_data->percentage, in calculate_ss()
741 bp_params.percentage = ss_data->percentage; in enable_spread_spectrum()
1536 ss_data_cur->percentage = in get_ss_info_from_atombios()

12345