Lines Matching defs:slgt_info
212 struct slgt_info { struct
216 struct slgt_info *next_device; /* device list link */ argument
228 struct slgt_info *port_array[SLGT_MAX_PORTS]; argument
230 int line; /* tty line instance number */
232 struct mgsl_icount icount;
234 int timeout;
235 int x_char; /* xon/xoff character */
236 unsigned int read_status_mask;
237 unsigned int ignore_status_mask;
239 wait_queue_head_t status_event_wait_q;
240 wait_queue_head_t event_wait_q;
241 struct timer_list tx_timer;
242 struct timer_list rx_timer;
244 unsigned int gpio_present;
245 struct cond_wait *gpio_wait_q;
247 spinlock_t lock; /* spinlock for synchronizing with ISR */
249 struct work_struct task;
250 u32 pending_bh;
251 bool bh_requested;
252 bool bh_running;
254 int isr_overflow;
255 bool irq_requested; /* true if IRQ requested */
256 bool irq_occurred; /* for diagnostics use */
260 unsigned int bus_type;
261 unsigned int irq_level;
262 unsigned long irq_flags;
264 unsigned char __iomem * reg_addr; /* memory mapped registers address */
265 u32 phys_reg_addr;
266 bool reg_addr_requested;
268 MGSL_PARAMS params; /* communications parameters */
269 u32 idle_mode;
270 u32 max_frame_size; /* as set by device config */
272 unsigned int rbuf_fill_level;
273 unsigned int rx_pio;
274 unsigned int if_mode;
275 unsigned int base_clock;
276 unsigned int xsync;
277 unsigned int xctrl;
281 bool rx_enabled;
282 bool rx_restart;
284 bool tx_enabled;
285 bool tx_active;
287 unsigned char signals; /* serial signal states */
288 int init_error; /* initialization error */
290 unsigned char *tx_buf;
291 int tx_count;
293 char *flag_buf;
294 bool drop_rts_on_tx_done;
295 struct _input_signal_events input_signal_events;
297 int dcd_chkcount; /* check counts to prevent */
298 int cts_chkcount; /* too many IRQs if a signal */
299 int dsr_chkcount; /* is floating */
300 int ri_chkcount;
302 char *bufs; /* virtual address of DMA buffer lists */
303 dma_addr_t bufs_dma_addr; /* physical address of buffer descriptors */
305 unsigned int rbuf_count;
306 struct slgt_desc *rbufs;
307 unsigned int rbuf_current;
308 unsigned int rbuf_index;
309 unsigned int rbuf_fill_index;
310 unsigned short rbuf_fill_count;
312 unsigned int tbuf_count;
313 struct slgt_desc *tbufs;
314 unsigned int tbuf_current;
315 unsigned int tbuf_start;
317 unsigned char *tmp_rbuf;
318 unsigned int tmp_rbuf_count;
322 int netcount;
323 spinlock_t netlock;
325 struct net_device *netdev;