Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
op_model_7450.c File Reference
#include <linux/oprofile.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <asm/ptrace.h>
#include <asm/processor.h>
#include <asm/cputable.h>
#include <asm/page.h>
#include <asm/pmc.h>
#include <asm/oprofile_impl.h>

Go to the source code of this file.

Macros

#define MMCR0_PMC1_SHIFT   6
 
#define MMCR0_PMC2_SHIFT   0
 
#define MMCR1_PMC3_SHIFT   27
 
#define MMCR1_PMC4_SHIFT   22
 
#define MMCR1_PMC5_SHIFT   17
 
#define MMCR1_PMC6_SHIFT   11
 
#define mmcr0_event1(event)   ((event << MMCR0_PMC1_SHIFT) & MMCR0_PMC1SEL)
 
#define mmcr0_event2(event)   ((event << MMCR0_PMC2_SHIFT) & MMCR0_PMC2SEL)
 
#define mmcr1_event3(event)   ((event << MMCR1_PMC3_SHIFT) & MMCR1_PMC3SEL)
 
#define mmcr1_event4(event)   ((event << MMCR1_PMC4_SHIFT) & MMCR1_PMC4SEL)
 
#define mmcr1_event5(event)   ((event << MMCR1_PMC5_SHIFT) & MMCR1_PMC5SEL)
 
#define mmcr1_event6(event)   ((event << MMCR1_PMC6_SHIFT) & MMCR1_PMC6SEL)
 
#define MMCR0_INIT   (MMCR0_FC | MMCR0_FCS | MMCR0_FCP | MMCR0_FCM1 | MMCR0_FCM0)
 

Variables

struct op_powerpc_model op_model_7450
 

Macro Definition Documentation

#define mmcr0_event1 (   event)    ((event << MMCR0_PMC1_SHIFT) & MMCR0_PMC1SEL)

Definition at line 40 of file op_model_7450.c.

#define mmcr0_event2 (   event)    ((event << MMCR0_PMC2_SHIFT) & MMCR0_PMC2SEL)

Definition at line 42 of file op_model_7450.c.

#define MMCR0_INIT   (MMCR0_FC | MMCR0_FCS | MMCR0_FCP | MMCR0_FCM1 | MMCR0_FCM0)

Definition at line 54 of file op_model_7450.c.

#define MMCR0_PMC1_SHIFT   6

Definition at line 33 of file op_model_7450.c.

#define MMCR0_PMC2_SHIFT   0

Definition at line 34 of file op_model_7450.c.

#define mmcr1_event3 (   event)    ((event << MMCR1_PMC3_SHIFT) & MMCR1_PMC3SEL)

Definition at line 45 of file op_model_7450.c.

#define mmcr1_event4 (   event)    ((event << MMCR1_PMC4_SHIFT) & MMCR1_PMC4SEL)

Definition at line 47 of file op_model_7450.c.

#define mmcr1_event5 (   event)    ((event << MMCR1_PMC5_SHIFT) & MMCR1_PMC5SEL)

Definition at line 49 of file op_model_7450.c.

#define mmcr1_event6 (   event)    ((event << MMCR1_PMC6_SHIFT) & MMCR1_PMC6SEL)

Definition at line 51 of file op_model_7450.c.

#define MMCR1_PMC3_SHIFT   27

Definition at line 35 of file op_model_7450.c.

#define MMCR1_PMC4_SHIFT   22

Definition at line 36 of file op_model_7450.c.

#define MMCR1_PMC5_SHIFT   17

Definition at line 37 of file op_model_7450.c.

#define MMCR1_PMC6_SHIFT   11

Definition at line 38 of file op_model_7450.c.

Variable Documentation

struct op_powerpc_model op_model_7450
Initial value:
= {
.reg_setup = fsl7450_reg_setup,
.cpu_setup = fsl7450_cpu_setup,
.start = fsl7450_start,
.stop = fsl7450_stop,
.handle_interrupt = fsl7450_handle_interrupt,
}

Definition at line 206 of file op_model_7450.c.