Lines Matching refs:ppmt
2209 struct pmt_counter *ppmt; in print_header() local
2282 ppmt = sys.pmt_tp; in print_header()
2283 while (ppmt) { in print_header()
2284 switch (ppmt->type) { in print_header()
2286 if (pmt_counter_get_width(ppmt) <= 32) in print_header()
2287 outp += sprintf(outp, "%s%10.10s", (printed++ ? delim : ""), ppmt->name); in print_header()
2289 outp += sprintf(outp, "%s%18.18s", (printed++ ? delim : ""), ppmt->name); in print_header()
2294 outp += sprintf(outp, "%s%s", delim, ppmt->name); in print_header()
2298 ppmt = ppmt->next; in print_header()
2356 ppmt = sys.pmt_cp; in print_header()
2357 while (ppmt) { in print_header()
2358 switch (ppmt->type) { in print_header()
2360 if (pmt_counter_get_width(ppmt) <= 32) in print_header()
2361 outp += sprintf(outp, "%s%10.10s", (printed++ ? delim : ""), ppmt->name); in print_header()
2363 outp += sprintf(outp, "%s%18.18s", (printed++ ? delim : ""), ppmt->name); in print_header()
2368 outp += sprintf(outp, "%s%s", delim, ppmt->name); in print_header()
2372 ppmt = ppmt->next; in print_header()
2487 ppmt = sys.pmt_pp; in print_header()
2488 while (ppmt) { in print_header()
2489 switch (ppmt->type) { in print_header()
2491 if (pmt_counter_get_width(ppmt) <= 32) in print_header()
2492 outp += sprintf(outp, "%s%10.10s", (printed++ ? delim : ""), ppmt->name); in print_header()
2494 outp += sprintf(outp, "%s%18.18s", (printed++ ? delim : ""), ppmt->name); in print_header()
2499 outp += sprintf(outp, "%s%s", delim, ppmt->name); in print_header()
2503 ppmt = ppmt->next; in print_header()
2627 struct pmt_counter *ppmt; in format_counters() local
2790 for (i = 0, ppmt = sys.pmt_tp; ppmt; i++, ppmt = ppmt->next) { in format_counters()
2791 switch (ppmt->type) { in format_counters()
2793 if (pmt_counter_get_width(ppmt) <= 32) in format_counters()
2871 for (i = 0, ppmt = sys.pmt_cp; ppmt; i++, ppmt = ppmt->next) { in format_counters()
2872 switch (ppmt->type) { in format_counters()
2874 if (pmt_counter_get_width(ppmt) <= 32) in format_counters()
3070 for (i = 0, ppmt = sys.pmt_pp; ppmt; i++, ppmt = ppmt->next) { in format_counters()
3071 switch (ppmt->type) { in format_counters()
3073 if (pmt_counter_get_width(ppmt) <= 32) in format_counters()
3144 struct pmt_counter *ppmt; in delta_package() local
3215 for (i = 0, ppmt = sys.pmt_pp; ppmt; i++, ppmt = ppmt->next) { in delta_package()
3216 if (ppmt->format == FORMAT_RAW) in delta_package()
3230 struct pmt_counter *ppmt; in delta_core() local
3255 for (i = 0, ppmt = sys.pmt_cp; ppmt; i++, ppmt = ppmt->next) { in delta_core()
3256 if (ppmt->format == FORMAT_RAW) in delta_core()
3279 struct pmt_counter *ppmt; in delta_thread() local
3366 for (i = 0, ppmt = sys.pmt_tp; ppmt; i++, ppmt = ppmt->next) { in delta_thread()
3367 if (ppmt->format == FORMAT_RAW) in delta_thread()
3505 struct pmt_counter *ppmt; in sum_counters() local
3542 for (i = 0, ppmt = sys.pmt_tp; ppmt; i++, ppmt = ppmt->next) { in sum_counters()
3572 for (i = 0, ppmt = sys.pmt_cp; ppmt; i++, ppmt = ppmt->next) { in sum_counters()
3636 for (i = 0, ppmt = sys.pmt_pp; ppmt; i++, ppmt = ppmt->next) { in sum_counters()
3652 struct pmt_counter *ppmt; in compute_average() local
3755 for (i = 0, ppmt = sys.pmt_tp; ppmt; i++, ppmt = ppmt->next) { in compute_average()
3758 for (i = 0, ppmt = sys.pmt_cp; ppmt; i++, ppmt = ppmt->next) { in compute_average()
3761 for (i = 0, ppmt = sys.pmt_pp; ppmt; i++, ppmt = ppmt->next) { in compute_average()
4473 unsigned long pmt_read_counter(struct pmt_counter *ppmt, unsigned int domain_id) in pmt_read_counter() argument
4475 assert(domain_id < ppmt->num_domains); in pmt_read_counter()
4477 const unsigned long *pmmio = ppmt->domains[domain_id].pcounter; in pmt_read_counter()
4479 const unsigned long value_mask = pmt_gen_value_mask(ppmt->lsb, ppmt->msb); in pmt_read_counter()
4480 const unsigned long value_shift = ppmt->lsb; in pmt_read_counter()