/linux-4.1.27/tools/perf/ui/ |
D | hist.c | 11 #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.1.27/tools/perf/ |
D | builtin-diff.c | 826 struct perf_hpp *hpp, struct hist_entry *he) in hpp__color_baseline() argument 835 return percent_color_snprintf(hpp->buf, hpp->size, in hpp__color_baseline() 838 return scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_baseline() 855 struct perf_hpp *hpp, struct hist_entry *he, in __hpp__color_compare() argument 876 return percent_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare() 887 return value_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare() 898 return color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare() 905 return scnprintf(hpp->buf, hpp->size, "%*s", in __hpp__color_compare() 908 return scnprintf(hpp->buf, hpp->size, "%*s", in __hpp__color_compare() 913 struct perf_hpp *hpp, struct hist_entry *he) in hpp__color_delta() argument [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | hist.h | 190 int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 192 int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 194 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 196 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 268 typedef int (*hpp_callback_fn)(struct perf_hpp *hpp, bool front); 269 typedef int (*hpp_snprint_fn)(struct perf_hpp *hpp, const char *fmt, ...); 271 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 274 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 278 static inline void advance_hpp(struct perf_hpp *hpp, int inc) in advance_hpp() argument 280 hpp->buf += inc; in advance_hpp() [all …]
|
D | sort.c | 1235 struct perf_hpp_fmt hpp; member 1247 hse_a = container_of(a, struct hpp_sort_entry, hpp); in perf_hpp__same_sort_entry() 1248 hse_b = container_of(b, struct hpp_sort_entry, hpp); in perf_hpp__same_sort_entry() 1260 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width() 1264 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header() argument 1270 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header() 1275 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_header() 1279 struct perf_hpp *hpp __maybe_unused, in __sort__hpp_width() 1285 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width() 1293 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry() argument [all …]
|
/linux-4.1.27/tools/perf/ui/gtk/ |
D | hists.c | 11 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.1.27/drivers/pci/ |
D | probe.c | 1282 static void program_hpp_type0(struct pci_dev *dev, struct hpp_type0 *hpp) in program_hpp_type0() argument 1286 if (!hpp) in program_hpp_type0() 1287 hpp = &pci_default_type0; in program_hpp_type0() 1289 if (hpp->revision > 1) { in program_hpp_type0() 1292 hpp->revision); in program_hpp_type0() 1293 hpp = &pci_default_type0; in program_hpp_type0() 1296 pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, hpp->cache_line_size); in program_hpp_type0() 1297 pci_write_config_byte(dev, PCI_LATENCY_TIMER, hpp->latency_timer); in program_hpp_type0() 1299 if (hpp->enable_serr) in program_hpp_type0() 1301 if (hpp->enable_perr) in program_hpp_type0() [all …]
|
D | pci-acpi.c | 209 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.1.27/tools/perf/ui/stdio/ |
D | hist.c | 314 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.1.27/tools/perf/ui/browsers/ |
D | hists.c | 651 static int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() argument 653 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf() 665 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf() 666 slsmg_printf("%s", hpp->buf); in __hpp__slsmg_color_printf() 668 advance_hpp(hpp, ret); in __hpp__slsmg_color_printf() 680 struct perf_hpp *hpp, \ 683 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \ 695 struct perf_hpp *hpp, \ 700 int ret = scnprintf(hpp->buf, hpp->size, \ 702 slsmg_printf("%s", hpp->buf); \ [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/clock/ |
D | renesas,r8a7740-cpg-clocks.txt | 18 "m1", "hp", "hpp", "usbp", "s", "zb", "m3", and "cp". 35 "hpp", "usbp", "s", "zb", "m3",
|
/linux-4.1.27/include/linux/ |
D | pci_hotplug.h | 178 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.1.27/arch/x86/platform/uv/ |
D | tlb_uv.c | 338 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.1.27/arch/s390/include/asm/ |
D | cpu_mf.h | 116 unsigned long long hpp; /* Host Program Parameter */ member
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | r8a7740.dtsi | 469 "hpp", "usbp", "s", "zb", "m3",
|
/linux-4.1.27/arch/s390/kernel/ |
D | perf_cpum_sf.c | 1029 if (sfr->basic.hpp) in perf_push_sample()
|