Lines Matching defs:pe

460 k7_allocate_pmc(enum pmc_event pe, char *ctrspec,
470 if (pe == PMC_EV_K7_DC_REFILLS_FROM_L2 ||
471 pe == PMC_EV_K7_DC_REFILLS_FROM_SYSTEM ||
472 pe == PMC_EV_K7_DC_WRITEBACKS) {
616 iaf_allocate_pmc(enum pmc_event pe, char *ctrspec,
621 (void) pe;
781 iap_allocate_pmc(enum pmc_event pe, char *ctrspec,
880 switch (pe) {
916 ucf_allocate_pmc(enum pmc_event pe, char *ctrspec,
919 (void) pe;
933 ucp_allocate_pmc(enum pmc_event pe, char *ctrspec,
939 (void) pe;
1178 k8_allocate_pmc(enum pmc_event pe, char *ctrspec,
1196 switch (pe) {
1294 switch (pe) {
1660 p4_allocate_pmc(enum pmc_event pe, char *ctrspec,
1683 switch (pe) {
1896 if (pe == PMC_EV_P4_IOQ_ALLOCATION ||
1897 pe == PMC_EV_P4_FSB_DATA_ACTIVITY ||
1898 pe == PMC_EV_P4_BSQ_ALLOCATION)
1908 switch (pe) {
1960 p5_allocate_pmc(enum pmc_event pe, char *ctrspec,
1963 return (-1 || pe || ctrspec || pmc_config); /* shut up gcc */
2091 p6_allocate_pmc(enum pmc_event pe, char *ctrspec,
2106 switch(pe) {
2154 if (pe == PMC_EV_P6_L2_LD ||
2155 pe == PMC_EV_P6_L2_LINES_IN ||
2156 pe == PMC_EV_P6_L2_LINES_OUT)
2158 else if (pe == PMC_EV_P6_L2_M_LINES_OUTM)
2184 if ((pe == PMC_EV_P6_BUS_DRDY_CLOCKS ||
2185 pe == PMC_EV_P6_BUS_LOCK_CLOCKS ||
2186 pe == PMC_EV_P6_BUS_TRAN_BRD ||
2187 pe == PMC_EV_P6_BUS_TRAN_RFO ||
2188 pe == PMC_EV_P6_BUS_TRAN_IFETCH ||
2189 pe == PMC_EV_P6_BUS_TRAN_INVAL ||
2190 pe == PMC_EV_P6_BUS_TRAN_PWR ||
2191 pe == PMC_EV_P6_BUS_TRAN_DEF ||
2192 pe == PMC_EV_P6_BUS_TRAN_BURST ||
2193 pe == PMC_EV_P6_BUS_TRAN_ANY ||
2194 pe == PMC_EV_P6_BUS_TRAN_MEM ||
2195 pe == PMC_EV_P6_BUS_TRANS_IO ||
2196 pe == PMC_EV_P6_BUS_TRANS_P ||
2197 pe == PMC_EV_P6_BUS_TRANS_WB ||
2198 pe == PMC_EV_P6_EMON_EST_TRANS ||
2199 pe == PMC_EV_P6_EMON_FUSED_UOPS_RET ||
2200 pe == PMC_EV_P6_EMON_KNI_COMP_INST_RET ||
2201 pe == PMC_EV_P6_EMON_KNI_INST_RETIRED ||
2202 pe == PMC_EV_P6_EMON_KNI_PREF_DISPATCHED ||
2203 pe == PMC_EV_P6_EMON_KNI_PREF_MISS ||
2204 pe == PMC_EV_P6_EMON_SSE_SSE2_COMP_INST_RETIRED ||
2205 pe == PMC_EV_P6_EMON_SSE_SSE2_INST_RETIRED ||
2206 pe == PMC_EV_P6_FP_MMX_TRANS)
2217 switch (pe) {
2290 tsc_allocate_pmc(enum pmc_event pe, char *ctrspec,
2293 if (pe != PMC_EV_TSC_TSC)
2313 soft_allocate_pmc(enum pmc_event pe, char *ctrspec,
2319 if ((int)pe < PMC_EV_SOFT_FIRST || (int)pe > PMC_EV_SOFT_LAST)
2337 xscale_allocate_pmc(enum pmc_event pe, char *ctrspec __unused,
2340 switch (pe) {
2363 mips24k_allocate_pmc(enum pmc_event pe, char *ctrspec __unused,
2368 (void) pe;
2401 ppc7450_allocate_pmc(enum pmc_event pe, char *ctrspec __unused,
2406 (void) pe;
3153 _pmc_name_of_event(enum pmc_event pe, enum pmc_cputype cpu)
3158 if (pe >= PMC_EV_IAF_FIRST && pe <= PMC_EV_IAF_LAST) {
3161 } else if (pe >= PMC_EV_IAP_FIRST && pe <= PMC_EV_IAP_LAST) {
3207 } else if (pe >= PMC_EV_UCF_FIRST && pe <= PMC_EV_UCF_LAST) {
3210 } else if (pe >= PMC_EV_UCP_FIRST && pe <= PMC_EV_UCP_LAST) {
3227 } else if (pe >= PMC_EV_K7_FIRST && pe <= PMC_EV_K7_LAST) {
3230 } else if (pe >= PMC_EV_K8_FIRST && pe <= PMC_EV_K8_LAST) {
3233 } else if (pe >= PMC_EV_P4_FIRST && pe <= PMC_EV_P4_LAST) {
3236 } else if (pe >= PMC_EV_P5_FIRST && pe <= PMC_EV_P5_LAST) {
3239 } else if (pe >= PMC_EV_P6_FIRST && pe <= PMC_EV_P6_LAST) {
3242 } else if (pe >= PMC_EV_XSCALE_FIRST && pe <= PMC_EV_XSCALE_LAST) {
3245 } else if (pe >= PMC_EV_MIPS24K_FIRST && pe <= PMC_EV_MIPS24K_LAST) {
3248 } else if (pe >= PMC_EV_PPC7450_FIRST && pe <= PMC_EV_PPC7450_LAST) {
3251 } else if (pe == PMC_EV_TSC_TSC) {
3254 } else if ((int)pe >= PMC_EV_SOFT_FIRST && (int)pe <= PMC_EV_SOFT_LAST) {
3260 if (pe == ev->pm_ev_code)
3267 pmc_name_of_event(enum pmc_event pe)
3271 if ((n = _pmc_name_of_event(pe, cpu_info.pm_cputype)) != NULL)