Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
mgsl_struct Struct Reference

Data Fields

int magic
 
struct tty_port port
 
int line
 
int hw_version
 
struct mgsl_icount icount
 
int timeout
 
int x_char
 
u16 read_status_mask
 
u16 ignore_status_mask
 
unsigned charxmit_buf
 
int xmit_head
 
int xmit_tail
 
int xmit_cnt
 
wait_queue_head_t status_event_wait_q
 
wait_queue_head_t event_wait_q
 
struct timer_list tx_timer
 
struct mgsl_structnext_device
 
spinlock_t irq_spinlock
 
struct work_struct task
 
u32 EventMask
 
u32 RecordedEvents
 
u32 max_frame_size
 
u32 pending_bh
 
bool bh_running
 
int isr_overflow
 
bool bh_requested
 
int dcd_chkcount
 
int cts_chkcount
 
int dsr_chkcount
 
int ri_chkcount
 
charbuffer_list
 
u32 buffer_list_phys
 
dma_addr_t buffer_list_dma_addr
 
unsigned int rx_buffer_count
 
DMABUFFERENTRYrx_buffer_list
 
unsigned int current_rx_buffer
 
int num_tx_dma_buffers
 
int tx_dma_buffers_used
 
unsigned int tx_buffer_count
 
DMABUFFERENTRYtx_buffer_list
 
int start_tx_dma_buffer
 
int current_tx_buffer
 
unsigned charintermediate_rxbuffer
 
int num_tx_holding_buffers
 
int get_tx_holding_index
 
int put_tx_holding_index
 
int tx_holding_count
 
struct tx_holding_buffer tx_holding_buffers [MAX_TX_HOLDING_BUFFERS]
 
bool rx_enabled
 
bool rx_overflow
 
bool rx_rcc_underrun
 
bool tx_enabled
 
bool tx_active
 
u32 idle_mode
 
u16 cmr_value
 
u16 tcsr_value
 
char device_name [25]
 
unsigned int bus_type
 
unsigned char bus
 
unsigned char function
 
unsigned int io_base
 
unsigned int io_addr_size
 
bool io_addr_requested
 
unsigned int irq_level
 
unsigned long irq_flags
 
bool irq_requested
 
unsigned int dma_level
 
bool dma_requested
 
u16 mbre_bit
 
u16 loopback_bits
 
u16 usc_idle_mode
 
MGSL_PARAMS params
 
unsigned char serial_signals
 
bool irq_occurred
 
unsigned int init_error
 
int fDiagnosticsmode
 
u32 last_mem_alloc
 
unsigned charmemory_base
 
u32 phys_memory_base
 
bool shared_mem_requested
 
unsigned charlcr_base
 
u32 phys_lcr_base
 
u32 lcr_offset
 
bool lcr_mem_requested
 
u32 misc_ctrl_value
 
char flag_buf [MAX_ASYNC_BUFFER_SIZE]
 
char char_buf [MAX_ASYNC_BUFFER_SIZE]
 
bool drop_rts_on_tx_done
 
bool loopmode_insert_requested
 
bool loopmode_send_done_requested
 
struct _input_signal_events input_signal_events
 
int netcount
 
spinlock_t netlock
 

Detailed Description

Definition at line 179 of file synclink.c.

Field Documentation

bool bh_requested

Definition at line 213 of file synclink.c.

bool bh_running

Definition at line 211 of file synclink.c.

char* buffer_list

Definition at line 220 of file synclink.c.

dma_addr_t buffer_list_dma_addr

Definition at line 222 of file synclink.c.

u32 buffer_list_phys

Definition at line 221 of file synclink.c.

unsigned char bus

Definition at line 257 of file synclink.c.

unsigned int bus_type

Definition at line 256 of file synclink.c.

Definition at line 295 of file synclink.c.

u16 cmr_value

Definition at line 251 of file synclink.c.

int cts_chkcount

Definition at line 216 of file synclink.c.

unsigned int current_rx_buffer

Definition at line 226 of file synclink.c.

int current_tx_buffer

Definition at line 233 of file synclink.c.

int dcd_chkcount

Definition at line 215 of file synclink.c.

char device_name[25]

Definition at line 254 of file synclink.c.

unsigned int dma_level

Definition at line 268 of file synclink.c.

bool dma_requested

Definition at line 269 of file synclink.c.

bool drop_rts_on_tx_done

Definition at line 296 of file synclink.c.

int dsr_chkcount

Definition at line 217 of file synclink.c.

wait_queue_head_t event_wait_q

Definition at line 197 of file synclink.c.

u32 EventMask

Definition at line 204 of file synclink.c.

int fDiagnosticsmode

Definition at line 281 of file synclink.c.

Definition at line 294 of file synclink.c.

unsigned char function

Definition at line 258 of file synclink.c.

int get_tx_holding_index

Definition at line 238 of file synclink.c.

int hw_version

Definition at line 183 of file synclink.c.

Definition at line 185 of file synclink.c.

u32 idle_mode

Definition at line 249 of file synclink.c.

u16 ignore_status_mask

Definition at line 190 of file synclink.c.

unsigned int init_error

Definition at line 280 of file synclink.c.

struct _input_signal_events input_signal_events

Definition at line 301 of file synclink.c.

unsigned char* intermediate_rxbuffer

Definition at line 235 of file synclink.c.

bool io_addr_requested

Definition at line 262 of file synclink.c.

unsigned int io_addr_size

Definition at line 261 of file synclink.c.

unsigned int io_base

Definition at line 260 of file synclink.c.

unsigned long irq_flags

Definition at line 265 of file synclink.c.

unsigned int irq_level

Definition at line 264 of file synclink.c.

bool irq_occurred

Definition at line 279 of file synclink.c.

bool irq_requested

Definition at line 266 of file synclink.c.

spinlock_t irq_spinlock

Definition at line 201 of file synclink.c.

int isr_overflow

Definition at line 212 of file synclink.c.

u32 last_mem_alloc

Definition at line 283 of file synclink.c.

unsigned char* lcr_base

Definition at line 288 of file synclink.c.

bool lcr_mem_requested

Definition at line 291 of file synclink.c.

u32 lcr_offset

Definition at line 290 of file synclink.c.

Definition at line 182 of file synclink.c.

u16 loopback_bits

Definition at line 272 of file synclink.c.

bool loopmode_insert_requested

Definition at line 298 of file synclink.c.

bool loopmode_send_done_requested

Definition at line 299 of file synclink.c.

int magic

Definition at line 180 of file synclink.c.

u32 max_frame_size

Definition at line 207 of file synclink.c.

u16 mbre_bit

Definition at line 271 of file synclink.c.

unsigned char* memory_base

Definition at line 284 of file synclink.c.

u32 misc_ctrl_value

Definition at line 293 of file synclink.c.

int netcount

Definition at line 304 of file synclink.c.

spinlock_t netlock

Definition at line 305 of file synclink.c.

struct mgsl_struct* next_device

Definition at line 199 of file synclink.c.

int num_tx_dma_buffers

Definition at line 228 of file synclink.c.

int num_tx_holding_buffers

Definition at line 237 of file synclink.c.

Definition at line 275 of file synclink.c.

u32 pending_bh

Definition at line 209 of file synclink.c.

u32 phys_lcr_base

Definition at line 289 of file synclink.c.

u32 phys_memory_base

Definition at line 285 of file synclink.c.

Definition at line 181 of file synclink.c.

int put_tx_holding_index

Definition at line 239 of file synclink.c.

u16 read_status_mask

Definition at line 189 of file synclink.c.

u32 RecordedEvents

Definition at line 205 of file synclink.c.

int ri_chkcount

Definition at line 218 of file synclink.c.

unsigned int rx_buffer_count

Definition at line 224 of file synclink.c.

DMABUFFERENTRY* rx_buffer_list

Definition at line 225 of file synclink.c.

bool rx_enabled

Definition at line 243 of file synclink.c.

bool rx_overflow

Definition at line 244 of file synclink.c.

bool rx_rcc_underrun

Definition at line 245 of file synclink.c.

unsigned char serial_signals

Definition at line 277 of file synclink.c.

bool shared_mem_requested

Definition at line 286 of file synclink.c.

int start_tx_dma_buffer

Definition at line 232 of file synclink.c.

wait_queue_head_t status_event_wait_q

Definition at line 196 of file synclink.c.

Definition at line 202 of file synclink.c.

u16 tcsr_value

Definition at line 252 of file synclink.c.

int timeout

Definition at line 187 of file synclink.c.

bool tx_active

Definition at line 248 of file synclink.c.

unsigned int tx_buffer_count

Definition at line 230 of file synclink.c.

DMABUFFERENTRY* tx_buffer_list

Definition at line 231 of file synclink.c.

int tx_dma_buffers_used

Definition at line 229 of file synclink.c.

bool tx_enabled

Definition at line 247 of file synclink.c.

Definition at line 241 of file synclink.c.

int tx_holding_count

Definition at line 240 of file synclink.c.

struct timer_list tx_timer

Definition at line 198 of file synclink.c.

u16 usc_idle_mode

Definition at line 273 of file synclink.c.

int x_char

Definition at line 188 of file synclink.c.

unsigned char* xmit_buf

Definition at line 191 of file synclink.c.

int xmit_cnt

Definition at line 194 of file synclink.c.

int xmit_head

Definition at line 192 of file synclink.c.

int xmit_tail

Definition at line 193 of file synclink.c.


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