Lines Matching refs:tty_port
37 struct tty_port tty_port; member
72 static int ipoctal_port_activate(struct tty_port *port, struct tty_struct *tty) in ipoctal_port_activate()
114 return tty_port_open(&channel->tty_port, tty, file); in ipoctal_open()
139 tty_port_close(&channel->tty_port, tty, filp); in ipoctal_close()
162 struct tty_port *port = &channel->tty_port; in ipoctal_irq_rx()
214 value = channel->tty_port.xmit_buf[*pointer_write]; in ipoctal_irq_tx()
402 tty_port_init(&channel->tty_port); in ipoctal_inst_slot()
403 res = tty_port_alloc_xmit_buf(&channel->tty_port); in ipoctal_inst_slot()
406 channel->tty_port.ops = &ipoctal_tty_port_ops; in ipoctal_inst_slot()
413 tty_dev = tty_port_register_device_attr(&channel->tty_port, tty, in ipoctal_inst_slot()
417 tty_port_free_xmit_buf(&channel->tty_port); in ipoctal_inst_slot()
418 tty_port_destroy(&channel->tty_port); in ipoctal_inst_slot()
454 channel->tty_port.xmit_buf[*pointer_read] = buf[i]; in ipoctal_copy_write_buffer()
651 tty_port_hangup(&channel->tty_port); in ipoctal_hangup()
654 tty_port_set_initialized(&channel->tty_port, 0); in ipoctal_hangup()
655 wake_up_interruptible(&channel->tty_port.open_wait); in ipoctal_hangup()
666 tty_port_set_initialized(&channel->tty_port, 0); in ipoctal_shutdown()
728 tty_port_free_xmit_buf(&channel->tty_port); in __ipoctal_remove()
729 tty_port_destroy(&channel->tty_port); in __ipoctal_remove()