Lines Matching defs:slgt_info
211 struct slgt_info { struct
215 struct slgt_info *next_device; /* device list link */ argument
225 struct slgt_info *port_array[SLGT_MAX_PORTS]; argument
227 int line; /* tty line instance number */
229 struct mgsl_icount icount;
231 int timeout;
232 int x_char; /* xon/xoff character */
233 unsigned int read_status_mask;
234 unsigned int ignore_status_mask;
236 wait_queue_head_t status_event_wait_q;
237 wait_queue_head_t event_wait_q;
238 struct timer_list tx_timer;
239 struct timer_list rx_timer;
241 unsigned int gpio_present;
242 struct cond_wait *gpio_wait_q;
244 spinlock_t lock; /* spinlock for synchronizing with ISR */
246 struct work_struct task;
247 u32 pending_bh;
248 bool bh_requested;
249 bool bh_running;
251 int isr_overflow;
252 bool irq_requested; /* true if IRQ requested */
253 bool irq_occurred; /* for diagnostics use */
257 unsigned int bus_type;
258 unsigned int irq_level;
259 unsigned long irq_flags;
261 unsigned char __iomem * reg_addr; /* memory mapped registers address */
262 u32 phys_reg_addr;
263 bool reg_addr_requested;
265 MGSL_PARAMS params; /* communications parameters */
266 u32 idle_mode;
267 u32 max_frame_size; /* as set by device config */
269 unsigned int rbuf_fill_level;
270 unsigned int rx_pio;
271 unsigned int if_mode;
272 unsigned int base_clock;
273 unsigned int xsync;
274 unsigned int xctrl;
278 bool rx_enabled;
279 bool rx_restart;
281 bool tx_enabled;
282 bool tx_active;
284 unsigned char signals; /* serial signal states */
285 int init_error; /* initialization error */
287 unsigned char *tx_buf;
288 int tx_count;
290 bool drop_rts_on_tx_done;
291 struct _input_signal_events input_signal_events;
293 int dcd_chkcount; /* check counts to prevent */
294 int cts_chkcount; /* too many IRQs if a signal */
295 int dsr_chkcount; /* is floating */
296 int ri_chkcount;
298 char *bufs; /* virtual address of DMA buffer lists */
299 dma_addr_t bufs_dma_addr; /* physical address of buffer descriptors */
301 unsigned int rbuf_count;
302 struct slgt_desc *rbufs;
303 unsigned int rbuf_current;
304 unsigned int rbuf_index;
305 unsigned int rbuf_fill_index;
306 unsigned short rbuf_fill_count;
308 unsigned int tbuf_count;
309 struct slgt_desc *tbufs;
310 unsigned int tbuf_current;
311 unsigned int tbuf_start;
313 unsigned char *tmp_rbuf;
314 unsigned int tmp_rbuf_count;
318 int netcount;
319 spinlock_t netlock;
321 struct net_device *netdev;