Home
last modified time | relevance | path

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

1234567891011

/linux/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/
H A Dmetrics.json14 "ScaleUnit": "100percent of bus cycles"
77 "ScaleUnit": "100percent of operations"
84 "ScaleUnit": "100percent of operations"
97 "ScaleUnit": "100percent of operations"
111 "ScaleUnit": "100percent of operations"
118 "ScaleUnit": "100percent of operations"
137 "ScaleUnit": "100percent of operations"
144 "ScaleUnit": "100percent of operations"
151 "ScaleUnit": "100percent of operations"
179 "ScaleUnit": "100percent of cycles"
[all …]
/linux/tools/perf/pmu-events/arch/arm64/ampere/ampereone/
H A 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 …]
/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8mq-usb.c285 static u32 phy_tx_vref_tune_from_property(u32 percent) in phy_tx_vref_tune_from_property() argument
287 percent = clamp(percent, 94U, 124U); in phy_tx_vref_tune_from_property()
289 return DIV_ROUND_CLOSEST(percent - 94U, 2); in phy_tx_vref_tune_from_property()
292 static u32 imx95_phy_tx_vref_tune_from_property(u32 percent) in imx95_phy_tx_vref_tune_from_property() argument
294 percent = clamp(percent, 90U, 108U); in imx95_phy_tx_vref_tune_from_property()
296 switch (percent) { in imx95_phy_tx_vref_tune_from_property()
298 percent = 0; in imx95_phy_tx_vref_tune_from_property()
301 percent -= 91; in imx95_phy_tx_vref_tune_from_property()
304 percent -= 92; in imx95_phy_tx_vref_tune_from_property()
307 percent -= 93; in imx95_phy_tx_vref_tune_from_property()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A 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 …]
H A 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()
H A Dpriv.h47 int percent; member
50 int (*set)(struct nvkm_therm *, int percent);
67 int nvkm_therm_fan_set(struct nvkm_therm *, bool now, int percent);
69 int nvkm_therm_fan_user_set(struct nvkm_therm *, int percent);
/linux/Documentation/devicetree/bindings/phy/
H A Dfsl,imx8mq-usb-phy.yaml48 fsl,phy-tx-vref-tune-percent:
54 fsl,phy-tx-rise-tune-percent:
73 fsl,phy-comp-dis-tune-percent:
87 fsl,phy-pcs-tx-swing-full-percent:
126 fsl,phy-tx-vref-tune-percent:
128 fsl,phy-tx-rise-tune-percent:
140 fsl,phy-tx-vref-tune-percent:
142 fsl,phy-comp-dis-tune-percent:
/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/
H A 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"
/linux/tools/power/cpupower/utils/idle_monitor/
H A 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()
H A Damd_fam14h_idle.c45 static int fam14h_get_count_percent(unsigned int self_id, double *percent,
207 static int fam14h_get_count_percent(unsigned int id, double *percent, in fam14h_get_count_percent() argument
218 *percent = 0.0; in fam14h_get_count_percent()
220 *percent = 100.0 * diff / timediff / 12.5; in fam14h_get_count_percent()
222 dprint("Timediff: %llu - res~: %lu us - percent: %.2f %%\n", in fam14h_get_count_percent()
223 timediff, diff * 10 / 125, *percent); in fam14h_get_count_percent()
H A Dmperf_monitor.c32 static int mperf_get_count_percent(unsigned int self_id, double *percent,
156 static int mperf_get_count_percent(unsigned int id, double *percent, in mperf_get_count_percent() argument
173 *percent = 100.0 * mperf_diff / tsc_diff; in mperf_get_count_percent()
178 *percent = 100.0 * mperf_diff / timediff; in mperf_get_count_percent()
185 *percent = 100.0 - *percent; in mperf_get_count_percent()
189 dprint("%s: %f\n", mperf_cstates[id].name, *percent); in mperf_get_count_percent()
/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/
H A Dmetrics.json10 "ScaleUnit": "1percent of cycles"
35 "ScaleUnit": "1percent of operations"
42 "ScaleUnit": "1percent of operations"
67 "ScaleUnit": "1percent of cycles"
74 "ScaleUnit": "1percent of operations"
207 "ScaleUnit": "1percent of operations"
217 "ScaleUnit": "1percent of operations"
224 "ScaleUnit": "1percent of operations"
231 "ScaleUnit": "1percent of operations"
/linux/tools/perf/pmu-events/arch/arm64/
H A Dsbsa.json8 "ScaleUnit": "1percent of slots"
16 "ScaleUnit": "1percent of slots"
24 "ScaleUnit": "1percent of slots"
32 "ScaleUnit": "1percent of slots"
/linux/tools/testing/selftests/lkdtm/
H A Dstack-entropy.sh29 percent=$(( 100 * $i / $samples ))
30 if [ "$percent" -ne "$report" ]; then
31 /bin/echo -en "$percent%\r"
32 report="$percent"
/linux/tools/perf/tests/shell/
H A Dannotate.sh20 # disassembly format: "percent : offset: instruction (operands ...)"
56 …perf annotate --no-demangle -i "${perfdata}" --stdio --percent-limit 10 2> /dev/null > "${perfout}"
58 …perf annotate --no-demangle -i - --stdio 2> /dev/null --percent-limit 10 < "${perfdata}" > "${perf…
96 …perf annotate --no-demangle -i "${perfdata}" --percent-limit 10 --objdump=objdump 2> /dev/null > "…
98 …perf annotate --no-demangle -i - "${testsym}" --percent-limit 10 --objdump=objdump 2> /dev/null < …
/linux/drivers/platform/chrome/wilco_ec/
H A Dkeyboard_leds.c18 #define WILCO_KBBL_MODE_FLAG_PWM BIT(1) /* Set brightness by percent. */
40 * @percent: Brightness in 0-100. Only meaningful in PWM mode.
50 u8 percent; member
89 request.percent = brightness; in set_kbbl()
156 return response.percent; in kbbl_init()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dpptable_v1_0.h277 USHORT usPWMMin; /* The minimum PWM value in percent (0.01% increments). */
278 USHORT usPWMMed; /* The PWM value (in percent) at TMed. */
282 USHORT usFanPWMMax; /* Maximum allowed fan power in percent */
297 USHORT usPWMMin; /* The minimum PWM value in percent (0.01% increments). */
298 USHORT usPWMMed; /* The PWM value (in percent) at TMed. */
302 USHORT usFanPWMMax; /* Maximum allowed fan power in percent */
324 USHORT usPWMMin; /* The minimum PWM value in percent (0.01% increments). */
325 USHORT usPWMMed; /* The PWM value (in percent) at TMed. */
329 USHORT usFanPWMMax; /* Maximum allowed fan power in percent */
/linux/tools/perf/ui/gtk/
H A Dbrowser.c36 const char *perf_gtk__get_percent_color(double percent) in perf_gtk__get_percent_color() argument
38 if (percent >= MIN_RED) in perf_gtk__get_percent_color()
40 if (percent >= MIN_GREEN) in perf_gtk__get_percent_color()
H A Dhists.c21 double percent; in __percent_color_snprintf() local
28 percent = va_arg(args, double); in __percent_color_snprintf()
31 markup = perf_gtk__get_percent_color(percent); in __percent_color_snprintf()
35 ret += scnprintf(buf + ret, size - ret, fmt, len, percent); in __percent_color_snprintf()
362 float percent; in perf_gtk__show_hists() local
367 percent = hist_entry__get_percent_limit(h); in perf_gtk__show_hists()
368 if (percent < min_pcnt) in perf_gtk__show_hists()
422 float percent; in perf_gtk__add_hierarchy_entries() local
429 percent = hist_entry__get_percent_limit(he); in perf_gtk__add_hierarchy_entries()
430 if (percent < min_pcnt) in perf_gtk__add_hierarchy_entries()
/linux/include/drm/
H A Dgud.h189 /* Brightness in percent, range 0-100 */
191 /* Contrast in percent, range 0-100 */
193 /* Flicker reduction in percent, range 0-100 */
195 /* Overscan in percent, range 0-100 */
197 /* Saturation in percent, range 0-100 */
199 /* Hue in percent, range 0-100 */
/linux/drivers/power/supply/
H A Dab8500-bm.h332 * @critical: critical capacity level in percent
333 * @low: low capacity level in percent
334 * @normal: normal capacity level in percent
335 * @high: high capacity level in percent
336 * @full: full capacity level in percent
379 * @cap_levels capacity in percent for the different capacity levels
/linux/tools/perf/util/
H A Dannotate.c799 double percent; in annotation_line__print() local
801 percent = annotation_data__percent(&al->data[i], in annotation_line__print()
804 if (percent > max_percent) in annotation_line__print()
805 max_percent = percent; in annotation_line__print()
835 double percent; in annotation_line__print() local
837 percent = annotation_data__percent(data, percent_type); in annotation_line__print()
838 color = get_percent_color(percent); in annotation_line__print()
847 color_fprintf(stdout, color, " %7.2f", percent); in annotation_line__print()
933 data->percent[PERCENT_HITS_LOCAL] = 100.0 * hits / sym_hist->nr_samples; in calc_percent()
937 data->percent[PERCENT_HITS_GLOBA in calc_percent()
1163 double percent, percent_max = 0.0; print_summary() local
1636 double percent; annotation__calc_lines() local
1750 double percent; annotation_line__max_percent() local
2041 double percent; annotation_line__write() local
[all...]
/linux/drivers/tty/serial/8250/
H A D8250_bcm7271.c676 static u32 find_quot(struct device *dev, u32 freq, u32 baud, u32 *percent) in find_quot() argument
689 /* increase resolution to get xx.xx percent */ in find_quot()
699 *percent = (unsigned long)DIV_ROUND_CLOSEST_ULL(hires_err, baud); in find_quot()
702 baud, freq, *percent / 100, *percent % 100); in find_quot()
710 u32 percent; in set_clock_mux() local
725 quot = find_quot(up->dev, priv->default_mux_rate, baud, &percent); in set_clock_mux()
727 best_percent = percent; in set_clock_mux()
737 quot = find_quot(up->dev, freq, baud, &percent); in set_clock_mux()
741 if (percent < best_percent) { in set_clock_mux()
742 best_percent = percent; in set_clock_mux()
[all …]
/linux/tools/perf/Documentation/
H A Dperf-annotate.txt147 --percent-type::
148 Set annotation percent type from following choices:
156 --percent-limit::
157 Do not show functions which have an overhead under that percent on
/linux/include/uapi/linux/
H A Ddcbnl.h533 * @DCB_PG_ATTR_BW_ID_0: Percent of link bandwidth for Priority Group 0 (NLA_U8)
534 * @DCB_PG_ATTR_BW_ID_1: Percent of link bandwidth for Priority Group 1 (NLA_U8)
535 * @DCB_PG_ATTR_BW_ID_2: Percent of link bandwidth for Priority Group 2 (NLA_U8)
536 * @DCB_PG_ATTR_BW_ID_3: Percent of link bandwidth for Priority Group 3 (NLA_U8)
537 * @DCB_PG_ATTR_BW_ID_4: Percent of link bandwidth for Priority Group 4 (NLA_U8)
538 * @DCB_PG_ATTR_BW_ID_5: Percent of link bandwidth for Priority Group 5 (NLA_U8)
539 * @DCB_PG_ATTR_BW_ID_6: Percent of link bandwidth for Priority Group 6 (NLA_U8)
540 * @DCB_PG_ATTR_BW_ID_7: Percent of link bandwidth for Priority Group 7 (NLA_U8)

1234567891011