Lines Matching refs:tty_port
40 struct tty_port tty_port; member
74 static int ipoctal_port_activate(struct tty_port *port, struct tty_struct *tty) in ipoctal_port_activate()
100 err = tty_port_open(&channel->tty_port, tty, file); in ipoctal_open()
129 tty_port_close(&channel->tty_port, tty, filp); in ipoctal_close()
152 struct tty_port *port = &channel->tty_port; in ipoctal_irq_rx()
204 value = channel->tty_port.xmit_buf[*pointer_write]; in ipoctal_irq_tx()
391 tty_port_init(&channel->tty_port); in ipoctal_inst_slot()
392 tty_port_alloc_xmit_buf(&channel->tty_port); in ipoctal_inst_slot()
393 channel->tty_port.ops = &ipoctal_tty_port_ops; in ipoctal_inst_slot()
400 tty_dev = tty_port_register_device(&channel->tty_port, tty, i, NULL); in ipoctal_inst_slot()
403 tty_port_destroy(&channel->tty_port); in ipoctal_inst_slot()
432 channel->tty_port.xmit_buf[*pointer_read] = buf[i]; in ipoctal_copy_write_buffer()
629 tty_port_hangup(&channel->tty_port); in ipoctal_hangup()
633 clear_bit(ASYNCB_INITIALIZED, &channel->tty_port.flags); in ipoctal_hangup()
634 wake_up_interruptible(&channel->tty_port.open_wait); in ipoctal_hangup()
645 clear_bit(ASYNCB_INITIALIZED, &channel->tty_port.flags); in ipoctal_shutdown()
702 tty_port_free_xmit_buf(&channel->tty_port); in __ipoctal_remove()
703 tty_port_destroy(&channel->tty_port); in __ipoctal_remove()