Lines Matching defs:slgt_info

238 struct slgt_info {  struct
242 struct slgt_info *next_device; /* device list link */ argument
254 struct slgt_info *port_array[SLGT_MAX_PORTS]; argument
256 int line; /* tty line instance number */
258 struct mgsl_icount icount;
260 int timeout;
261 int x_char; /* xon/xoff character */
262 unsigned int read_status_mask;
263 unsigned int ignore_status_mask;
265 wait_queue_head_t status_event_wait_q;
266 wait_queue_head_t event_wait_q;
267 struct timer_list tx_timer;
268 struct timer_list rx_timer;
270 unsigned int gpio_present;
271 struct cond_wait *gpio_wait_q;
273 spinlock_t lock; /* spinlock for synchronizing with ISR */
275 struct work_struct task;
276 u32 pending_bh;
277 bool bh_requested;
278 bool bh_running;
280 int isr_overflow;
281 bool irq_requested; /* true if IRQ requested */
282 bool irq_occurred; /* for diagnostics use */
286 unsigned int bus_type;
287 unsigned int irq_level;
288 unsigned long irq_flags;
290 unsigned char __iomem * reg_addr; /* memory mapped registers address */
291 u32 phys_reg_addr;
292 bool reg_addr_requested;
294 MGSL_PARAMS params; /* communications parameters */
295 u32 idle_mode;
296 u32 max_frame_size; /* as set by device config */
298 unsigned int rbuf_fill_level;
299 unsigned int rx_pio;
300 unsigned int if_mode;
301 unsigned int base_clock;
302 unsigned int xsync;
303 unsigned int xctrl;
307 bool rx_enabled;
308 bool rx_restart;
310 bool tx_enabled;
311 bool tx_active;
313 unsigned char signals; /* serial signal states */
314 int init_error; /* initialization error */
316 unsigned char *tx_buf;
317 int tx_count;
319 char *flag_buf;
320 bool drop_rts_on_tx_done;
321 struct _input_signal_events input_signal_events;
323 int dcd_chkcount; /* check counts to prevent */
324 int cts_chkcount; /* too many IRQs if a signal */
325 int dsr_chkcount; /* is floating */
326 int ri_chkcount;
328 char *bufs; /* virtual address of DMA buffer lists */
329 dma_addr_t bufs_dma_addr; /* physical address of buffer descriptors */
331 unsigned int rbuf_count;
332 struct slgt_desc *rbufs;
333 unsigned int rbuf_current;
334 unsigned int rbuf_index;
335 unsigned int rbuf_fill_index;
336 unsigned short rbuf_fill_count;
338 unsigned int tbuf_count;
339 struct slgt_desc *tbufs;
340 unsigned int tbuf_current;
341 unsigned int tbuf_start;
343 unsigned char *tmp_rbuf;
344 unsigned int tmp_rbuf_count;
348 int netcount;
349 spinlock_t netlock;
351 struct net_device *netdev;