Home
last modified time | relevance | path

Searched full:percent (Results 1 – 25 of 583) sorted by relevance

12345678910>>...24

/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/arm64/ampere/ampereone/
Dmetrics.json14 "ScaleUnit": "1percent of bus cycles"
77 "ScaleUnit": "1percent of operations"
84 "ScaleUnit": "1percent of operations"
97 "ScaleUnit": "1percent of operations"
111 "ScaleUnit": "1percent of operations"
118 "ScaleUnit": "1percent of operations"
137 "ScaleUnit": "1percent of operations"
144 "ScaleUnit": "1percent of operations"
151 "ScaleUnit": "1percent of operations"
179 "ScaleUnit": "1percent of cycles"
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dfantog.c34 u32 percent; member
39 nvkm_fantog_update(struct nvkm_fantog *fan, int percent) in nvkm_fantog_update() argument
49 if (percent < 0) in nvkm_fantog_update()
50 percent = fan->percent; in nvkm_fantog_update()
51 fan->percent = percent; in nvkm_fantog_update()
56 if (percent != (duty * 100)) { in nvkm_fantog_update()
57 u64 next_change = (percent * fan->period_us) / 100; in nvkm_fantog_update()
77 return fan->percent; in nvkm_fantog_get()
81 nvkm_fantog_set(struct nvkm_therm *therm, int percent) in nvkm_fantog_set() argument
86 nvkm_fantog_update(fan, percent); in nvkm_fantog_set()
[all …]
Dfan.c44 target = fan->percent; in nvkm_fan_update()
47 if (fan->percent != target) { in nvkm_fan_update()
49 fan->percent = target; in nvkm_fan_update()
118 nvkm_therm_fan_set(struct nvkm_therm *therm, bool immediate, int percent) in nvkm_therm_fan_set() argument
120 return nvkm_fan_update(therm->fan, immediate, percent); in nvkm_therm_fan_set()
175 nvkm_therm_fan_user_set(struct nvkm_therm *therm, int percent) in nvkm_therm_fan_user_set() argument
180 return nvkm_therm_fan_set(therm, true, percent); in nvkm_therm_fan_user_set()
256 therm->fan->percent = nvkm_therm_fan_get(therm); in nvkm_therm_fan_ctor()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dfantog.c34 u32 percent; member
39 nvkm_fantog_update(struct nvkm_fantog *fan, int percent) in nvkm_fantog_update() argument
49 if (percent < 0) in nvkm_fantog_update()
50 percent = fan->percent; in nvkm_fantog_update()
51 fan->percent = percent; in nvkm_fantog_update()
56 if (percent != (duty * 100)) { in nvkm_fantog_update()
57 u64 next_change = (percent * fan->period_us) / 100; in nvkm_fantog_update()
77 return fan->percent; in nvkm_fantog_get()
81 nvkm_fantog_set(struct nvkm_therm *therm, int percent) in nvkm_fantog_set() argument
86 nvkm_fantog_update(fan, percent); in nvkm_fantog_set()
[all …]
Dfan.c44 target = fan->percent; in nvkm_fan_update()
47 if (fan->percent != target) { in nvkm_fan_update()
49 fan->percent = target; in nvkm_fan_update()
118 nvkm_therm_fan_set(struct nvkm_therm *therm, bool immediate, int percent) in nvkm_therm_fan_set() argument
120 return nvkm_fan_update(therm->fan, immediate, percent); in nvkm_therm_fan_set()
175 nvkm_therm_fan_user_set(struct nvkm_therm *therm, int percent) in nvkm_therm_fan_user_set() argument
180 return nvkm_therm_fan_set(therm, true, percent); in nvkm_therm_fan_user_set()
256 therm->fan->percent = nvkm_therm_fan_get(therm); in nvkm_therm_fan_ctor()
/kernel/linux/linux-5.10/tools/perf/util/
Dcolor.c124 const char *get_percent_color(double percent) in get_percent_color() argument
133 if (fabs(percent) >= MIN_RED) in get_percent_color()
136 if (fabs(percent) > MIN_GREEN) in get_percent_color()
142 int percent_color_fprintf(FILE *fp, const char *fmt, double percent) in percent_color_fprintf() argument
147 color = get_percent_color(percent); in percent_color_fprintf()
148 r = color_fprintf(fp, color, fmt, percent); in percent_color_fprintf()
162 double percent; in percent_color_snprintf() local
165 percent = va_arg(args, double); in percent_color_snprintf()
167 return value_color_snprintf(bf, size, fmt, percent); in percent_color_snprintf()
174 double percent; in percent_color_len_snprintf() local
[all …]
/kernel/linux/linux-6.6/tools/perf/util/
Dcolor.c124 const char *get_percent_color(double percent) in get_percent_color() argument
133 if (fabs(percent) >= MIN_RED) in get_percent_color()
136 if (fabs(percent) > MIN_GREEN) in get_percent_color()
142 int percent_color_fprintf(FILE *fp, const char *fmt, double percent) in percent_color_fprintf() argument
147 color = get_percent_color(percent); in percent_color_fprintf()
148 r = color_fprintf(fp, color, fmt, percent); in percent_color_fprintf()
162 double percent; in percent_color_snprintf() local
165 percent = va_arg(args, double); in percent_color_snprintf()
167 return value_color_snprintf(bf, size, fmt, percent); in percent_color_snprintf()
174 double percent; in percent_color_len_snprintf() local
[all …]
/kernel/linux/linux-6.6/drivers/phy/freescale/
Dphy-fsl-imx8mq-usb.c67 static u32 phy_tx_vref_tune_from_property(u32 percent) in phy_tx_vref_tune_from_property() argument
69 percent = clamp(percent, 94U, 124U); in phy_tx_vref_tune_from_property()
71 return DIV_ROUND_CLOSEST(percent - 94U, 2); in phy_tx_vref_tune_from_property()
74 static u32 phy_tx_rise_tune_from_property(u32 percent) in phy_tx_rise_tune_from_property() argument
76 switch (percent) { in phy_tx_rise_tune_from_property()
112 static u32 phy_comp_dis_tune_from_property(u32 percent) in phy_comp_dis_tune_from_property() argument
114 switch (percent) { in phy_comp_dis_tune_from_property()
133 static u32 phy_pcs_tx_swing_full_from_property(u32 percent) in phy_pcs_tx_swing_full_from_property() argument
135 percent = min(percent, 100U); in phy_pcs_tx_swing_full_from_property()
137 return (percent * 127) / 100; in phy_pcs_tx_swing_full_from_property()
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/
Dmetrics.json7 "ScaleUnit": "1percent of cycles"
28 "ScaleUnit": "1percent of operations"
35 "ScaleUnit": "1percent of operations"
56 "ScaleUnit": "1percent of cycles"
63 "ScaleUnit": "1percent of operations"
196 "ScaleUnit": "1percent of operations"
203 "ScaleUnit": "1percent of operations"
210 "ScaleUnit": "1percent of operations"
217 "ScaleUnit": "1percent of operations"
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/arm64/
Dsbsa.json8 "ScaleUnit": "1percent of slots"
16 "ScaleUnit": "1percent of slots"
24 "ScaleUnit": "1percent of slots"
32 "ScaleUnit": "1percent of slots"
/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/
Dcpuidle_sysfs.c25 static int cpuidle_get_count_percent(unsigned int id, double *percent, in cpuidle_get_count_percent() argument
30 dprint("%s: - diff: %llu - percent: %f (%u)\n", in cpuidle_get_count_percent()
31 cpuidle_cstates[id].name, timediff, *percent, cpu); in cpuidle_get_count_percent()
34 *percent = 0.0; in cpuidle_get_count_percent()
36 *percent = ((100.0 * statediff) / timediff); in cpuidle_get_count_percent()
38 dprint("%s: - timediff: %llu - statediff: %llu - percent: %f (%u)\n", in cpuidle_get_count_percent()
39 cpuidle_cstates[id].name, timediff, statediff, *percent, cpu); in cpuidle_get_count_percent()
Dsnb_idle.c26 static int snb_get_count_percent(unsigned int self_id, double *percent,
86 static int snb_get_count_percent(unsigned int id, double *percent, in snb_get_count_percent() argument
89 *percent = 0.0; in snb_get_count_percent()
94 *percent = (100.0 * in snb_get_count_percent()
102 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", in snb_get_count_percent()
106 *percent, cpu); in snb_get_count_percent()
Dhsw_ext_idle.c28 static int hsw_ext_get_count_percent(unsigned int self_id, double *percent,
88 static int hsw_ext_get_count_percent(unsigned int id, double *percent, in hsw_ext_get_count_percent() argument
91 *percent = 0.0; in hsw_ext_get_count_percent()
96 *percent = (100.0 * in hsw_ext_get_count_percent()
104 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", in hsw_ext_get_count_percent()
108 *percent, cpu); in hsw_ext_get_count_percent()
Dnhm_idle.c29 static int nhm_get_count_percent(unsigned int self_id, double *percent,
101 static int nhm_get_count_percent(unsigned int id, double *percent, in nhm_get_count_percent() argument
104 *percent = 0.0; in nhm_get_count_percent()
109 *percent = (100.0 * in nhm_get_count_percent()
117 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", in nhm_get_count_percent()
121 *percent, cpu); in nhm_get_count_percent()
/kernel/linux/linux-6.6/tools/power/cpupower/utils/idle_monitor/
Dcpuidle_sysfs.c25 static int cpuidle_get_count_percent(unsigned int id, double *percent, in cpuidle_get_count_percent() argument
30 dprint("%s: - diff: %llu - percent: %f (%u)\n", in cpuidle_get_count_percent()
31 cpuidle_cstates[id].name, timediff, *percent, cpu); in cpuidle_get_count_percent()
34 *percent = 0.0; in cpuidle_get_count_percent()
36 *percent = ((100.0 * statediff) / timediff); in cpuidle_get_count_percent()
38 dprint("%s: - timediff: %llu - statediff: %llu - percent: %f (%u)\n", in cpuidle_get_count_percent()
39 cpuidle_cstates[id].name, timediff, statediff, *percent, cpu); in cpuidle_get_count_percent()
Dhsw_ext_idle.c28 static int hsw_ext_get_count_percent(unsigned int self_id, double *percent,
88 static int hsw_ext_get_count_percent(unsigned int id, double *percent, in hsw_ext_get_count_percent() argument
91 *percent = 0.0; in hsw_ext_get_count_percent()
96 *percent = (100.0 * in hsw_ext_get_count_percent()
104 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", in hsw_ext_get_count_percent()
108 *percent, cpu); in hsw_ext_get_count_percent()
Dnhm_idle.c29 static int nhm_get_count_percent(unsigned int self_id, double *percent,
101 static int nhm_get_count_percent(unsigned int id, double *percent, in nhm_get_count_percent() argument
104 *percent = 0.0; in nhm_get_count_percent()
109 *percent = (100.0 * in nhm_get_count_percent()
117 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", in nhm_get_count_percent()
121 *percent, cpu); in nhm_get_count_percent()
Dsnb_idle.c26 static int snb_get_count_percent(unsigned int self_id, double *percent,
86 static int snb_get_count_percent(unsigned int id, double *percent, in snb_get_count_percent() argument
89 *percent = 0.0; in snb_get_count_percent()
94 *percent = (100.0 * in snb_get_count_percent()
102 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", in snb_get_count_percent()
106 *percent, cpu); in snb_get_count_percent()
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/broadwellde/
Dbdwde-metrics.json123 "BriefDescription": "C3 residency percent per core",
129 "BriefDescription": "C6 residency percent per core",
135 "BriefDescription": "C7 residency percent per core",
141 "BriefDescription": "C2 residency percent per package",
147 "BriefDescription": "C3 residency percent per package",
153 "BriefDescription": "C6 residency percent per package",
159 "BriefDescription": "C7 residency percent per package",
/kernel/linux/linux-6.6/tools/testing/selftests/lkdtm/
Dstack-entropy.sh29 percent=$(( 100 * $i / $samples ))
30 if [ "$percent" -ne "$report" ]; then
31 /bin/echo -en "$percent%\r"
32 report="$percent"
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dvctrl.txt17 - ovp-threshold-percent : overvoltage protection (OVP) threshold of the
18 regulator in percent. Some regulators have an OVP
31 This value is required when ovp-threshold-percent is
48 ovp-threshold-percent = <16>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dvctrl.txt17 - ovp-threshold-percent : overvoltage protection (OVP) threshold of the
18 regulator in percent. Some regulators have an OVP
31 This value is required when ovp-threshold-percent is
48 ovp-threshold-percent = <16>;
/kernel/linux/linux-6.6/kernel/trace/
Dtrace_branch.c249 long percent; in get_incorrect_percent() local
252 percent = p->incorrect * 100; in get_incorrect_percent()
253 percent /= p->correct + p->incorrect; in get_incorrect_percent()
255 percent = p->incorrect ? 100 : -1; in get_incorrect_percent()
257 return percent; in get_incorrect_percent()
274 long percent; in branch_stat_show() local
279 percent = get_incorrect_percent(p); in branch_stat_show()
281 if (percent < 0) in branch_stat_show()
284 seq_printf(m, "%3ld ", percent); in branch_stat_show()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_branch.c249 long percent; in get_incorrect_percent() local
252 percent = p->incorrect * 100; in get_incorrect_percent()
253 percent /= p->correct + p->incorrect; in get_incorrect_percent()
255 percent = p->incorrect ? 100 : -1; in get_incorrect_percent()
257 return percent; in get_incorrect_percent()
274 long percent; in branch_stat_show() local
279 percent = get_incorrect_percent(p); in branch_stat_show()
281 if (percent < 0) in branch_stat_show()
284 seq_printf(m, "%3ld ", percent); in branch_stat_show()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/
Dfsl,imx8mq-usb-phy.yaml38 fsl,phy-tx-vref-tune-percent:
44 fsl,phy-tx-rise-tune-percent:
63 fsl,phy-comp-dis-tune-percent:
78 fsl,phy-pcs-tx-swing-full-percent:

12345678910>>...24