Lines Matching defs:tty_port
221 struct tty_port { struct
225 const struct tty_port_operations *ops; /* Port operations */ argument
226 spinlock_t lock; /* Lock protecting tty field */
227 int blocked_open; /* Waiting to open */
228 int count; /* Usage count */
229 wait_queue_head_t open_wait; /* Open waiters */
230 wait_queue_head_t close_wait; /* Close waiters */
231 wait_queue_head_t delta_msr_wait; /* Modem status change */
232 unsigned long flags; /* TTY flags ASY_*/
233 unsigned char console:1, /* port is a console */
234 low_latency:1; /* optional: tune for latency */
235 struct mutex mutex; /* Locking */
236 struct mutex buf_mutex; /* Buffer alloc lock */
237 unsigned char *xmit_buf; /* Optional buffer */
238 unsigned int close_delay; /* Close port delay */
239 unsigned int closing_wait; /* Delay for output */
240 int drain_delay; /* Set to zero if no pure time
243 struct kref kref; /* Ref counter */