Lines Matching refs:tty_port
35 struct tty_port tty_port; member
70 static int ipoctal_port_activate(struct tty_port *port, struct tty_struct *tty) in ipoctal_port_activate()
112 return tty_port_open(&channel->tty_port, tty, file); in ipoctal_open()
137 tty_port_close(&channel->tty_port, tty, filp); in ipoctal_close()
160 struct tty_port *port = &channel->tty_port; in ipoctal_irq_rx()
212 value = channel->tty_port.xmit_buf[*pointer_write]; in ipoctal_irq_tx()
399 tty_port_init(&channel->tty_port); in ipoctal_inst_slot()
400 res = tty_port_alloc_xmit_buf(&channel->tty_port); in ipoctal_inst_slot()
403 channel->tty_port.ops = &ipoctal_tty_port_ops; in ipoctal_inst_slot()
410 tty_dev = tty_port_register_device_attr(&channel->tty_port, drv, in ipoctal_inst_slot()
414 tty_port_free_xmit_buf(&channel->tty_port); in ipoctal_inst_slot()
415 tty_port_destroy(&channel->tty_port); in ipoctal_inst_slot()
450 channel->tty_port.xmit_buf[*pointer_read] = buf[i]; in ipoctal_copy_write_buffer()
646 tty_port_hangup(&channel->tty_port); in ipoctal_hangup()
649 tty_port_set_initialized(&channel->tty_port, false); in ipoctal_hangup()
650 wake_up_interruptible(&channel->tty_port.open_wait); in ipoctal_hangup()
661 tty_port_set_initialized(&channel->tty_port, false); in ipoctal_shutdown()
723 tty_port_free_xmit_buf(&channel->tty_port); in __ipoctal_remove()
724 tty_port_destroy(&channel->tty_port); in __ipoctal_remove()