Lines Matching defs:z8530_channel
263 struct z8530_channel struct
265 struct z8530_irqhandler *irqs; /* IRQ handlers */
290 void (*rx_function)(struct z8530_channel *, struct sk_buff *); argument
296 u8 rxdma; /* DMA channels */
297 u8 txdma;
298 u8 rxdma_on; /* DMA active if flag set */
299 u8 txdma_on;
300 u8 dma_num; /* Buffer we are DMAing into */
301 u8 dma_ready; /* Is the other buffer free */
302 u8 dma_tx; /* TX is to use DMA */
303 u8 *rx_buf[2]; /* The flip buffers */
309 struct z8530_dev *dev; /* Z85230 chip instance we are from */
310 unsigned long ctrlio; /* I/O ports */
311 unsigned long dataio;
319 u32 rx_overrun; /* Overruns - not done yet */
320 u32 rx_crc_err;
326 void *private; /* For our owner */
327 struct net_device *netdevice; /* Network layer device */
333 struct tty_struct *tty; /* Attached terminal */
334 int line; /* Minor number */
335 wait_queue_head_t open_wait; /* Tasks waiting to open */
336 wait_queue_head_t close_wait; /* and for close to end */
337 unsigned long event; /* Pending events */
338 int fdcount; /* # of fd on device */
339 int blocked_open; /* # of blocked opens */
340 int x_char; /* XON/XOF char */
341 unsigned char *xmit_buf; /* Transmit pointer */
342 int xmit_head; /* Transmit ring */
343 int xmit_tail;
344 int xmit_cnt;
345 int flags;
346 int timeout;
347 int xmit_fifo_size; /* Transmit FIFO info */
349 int close_delay; /* Do we wait for drain on close ? */
350 unsigned short closing_wait;
378 struct z8530_channel chanA; /* SCC channel A */ argument