Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
sync_port Struct Reference

Public Member Functions

struct etrax_dma_descr out_descr __attribute__ ((aligned(32)))
 
struct etrax_dma_descr
in_descr[NUM_IN_DESCR
__attribute__ ((aligned(32)))
 
unsigned char out_buffer[OUT_BUFFER_SIZE__attribute__ ((aligned(32)))
 
unsigned char in_buffer[IN_BUFFER_SIZE__attribute__ ((aligned(32)))
 
unsigned char flip[IN_BUFFER_SIZE__attribute__ ((aligned(32)))
 
unsigned char out_buffer[OUT_BUFFER_SIZE__attribute__ ((aligned(32)))
 
unsigned char in_buffer[IN_BUFFER_SIZE__attribute__ ((aligned(32)))
 
unsigned char flip[IN_BUFFER_SIZE__attribute__ ((aligned(32)))
 
dma_descr_data in_descr[NBR_IN_DESCR__attribute__ ((__aligned__(16)))
 
dma_descr_context in_context __attribute__ ((__aligned__(32)))
 
dma_descr_data out_descr[NBR_OUT_DESCR__attribute__ ((__aligned__(16)))
 
dma_descr_context out_context __attribute__ ((__aligned__(32)))
 

Data Fields

const volatile unsigned *const status
 
volatile unsigned *const ctrl_data
 
volatile unsigned *const output_dma_first
 
volatile unsigned char *const output_dma_cmd
 
volatile unsigned char *const output_dma_clr_irq
 
volatile unsigned *const input_dma_first
 
volatile unsigned char *const input_dma_cmd
 
volatile unsigned *const input_dma_descr
 
volatile unsigned char *const input_dma_clr_irq
 
volatile unsigned *const data_out
 
const volatile unsigned *const data_in
 
char data_avail_bit
 
char transmitter_ready_bit
 
char input_dma_descr_bit
 
char output_dma_bit
 
char started
 
char port_nbr
 
char busy
 
char enabled
 
char use_dma
 
char tr_running
 
char init_irqs
 
unsigned int ctrl_data_shadow
 
volatile unsigned int out_count
 
unsigned charoutp
 
volatile unsigned char *volatile readp
 
volatile unsigned char *volatile writep
 
unsigned int in_buffer_size
 
unsigned int inbufchunk
 
struct etrax_dma_descrnext_rx_desc
 
struct etrax_dma_descrprev_rx_desc
 
int full
 
wait_queue_head_t out_wait_q
 
wait_queue_head_t in_wait_q
 
reg_scope_instances regi_sser
 
reg_scope_instances regi_dmain
 
reg_scope_instances regi_dmaout
 
int output
 
int input
 
struct dma_descr_datanext_rx_desc
 
struct dma_descr_dataprev_rx_desc
 
struct dma_descr_dataactive_tr_descr
 
struct dma_descr_datacatch_tr_descr
 
struct dma_descr_dataprev_tr_descr
 
unsigned charout_rd_ptr
 
int out_buf_count
 
spinlock_t lock
 

Detailed Description

Definition at line 93 of file sync_serial.c.

Member Function Documentation

unsigned char out_buffer [OUT_BUFFER_SIZE] __attribute__ ( (aligned(32))  )
unsigned char in_buffer [IN_BUFFER_SIZE] __attribute__ ( (aligned(32))  )
unsigned char flip [IN_BUFFER_SIZE] __attribute__ ( (aligned(32))  )
dma_descr_data in_descr [NBR_IN_DESCR] __attribute__ ( (__aligned__(16))  )
struct etrax_dma_descr out_descr __attribute__ ( (aligned(32))  )
read
dma_descr_context in_context __attribute__ ( (__aligned__(32))  )
unsigned char out_buffer [OUT_BUFFER_SIZE] __attribute__ ( (aligned(32))  )
unsigned char in_buffer [IN_BUFFER_SIZE] __attribute__ ( (aligned(32))  )
dma_descr_data out_descr [NBR_OUT_DESCR] __attribute__ ( (__aligned__(16))  )
dma_descr_context out_context __attribute__ ( (__aligned__(32))  )
unsigned char flip [IN_BUFFER_SIZE] __attribute__ ( (aligned(32))  )

Field Documentation

struct dma_descr_data* active_tr_descr

Definition at line 121 of file sync_serial.c.

char busy

Definition at line 115 of file sync_serial.c.

struct dma_descr_data* catch_tr_descr

Definition at line 124 of file sync_serial.c.

volatile unsigned* const ctrl_data

Definition at line 96 of file sync_serial.c.

unsigned int ctrl_data_shadow

Definition at line 124 of file sync_serial.c.

char data_avail_bit

Definition at line 107 of file sync_serial.c.

const volatile unsigned* const data_in

Definition at line 106 of file sync_serial.c.

volatile unsigned* const data_out

Definition at line 105 of file sync_serial.c.

char enabled

Definition at line 117 of file sync_serial.c.

int full

Definition at line 144 of file sync_serial.c.

unsigned int in_buffer_size

Definition at line 135 of file sync_serial.c.

wait_queue_head_t in_wait_q

Definition at line 147 of file sync_serial.c.

unsigned int inbufchunk

Definition at line 136 of file sync_serial.c.

char init_irqs

Definition at line 121 of file sync_serial.c.

int input

Definition at line 103 of file sync_serial.c.

volatile unsigned char* const input_dma_clr_irq

Definition at line 104 of file sync_serial.c.

volatile unsigned char* const input_dma_cmd

Definition at line 101 of file sync_serial.c.

volatile unsigned* const input_dma_descr

Definition at line 102 of file sync_serial.c.

char input_dma_descr_bit

Definition at line 109 of file sync_serial.c.

volatile unsigned* const input_dma_first

Definition at line 100 of file sync_serial.c.

spinlock_t lock

Definition at line 145 of file sync_serial.c.

struct dma_descr_data* next_rx_desc

Definition at line 115 of file sync_serial.c.

struct etrax_dma_descr* next_rx_desc

Definition at line 142 of file sync_serial.c.

int out_buf_count

Definition at line 135 of file sync_serial.c.

volatile unsigned int out_count

Definition at line 126 of file sync_serial.c.

unsigned char* out_rd_ptr

Definition at line 132 of file sync_serial.c.

wait_queue_head_t out_wait_q

Definition at line 146 of file sync_serial.c.

unsigned char* outp

Definition at line 128 of file sync_serial.c.

int output

Definition at line 102 of file sync_serial.c.

char output_dma_bit

Definition at line 111 of file sync_serial.c.

volatile unsigned char* const output_dma_clr_irq

Definition at line 99 of file sync_serial.c.

volatile unsigned char* const output_dma_cmd

Definition at line 98 of file sync_serial.c.

volatile unsigned* const output_dma_first

Definition at line 97 of file sync_serial.c.

char port_nbr

Definition at line 114 of file sync_serial.c.

struct dma_descr_data* prev_rx_desc

Definition at line 116 of file sync_serial.c.

struct etrax_dma_descr* prev_rx_desc

Definition at line 143 of file sync_serial.c.

struct dma_descr_data* prev_tr_descr

Definition at line 127 of file sync_serial.c.

volatile unsigned char *volatile readp

Definition at line 131 of file sync_serial.c.

reg_scope_instances regi_dmain

Definition at line 90 of file sync_serial.c.

reg_scope_instances regi_dmaout

Definition at line 91 of file sync_serial.c.

Definition at line 89 of file sync_serial.c.

char started

Definition at line 113 of file sync_serial.c.

const volatile unsigned* const status

Definition at line 95 of file sync_serial.c.

char tr_running

Definition at line 119 of file sync_serial.c.

char transmitter_ready_bit

Definition at line 108 of file sync_serial.c.

char use_dma

Definition at line 118 of file sync_serial.c.

volatile unsigned char *volatile writep

Definition at line 133 of file sync_serial.c.


The documentation for this struct was generated from the following files: