Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
smp-shx3.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/cpumask.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/cpu.h>
#include <asm/sections.h>

Go to the source code of this file.

Macros

#define STBCR_REG(phys_id)   (0xfe400004 | (phys_id << 12))
 
#define RESET_REG(phys_id)   (0xfe400008 | (phys_id << 12))
 
#define STBCR_MSTP   0x00000001
 
#define STBCR_RESET   0x00000002
 
#define STBCR_SLEEP   0x00000004
 
#define STBCR_LTSLP   0x80000000
 

Functions

 late_initcall (register_shx3_cpu_notifier)
 

Variables

struct plat_smp_ops shx3_smp_ops
 

Macro Definition Documentation

#define RESET_REG (   phys_id)    (0xfe400008 | (phys_id << 12))

Definition at line 23 of file smp-shx3.c.

#define STBCR_LTSLP   0x80000000

Definition at line 28 of file smp-shx3.c.

#define STBCR_MSTP   0x00000001

Definition at line 25 of file smp-shx3.c.

#define STBCR_REG (   phys_id)    (0xfe400004 | (phys_id << 12))

Definition at line 22 of file smp-shx3.c.

#define STBCR_RESET   0x00000002

Definition at line 26 of file smp-shx3.c.

#define STBCR_SLEEP   0x00000004

Definition at line 27 of file smp-shx3.c.

Function Documentation

late_initcall ( register_shx3_cpu_notifier  )

Variable Documentation

struct plat_smp_ops shx3_smp_ops
Initial value:
= {
.smp_setup = shx3_smp_setup,
.prepare_cpus = shx3_prepare_cpus,
.start_cpu = shx3_start_cpu,
.smp_processor_id = shx3_smp_processor_id,
.send_ipi = shx3_send_ipi,
.cpu_die = native_cpu_die,
.cpu_disable = native_cpu_disable,
.play_dead = native_play_dead,
}

Definition at line 157 of file smp-shx3.c.