Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
svinto.h File Reference
#include <arch/sv_addr_ag.h>

Go to the source code of this file.

Data Structures

struct  etrax_dma_descr
 

Macros

#define RESET_DMA_NUM(n)   *R_DMA_CH##n##_CMD = IO_STATE( R_DMA_CH0_CMD, cmd, reset )
 
#define RESET_DMA(n)   RESET_DMA_NUM( n )
 
#define WAIT_DMA_NUM(n)
 
#define WAIT_DMA(n)   WAIT_DMA_NUM( n )
 

Typedefs

typedef struct etrax_dma_descr etrax_dma_descr
 

Enumerations

enum  {
  d_eol = (1 << 0), d_eop = (1 << 1), d_wait = (1 << 2), d_int = (1 << 3),
  d_txerr = (1 << 4), d_stop = (1 << 4), d_ecp = (1 << 4), d_pri = (1 << 5),
  d_alignerr = (1 << 6), d_crcerr = (1 << 7)
}
 

Functions

void prepare_rx_descriptor (struct etrax_dma_descr *desc)
 
void flush_etrax_cache (void)
 

Variables

unsigned int genconfig_shadow
 

Macro Definition Documentation

#define RESET_DMA (   n)    RESET_DMA_NUM( n )

Definition at line 48 of file svinto.h.

#define RESET_DMA_NUM (   n)    *R_DMA_CH##n##_CMD = IO_STATE( R_DMA_CH0_CMD, cmd, reset )

Definition at line 42 of file svinto.h.

#define WAIT_DMA (   n)    WAIT_DMA_NUM( n )

Definition at line 59 of file svinto.h.

#define WAIT_DMA_NUM (   n)
Value:
while( (*R_DMA_CH##n##_CMD & IO_MASK( R_DMA_CH0_CMD, cmd )) != \
IO_STATE( R_DMA_CH0_CMD, cmd, hold ) )

Definition at line 52 of file svinto.h.

Typedef Documentation

Enumeration Type Documentation

anonymous enum
Enumerator:
d_eol 
d_eop 
d_wait 
d_int 
d_txerr 
d_stop 
d_ecp 
d_pri 
d_alignerr 
d_crcerr 

Definition at line 10 of file svinto.h.

Function Documentation

void flush_etrax_cache ( void  )

Definition at line 260 of file init.c.

void prepare_rx_descriptor ( struct etrax_dma_descr desc)

Definition at line 252 of file init.c.

Variable Documentation

unsigned int genconfig_shadow

Definition at line 7 of file shadows.c.