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

Go to the source code of this file.

Macros

#define dbg(args...)
 
#define OPROFILE_PM_PMCSEL_MSK   0xffULL
 
#define OPROFILE_PM_UNIT_SHIFT   60
 
#define OPROFILE_PM_UNIT_MSK   0xfULL
 
#define OPROFILE_MAX_PMC_NUM   3
 
#define OPROFILE_PMSEL_FIELD_WIDTH   8
 
#define OPROFILE_UNIT_FIELD_WIDTH   4
 
#define MMCRA_SIAR_VALID_MASK   0x10000000ULL
 

Functions

void ppc_enable_pmcs (void)
 

Variables

struct op_powerpc_model op_model_power4
 

Macro Definition Documentation

#define dbg (   args...)

Definition at line 23 of file op_model_power4.c.

#define MMCRA_SIAR_VALID_MASK   0x10000000ULL

Definition at line 30 of file op_model_power4.c.

#define OPROFILE_MAX_PMC_NUM   3

Definition at line 27 of file op_model_power4.c.

#define OPROFILE_PM_PMCSEL_MSK   0xffULL

Definition at line 24 of file op_model_power4.c.

#define OPROFILE_PM_UNIT_MSK   0xfULL

Definition at line 26 of file op_model_power4.c.

#define OPROFILE_PM_UNIT_SHIFT   60

Definition at line 25 of file op_model_power4.c.

#define OPROFILE_PMSEL_FIELD_WIDTH   8

Definition at line 28 of file op_model_power4.c.

#define OPROFILE_UNIT_FIELD_WIDTH   4

Definition at line 29 of file op_model_power4.c.

Function Documentation

void ppc_enable_pmcs ( void  )

Definition at line 95 of file sysfs.c.

Variable Documentation

struct op_powerpc_model op_model_power4
Initial value:
= {
.reg_setup = power4_reg_setup,
.cpu_setup = power4_cpu_setup,
.start = power4_start,
.stop = power4_stop,
.handle_interrupt = power4_handle_interrupt,
}

Definition at line 437 of file op_model_power4.c.