Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
flowctrl.h File Reference

Go to the source code of this file.

Macros

#define FLOW_CTRL_HALT_CPU0_EVENTS   0x0
 
#define FLOW_CTRL_WAITEVENT   (2 << 29)
 
#define FLOW_CTRL_WAIT_FOR_INTERRUPT   (4 << 29)
 
#define FLOW_CTRL_JTAG_RESUME   (1 << 28)
 
#define FLOW_CTRL_HALT_CPU_IRQ   (1 << 10)
 
#define FLOW_CTRL_HALT_CPU_FIQ   (1 << 8)
 
#define FLOW_CTRL_CPU0_CSR   0x8
 
#define FLOW_CTRL_CSR_INTR_FLAG   (1 << 15)
 
#define FLOW_CTRL_CSR_EVENT_FLAG   (1 << 14)
 
#define FLOW_CTRL_CSR_ENABLE   (1 << 0)
 
#define FLOW_CTRL_HALT_CPU1_EVENTS   0x14
 
#define FLOW_CTRL_CPU1_CSR   0x18
 

Functions

void flowctrl_write_cpu_csr (unsigned int cpuid, u32 value)
 
void flowctrl_write_cpu_halt (unsigned int cpuid, u32 value)
 

Macro Definition Documentation

#define FLOW_CTRL_CPU0_CSR   0x8

Definition at line 30 of file flowctrl.h.

#define FLOW_CTRL_CPU1_CSR   0x18

Definition at line 35 of file flowctrl.h.

#define FLOW_CTRL_CSR_ENABLE   (1 << 0)

Definition at line 33 of file flowctrl.h.

#define FLOW_CTRL_CSR_EVENT_FLAG   (1 << 14)

Definition at line 32 of file flowctrl.h.

#define FLOW_CTRL_CSR_INTR_FLAG   (1 << 15)

Definition at line 31 of file flowctrl.h.

#define FLOW_CTRL_HALT_CPU0_EVENTS   0x0

Definition at line 24 of file flowctrl.h.

#define FLOW_CTRL_HALT_CPU1_EVENTS   0x14

Definition at line 34 of file flowctrl.h.

#define FLOW_CTRL_HALT_CPU_FIQ   (1 << 8)

Definition at line 29 of file flowctrl.h.

#define FLOW_CTRL_HALT_CPU_IRQ   (1 << 10)

Definition at line 28 of file flowctrl.h.

#define FLOW_CTRL_JTAG_RESUME   (1 << 28)

Definition at line 27 of file flowctrl.h.

#define FLOW_CTRL_WAIT_FOR_INTERRUPT   (4 << 29)

Definition at line 26 of file flowctrl.h.

#define FLOW_CTRL_WAITEVENT   (2 << 29)

Definition at line 25 of file flowctrl.h.

Function Documentation

void flowctrl_write_cpu_csr ( unsigned int  cpuid,
u32  value 
)

Definition at line 54 of file flowctrl.c.

void flowctrl_write_cpu_halt ( unsigned int  cpuid,
u32  value 
)

Definition at line 59 of file flowctrl.c.