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