Lines Matching defs:slgt_info

240 struct slgt_info {  struct
244 struct slgt_info *next_device; /* device list link */ argument
256 struct slgt_info *port_array[SLGT_MAX_PORTS]; argument
258 int line; /* tty line instance number */
260 struct mgsl_icount icount;
262 int timeout;
263 int x_char; /* xon/xoff character */
264 unsigned int read_status_mask;
265 unsigned int ignore_status_mask;
267 wait_queue_head_t status_event_wait_q;
268 wait_queue_head_t event_wait_q;
269 struct timer_list tx_timer;
270 struct timer_list rx_timer;
272 unsigned int gpio_present;
273 struct cond_wait *gpio_wait_q;
275 spinlock_t lock; /* spinlock for synchronizing with ISR */
277 struct work_struct task;
278 u32 pending_bh;
279 bool bh_requested;
280 bool bh_running;
282 int isr_overflow;
283 bool irq_requested; /* true if IRQ requested */
284 bool irq_occurred; /* for diagnostics use */
288 unsigned int bus_type;
289 unsigned int irq_level;
290 unsigned long irq_flags;
292 unsigned char __iomem * reg_addr; /* memory mapped registers address */
293 u32 phys_reg_addr;
294 bool reg_addr_requested;
296 MGSL_PARAMS params; /* communications parameters */
297 u32 idle_mode;
298 u32 max_frame_size; /* as set by device config */
300 unsigned int rbuf_fill_level;
301 unsigned int rx_pio;
302 unsigned int if_mode;
303 unsigned int base_clock;
304 unsigned int xsync;
305 unsigned int xctrl;
309 bool rx_enabled;
310 bool rx_restart;
312 bool tx_enabled;
313 bool tx_active;
315 unsigned char signals; /* serial signal states */
316 int init_error; /* initialization error */
318 unsigned char *tx_buf;
319 int tx_count;
321 char flag_buf[MAX_ASYNC_BUFFER_SIZE];
322 char char_buf[MAX_ASYNC_BUFFER_SIZE];
323 bool drop_rts_on_tx_done;
324 struct _input_signal_events input_signal_events;
326 int dcd_chkcount; /* check counts to prevent */
327 int cts_chkcount; /* too many IRQs if a signal */
328 int dsr_chkcount; /* is floating */
329 int ri_chkcount;
331 char *bufs; /* virtual address of DMA buffer lists */
332 dma_addr_t bufs_dma_addr; /* physical address of buffer descriptors */
334 unsigned int rbuf_count;
335 struct slgt_desc *rbufs;
336 unsigned int rbuf_current;
337 unsigned int rbuf_index;
338 unsigned int rbuf_fill_index;
339 unsigned short rbuf_fill_count;
341 unsigned int tbuf_count;
342 struct slgt_desc *tbufs;
343 unsigned int tbuf_current;
344 unsigned int tbuf_start;
346 unsigned char *tmp_rbuf;
347 unsigned int tmp_rbuf_count;
351 int netcount;
352 spinlock_t netlock;
354 struct net_device *netdev;