Home
last modified time | relevance | path

Searched refs:hpp (Results 1 – 14 of 14) sorted by relevance

/linux-4.4.14/tools/perf/ui/
Dhist.c11 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument
13 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \
14 advance_hpp(hpp, __ret); \
18 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument
25 char *buf = hpp->buf; in __hpp__fmt()
26 size_t size = hpp->size; in __hpp__fmt()
35 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt()
37 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); in __hpp__fmt()
62 ret += hpp__call_print_fn(hpp, print_fn, in __hpp__fmt()
65 ret += hpp__call_print_fn(hpp, print_fn, in __hpp__fmt()
[all …]
/linux-4.4.14/tools/perf/
Dbuiltin-diff.c832 struct perf_hpp *hpp, struct hist_entry *he) in hpp__color_baseline() argument
841 return percent_color_snprintf(hpp->buf, hpp->size, in hpp__color_baseline()
844 return scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_baseline()
861 struct perf_hpp *hpp, struct hist_entry *he, in __hpp__color_compare() argument
882 return percent_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare()
893 return value_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare()
904 return color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare()
911 return scnprintf(hpp->buf, hpp->size, "%*s", in __hpp__color_compare()
914 return scnprintf(hpp->buf, hpp->size, "%*s", in __hpp__color_compare()
919 struct perf_hpp *hpp, struct hist_entry *he) in hpp__color_delta() argument
[all …]
/linux-4.4.14/tools/perf/util/
Dhist.h197 int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
199 int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
201 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
203 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
275 typedef int (*hpp_callback_fn)(struct perf_hpp *hpp, bool front);
276 typedef int (*hpp_snprint_fn)(struct perf_hpp *hpp, const char *fmt, ...);
278 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
281 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
285 static inline void advance_hpp(struct perf_hpp *hpp, int inc) in advance_hpp() argument
287 hpp->buf += inc; in advance_hpp()
[all …]
Dsort.c1371 struct perf_hpp_fmt hpp; member
1383 hse_a = container_of(a, struct hpp_sort_entry, hpp); in perf_hpp__same_sort_entry()
1384 hse_b = container_of(b, struct hpp_sort_entry, hpp); in perf_hpp__same_sort_entry()
1396 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width()
1400 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header() argument
1406 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header()
1411 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_header()
1415 struct perf_hpp *hpp __maybe_unused, in __sort__hpp_width()
1421 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width()
1429 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry() argument
[all …]
/linux-4.4.14/tools/perf/ui/gtk/
Dhists.c11 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...) in __percent_color_snprintf() argument
18 char *buf = hpp->buf; in __percent_color_snprintf()
19 size_t size = hpp->size; in __percent_color_snprintf()
45 struct perf_hpp *hpp, \
48 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
59 struct perf_hpp *hpp, \
62 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
172 struct perf_hpp hpp = { in perf_gtk__show_hists() local
245 fmt->color(fmt, &hpp, h); in perf_gtk__show_hists()
247 fmt->entry(fmt, &hpp, h); in perf_gtk__show_hists()
/linux-4.4.14/tools/perf/ui/stdio/
Dhist.c314 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf() argument
318 char *start = hpp->buf; in hist_entry__snprintf()
334 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__snprintf()
335 advance_hpp(hpp, ret); in hist_entry__snprintf()
340 ret = fmt->color(fmt, hpp, he); in hist_entry__snprintf()
342 ret = fmt->entry(fmt, hpp, he); in hist_entry__snprintf()
344 advance_hpp(hpp, ret); in hist_entry__snprintf()
347 return hpp->buf - start; in hist_entry__snprintf()
355 struct perf_hpp hpp = { in hist_entry__fprintf() local
361 size = hpp.size = bfsz; in hist_entry__fprintf()
[all …]
/linux-4.4.14/drivers/pci/
Dprobe.c1376 static void program_hpp_type0(struct pci_dev *dev, struct hpp_type0 *hpp) in program_hpp_type0() argument
1380 if (!hpp) in program_hpp_type0()
1381 hpp = &pci_default_type0; in program_hpp_type0()
1383 if (hpp->revision > 1) { in program_hpp_type0()
1386 hpp->revision); in program_hpp_type0()
1387 hpp = &pci_default_type0; in program_hpp_type0()
1390 pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, hpp->cache_line_size); in program_hpp_type0()
1391 pci_write_config_byte(dev, PCI_LATENCY_TIMER, hpp->latency_timer); in program_hpp_type0()
1393 if (hpp->enable_serr) in program_hpp_type0()
1395 if (hpp->enable_perr) in program_hpp_type0()
[all …]
Dpci-acpi.c209 static acpi_status acpi_run_hpp(acpi_handle handle, struct hotplug_params *hpp) in acpi_run_hpp() argument
216 memset(hpp, 0, sizeof(struct hotplug_params)); in acpi_run_hpp()
237 hpp->t0 = &hpp->type0_data; in acpi_run_hpp()
238 hpp->t0->revision = 1; in acpi_run_hpp()
239 hpp->t0->cache_line_size = fields[0].integer.value; in acpi_run_hpp()
240 hpp->t0->latency_timer = fields[1].integer.value; in acpi_run_hpp()
241 hpp->t0->enable_serr = fields[2].integer.value; in acpi_run_hpp()
242 hpp->t0->enable_perr = fields[3].integer.value; in acpi_run_hpp()
254 int pci_get_hp_params(struct pci_dev *dev, struct hotplug_params *hpp) in pci_get_hp_params() argument
277 status = acpi_run_hpx(handle, hpp); in pci_get_hp_params()
[all …]
/linux-4.4.14/tools/perf/ui/browsers/
Dhists.c670 static int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() argument
672 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf()
684 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf()
685 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf()
687 advance_hpp(hpp, ret); in __hpp__slsmg_color_printf()
699 struct perf_hpp *hpp, \
702 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
714 struct perf_hpp *hpp, \
718 struct hpp_arg *arg = hpp->ptr; \
720 int ret = scnprintf(hpp->buf, hpp->size, \
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Drenesas,r8a7740-cpg-clocks.txt18 "m1", "hp", "hpp", "usbp", "s", "zb", "m3", and "cp".
35 "hpp", "usbp", "s", "zb", "m3",
/linux-4.4.14/include/linux/
Dpci_hotplug.h178 int pci_get_hp_params(struct pci_dev *dev, struct hotplug_params *hpp);
184 struct hotplug_params *hpp) in pci_get_hp_params() argument
/linux-4.4.14/arch/x86/platform/uv/
Dtlb_uv.c338 struct hub_and_pnode *hpp; in pnode_to_first_cpu() local
341 hpp = &smaster->thp[cpu]; in pnode_to_first_cpu()
342 if (pnode == hpp->pnode) in pnode_to_first_cpu()
1030 struct hub_and_pnode *hpp; in set_distrib_bits() local
1039 hpp = &bcp->socket_master->thp[cpu]; in set_distrib_bits()
1040 pnode = hpp->pnode - bcp->partition_base_pnode; in set_distrib_bits()
1043 if (hpp->uvhub == bcp->uvhub) in set_distrib_bits()
/linux-4.4.14/arch/s390/include/asm/
Dcpu_mf.h111 unsigned long long hpp; /* Host Program Parameter */ member
/linux-4.4.14/arch/arm/boot/dts/
Dr8a7740.dtsi470 "hpp", "usbp", "s", "zb", "m3",