Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
commproc.c File Reference
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <asm/irq.h>
#include <asm/m68360.h>
#include <asm/commproc.h>

Go to the source code of this file.

Data Structures

struct  cpm_action
 

Macros

#define BRG_INT_CLK   system_clock
 
#define BRG_UART_CLK   (BRG_INT_CLK/16)
 

Functions

void cpm_install_handler (int vec, void(*handler)(), void *dev_id)
 
void m360_cpm_reset (void)
 
void cpm_interrupt_init (void)
 
void cpm_free_handler (int vec)
 
uint m360_cpm_dpalloc (uint size)
 
void m360_cpm_setbrg (uint brg, uint rate)
 

Variables

void_quicc_base
 
unsigned int system_clock
 
QUICCpquicc
 

Macro Definition Documentation

#define BRG_INT_CLK   system_clock

Definition at line 285 of file commproc.c.

#define BRG_UART_CLK   (BRG_INT_CLK/16)

Definition at line 286 of file commproc.c.

Function Documentation

void cpm_free_handler ( int  vec)

Definition at line 229 of file commproc.c.

void cpm_install_handler ( int  vec,
void(*)()  handler,
void dev_id 
)

Definition at line 210 of file commproc.c.

void cpm_interrupt_init ( void  )

Definition at line 124 of file commproc.c.

uint m360_cpm_dpalloc ( uint  size)

Definition at line 245 of file commproc.c.

void m360_cpm_reset ( void  )

Definition at line 80 of file commproc.c.

void m360_cpm_setbrg ( uint  brg,
uint  rate 
)

Definition at line 289 of file commproc.c.

Variable Documentation

void* _quicc_base
QUICC* pquicc

Definition at line 60 of file commproc.c.

unsigned long int system_clock

Definition at line 46 of file config.c.