Lines Matching refs:tty_port
37 struct tty_port tty_port; member
71 static int ipoctal_port_activate(struct tty_port *port, struct tty_struct *tty) in ipoctal_port_activate()
97 err = tty_port_open(&channel->tty_port, tty, file); in ipoctal_open()
126 tty_port_close(&channel->tty_port, tty, filp); in ipoctal_close()
149 struct tty_port *port = &channel->tty_port; in ipoctal_irq_rx()
201 value = channel->tty_port.xmit_buf[*pointer_write]; in ipoctal_irq_tx()
388 tty_port_init(&channel->tty_port); in ipoctal_inst_slot()
389 tty_port_alloc_xmit_buf(&channel->tty_port); in ipoctal_inst_slot()
390 channel->tty_port.ops = &ipoctal_tty_port_ops; in ipoctal_inst_slot()
397 tty_dev = tty_port_register_device(&channel->tty_port, tty, i, NULL); in ipoctal_inst_slot()
400 tty_port_destroy(&channel->tty_port); in ipoctal_inst_slot()
429 channel->tty_port.xmit_buf[*pointer_read] = buf[i]; in ipoctal_copy_write_buffer()
626 tty_port_hangup(&channel->tty_port); in ipoctal_hangup()
629 tty_port_set_initialized(&channel->tty_port, 0); in ipoctal_hangup()
630 wake_up_interruptible(&channel->tty_port.open_wait); in ipoctal_hangup()
641 tty_port_set_initialized(&channel->tty_port, 0); in ipoctal_shutdown()
698 tty_port_free_xmit_buf(&channel->tty_port); in __ipoctal_remove()
699 tty_port_destroy(&channel->tty_port); in __ipoctal_remove()