Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
op_model_rm9000.c File Reference
#include <linux/init.h>
#include <linux/oprofile.h>
#include <linux/interrupt.h>
#include <linux/smp.h>
#include "op_impl.h"

Go to the source code of this file.

Data Structures

struct  rm9k_register_config
 

Macros

#define RM9K_COUNTER1_EVENT(event)   ((event) << 0)
 
#define RM9K_COUNTER1_SUPERVISOR   (1ULL << 7)
 
#define RM9K_COUNTER1_KERNEL   (1ULL << 8)
 
#define RM9K_COUNTER1_USER   (1ULL << 9)
 
#define RM9K_COUNTER1_ENABLE   (1ULL << 10)
 
#define RM9K_COUNTER1_OVERFLOW   (1ULL << 15)
 
#define RM9K_COUNTER2_EVENT(event)   ((event) << 16)
 
#define RM9K_COUNTER2_SUPERVISOR   (1ULL << 23)
 
#define RM9K_COUNTER2_KERNEL   (1ULL << 24)
 
#define RM9K_COUNTER2_USER   (1ULL << 25)
 
#define RM9K_COUNTER2_ENABLE   (1ULL << 26)
 
#define RM9K_COUNTER2_OVERFLOW   (1ULL << 31)
 

Variables

unsigned int rm9000_perfcount_irq
 
struct op_mips_model op_model_rm9000_ops
 

Macro Definition Documentation

#define RM9K_COUNTER1_ENABLE   (1ULL << 10)

Definition at line 19 of file op_model_rm9000.c.

#define RM9K_COUNTER1_EVENT (   event)    ((event) << 0)

Definition at line 15 of file op_model_rm9000.c.

#define RM9K_COUNTER1_KERNEL   (1ULL << 8)

Definition at line 17 of file op_model_rm9000.c.

#define RM9K_COUNTER1_OVERFLOW   (1ULL << 15)

Definition at line 20 of file op_model_rm9000.c.

#define RM9K_COUNTER1_SUPERVISOR   (1ULL << 7)

Definition at line 16 of file op_model_rm9000.c.

#define RM9K_COUNTER1_USER   (1ULL << 9)

Definition at line 18 of file op_model_rm9000.c.

#define RM9K_COUNTER2_ENABLE   (1ULL << 26)

Definition at line 26 of file op_model_rm9000.c.

#define RM9K_COUNTER2_EVENT (   event)    ((event) << 16)

Definition at line 22 of file op_model_rm9000.c.

#define RM9K_COUNTER2_KERNEL   (1ULL << 24)

Definition at line 24 of file op_model_rm9000.c.

#define RM9K_COUNTER2_OVERFLOW   (1ULL << 31)

Definition at line 27 of file op_model_rm9000.c.

#define RM9K_COUNTER2_SUPERVISOR   (1ULL << 23)

Definition at line 23 of file op_model_rm9000.c.

#define RM9K_COUNTER2_USER   (1ULL << 25)

Definition at line 25 of file op_model_rm9000.c.

Variable Documentation

struct op_mips_model op_model_rm9000_ops
Initial value:
= {
.reg_setup = rm9000_reg_setup,
.cpu_setup = rm9000_cpu_setup,
.init = rm9000_init,
.exit = rm9000_exit,
.cpu_start = rm9000_cpu_start,
.cpu_stop = rm9000_cpu_stop,
.cpu_type = "mips/rm9000",
.num_counters = 2
}

Definition at line 129 of file op_model_rm9000.c.

unsigned int rm9000_perfcount_irq

Definition at line 88 of file irq-rm9000.c.