Lines Matching defs:ppmt
2709 struct pmt_counter *ppmt;
2790 ppmt = sys.pmt_tp;
2791 while (ppmt) {
2792 switch (ppmt->type) {
2794 if (pmt_counter_get_width(ppmt) <= 32)
2795 outp += sprintf(outp, "%s%10.10s", (printed++ ? delim : ""), ppmt->name);
2797 outp += sprintf(outp, "%s%18.18s", (printed++ ? delim : ""), ppmt->name);
2803 outp += sprintf(outp, "%s%s", (printed++ ? delim : ""), ppmt->name);
2807 ppmt = ppmt->next;
2865 ppmt = sys.pmt_cp;
2866 while (ppmt) {
2867 switch (ppmt->type) {
2869 if (pmt_counter_get_width(ppmt) <= 32)
2870 outp += sprintf(outp, "%s%10.10s", (printed++ ? delim : ""), ppmt->name);
2872 outp += sprintf(outp, "%s%18.18s", (printed++ ? delim : ""), ppmt->name);
2878 outp += sprintf(outp, "%s%s", (printed++ ? delim : ""), ppmt->name);
2882 ppmt = ppmt->next;
2997 ppmt = sys.pmt_pp;
2998 while (ppmt) {
2999 switch (ppmt->type) {
3001 if (pmt_counter_get_width(ppmt) <= 32)
3002 outp += sprintf(outp, "%s%10.10s", (printed++ ? delim : ""), ppmt->name);
3004 outp += sprintf(outp, "%s%18.18s", (printed++ ? delim : ""), ppmt->name);
3010 outp += sprintf(outp, "%s%s", (printed++ ? delim : ""), ppmt->name);
3014 ppmt = ppmt->next;
3150 struct pmt_counter *ppmt;
3334 for (i = 0, ppmt = sys.pmt_tp; ppmt; i++, ppmt = ppmt->next) {
3337 switch (ppmt->type) {
3339 if (pmt_counter_get_width(ppmt) <= 32)
3419 for (i = 0, ppmt = sys.pmt_cp; ppmt; i++, ppmt = ppmt->next) {
3422 switch (ppmt->type) {
3424 if (pmt_counter_get_width(ppmt) <= 32)
3622 for (i = 0, ppmt = sys.pmt_pp; ppmt; i++, ppmt = ppmt->next) {
3625 switch (ppmt->type) {
3627 if (pmt_counter_get_width(ppmt) <= 32)
3707 struct pmt_counter *ppmt;
3778 for (i = 0, ppmt = sys.pmt_pp; ppmt; i++, ppmt = ppmt->next) {
3779 if (ppmt->format == FORMAT_RAW)
3793 struct pmt_counter *ppmt;
3818 for (i = 0, ppmt = sys.pmt_cp; ppmt; i++, ppmt = ppmt->next) {
3819 if (ppmt->format == FORMAT_RAW)
3842 struct pmt_counter *ppmt;
3932 for (i = 0, ppmt = sys.pmt_tp; ppmt; i++, ppmt = ppmt->next) {
3933 if (ppmt->format == FORMAT_RAW)
4075 struct pmt_counter *ppmt;
4113 for (i = 0, ppmt = sys.pmt_tp; ppmt; i++, ppmt = ppmt->next) {
4143 for (i = 0, ppmt = sys.pmt_cp; ppmt; i++, ppmt = ppmt->next) {
4207 for (i = 0, ppmt = sys.pmt_pp; ppmt; i++, ppmt = ppmt->next) {
4223 struct pmt_counter *ppmt;
4328 for (i = 0, ppmt = sys.pmt_tp; ppmt; i++, ppmt = ppmt->next) {
4331 for (i = 0, ppmt = sys.pmt_cp; ppmt; i++, ppmt = ppmt->next) {
4334 for (i = 0, ppmt = sys.pmt_pp; ppmt; i++, ppmt = ppmt->next) {
5052 unsigned long pmt_read_counter(struct pmt_counter *ppmt, unsigned int domain_id)
5054 if (domain_id >= ppmt->num_domains)
5057 const unsigned long *pmmio = ppmt->domains[domain_id].pcounter;
5059 const unsigned long value_mask = pmt_gen_value_mask(ppmt->lsb, ppmt->msb);
5060 const unsigned long value_shift = ppmt->lsb;