Home
last modified time | relevance | path

Searched full:hpp (Results 1 – 17 of 17) sorted by relevance

/linux/tools/perf/ui/stdio/
H A Dhist.c414 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf() argument
419 char *start = hpp->buf; in __hist_entry__snprintf()
435 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf()
436 advance_hpp(hpp, ret); in __hist_entry__snprintf()
441 ret = fmt->color(fmt, hpp, he); in __hist_entry__snprintf()
443 ret = fmt->entry(fmt, hpp, he); in __hist_entry__snprintf()
445 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); in __hist_entry__snprintf()
446 advance_hpp(hpp, ret); in __hist_entry__snprintf()
449 return hpp->buf - start; in __hist_entry__snprintf()
452 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf() argument
[all …]
/linux/tools/perf/ui/
H A Dhist.c17 /* hist period print (hpp) functions */
19 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument
21 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \
22 advance_hpp(hpp, __ret); \
26 static int __hpp__fmt_print(struct perf_hpp *hpp, struct hists *hists, u64 val, in __hpp__fmt_print() argument
37 return hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt_print()
43 return hpp__call_print_fn(hpp, print_fn, fmt, len, avg); in __hpp__fmt_print()
46 return hpp__call_print_fn(hpp, print_fn, fmt, len, val); in __hpp__fmt_print()
55 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument
63 char *buf = hpp in __hpp__fmt()
119 hpp__fmt(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,hpp_field_fn get_field,const char * fmtstr,hpp_snprint_fn print_fn,enum perf_hpp_fmt_type fmtype) hpp__fmt() argument
139 hpp__fmt_acc(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,hpp_field_fn get_field,const char * fmtstr,hpp_snprint_fn print_fn,enum perf_hpp_fmt_type fmtype) hpp__fmt_acc() argument
322 hpp__header_fn(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists,int line __maybe_unused,int * span __maybe_unused) hpp__header_fn() argument
330 hpp_color_scnprintf(struct perf_hpp * hpp,const char * fmt,...) hpp_color_scnprintf() argument
346 hpp_entry_scnprintf(struct perf_hpp * hpp,const char * fmt,...) hpp_entry_scnprintf() argument
[all...]
/linux/tools/perf/
H A Dbuiltin-c2c.c417 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
419 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
444 struct perf_hpp *hpp __maybe_unused, in c2c_width()
460 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header() argument
467 int width = c2c_width(fmt, hpp, hists); in c2c_header()
491 return scnprintf(hpp->buf, hpp->size, "%*s", width, text); in c2c_header()
507 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_entry() argument
511 int width = c2c_width(fmt, hpp, he->hists); in dcacheline_entry()
517 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); in dcacheline_entry()
521 dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_entry() argument
[all …]
/linux/tools/perf/util/
H A Dblock-info.c179 struct perf_hpp *hpp, in block_column_header() argument
186 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_column_header()
191 struct perf_hpp *hpp __maybe_unused, in block_column_width()
199 static int color_pct(struct perf_hpp *hpp, int width, double pct) in color_pct() argument
203 return __hpp__slsmg_color_printf(hpp, "%*.2f%%", in color_pct()
207 return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, pct); in color_pct()
211 struct perf_hpp *hpp, in block_total_cycles_pct_entry() argument
221 return color_pct(hpp, block_fmt->width, 100.0 * ratio); in block_total_cycles_pct_entry()
255 struct perf_hpp *hpp, struct hist_entry *he) in block_cycles_lbr_entry() argument
263 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_cycles_lbr_entry()
[all …]
H A Ds390-cpumsf-kernel.h30 unsigned long long hpp; /* Host Program Parameter */ member
/linux/tools/perf/ui/gtk/
H A Dhists.c16 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...) in __percent_color_snprintf() argument
23 char *buf = hpp->buf; in __percent_color_snprintf()
24 size_t size = hpp->size; in __percent_color_snprintf()
50 struct perf_hpp *hpp, \
53 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
64 struct perf_hpp *hpp, \
67 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
307 struct perf_hpp hpp = { in perf_gtk__show_hists() local
380 fmt->color(fmt, &hpp, h); in perf_gtk__show_hists()
382 fmt->entry(fmt, &hpp, h); in perf_gtk__show_hists()
[all …]
/linux/tools/perf/ui/browsers/
H A Dhists.c1209 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() argument
1211 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf()
1223 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf()
1224 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf()
1237 struct perf_hpp *hpp, \
1240 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
1252 struct perf_hpp *hpp, \
1256 struct hpp_arg *arg = hpp->ptr; \
1258 int ret = scnprintf(hpp->buf, hpp->size, \
1260 ui_browser__printf(arg->b, "%s", hpp->buf); \
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Drenesas,cpg-clocks.yaml120 - const: hpp
242 "usb24s", "i", "zg", "b", "m1", "hp", "hpp",
/linux/drivers/gpu/drm/amd/display/include/
H A Dgrph_object_defs.h153 /* connector sizes in millimeters - from BiosParserTypes.hpp */
/linux/drivers/clk/renesas/
H A Dclk-r8a7740.c41 { "hpp", CPG_FRQCRC, 20 },
/linux/drivers/scsi/fnic/
H A Dvnic_devcmd.h232 * For HPP toggle:
/linux/drivers/net/ethernet/cisco/enic/
H A Dvnic_devcmd.h280 * For HPP toggle:
/linux/arch/arm/boot/dts/renesas/
H A Dr8a7740.dtsi555 "hpp", "usbp", "s", "zb", "m3",
/linux/sound/soc/codecs/
H A Dmt6358.c1041 /* Set HPP/N STB enhance circuits */ in mtk_hp_enable()
1250 /* Set HPP/N STB enhance circuits */ in mtk_hp_spk_enable()
H A Dmt6357.c1153 /* Set HPP/N STB enhance circuits */ in hp_main_mux_event()
H A Dmt6359.c899 /* Set HPP/N STB enhance circuits */ in mtk_hp_enable()
/linux/drivers/hid/
H A Dhid-wiimote-modules.c2004 * 3 | HPP | NON | WHICH <5:1> | ? | in wiimod_drums_in_ext()
2020 * 3 | HPP | NON | WHICH <5:1> | ? | in wiimod_drums_in_ext()