Linux Kernel
3.7.1
|
#include <linux/string.h>
#include <linux/perf_event.h>
#include <asm/reg.h>
#include <asm/cputable.h>
Go to the source code of this file.
Macros | |
#define | N_COUNTER 6 /* Number of hardware counters */ |
#define | MAX_ALT 3 /* Maximum number of event alternative codes */ |
#define | PM_THRMULT_MSKS 0x40000 |
#define | PM_THRESH_SH 12 |
#define | PM_THRESH_MSK 0x3f |
#define | PM_PMC_SH 8 |
#define | PM_PMC_MSK 7 |
#define | PM_PMCSEL_MSK 0x7f |
#define | N_CLASSES 5 |
#define | C(x) PERF_COUNT_HW_CACHE_##x |
Functions | |
early_initcall (init_mpc7450_pmu) | |
Variables | |
struct power_pmu | mpc7450_pmu |
Definition at line 353 of file mpc7450-pmu.c.
#define MAX_ALT 3 /* Maximum number of event alternative codes */ |
Definition at line 17 of file mpc7450-pmu.c.
#define N_CLASSES 5 |
Definition at line 39 of file mpc7450-pmu.c.
#define N_COUNTER 6 /* Number of hardware counters */ |
Definition at line 16 of file mpc7450-pmu.c.
#define PM_PMC_MSK 7 |
Definition at line 26 of file mpc7450-pmu.c.
#define PM_PMC_SH 8 |
Definition at line 25 of file mpc7450-pmu.c.
#define PM_PMCSEL_MSK 0x7f |
Definition at line 27 of file mpc7450-pmu.c.
#define PM_THRESH_MSK 0x3f |
Definition at line 24 of file mpc7450-pmu.c.
#define PM_THRESH_SH 12 |
Definition at line 23 of file mpc7450-pmu.c.
#define PM_THRMULT_MSKS 0x40000 |
Definition at line 22 of file mpc7450-pmu.c.
early_initcall | ( | init_mpc7450_pmu | ) |
Definition at line 398 of file mpc7450-pmu.c.