Lines Matching refs:PortTty
99 struct PortTty {
104 static struct PortTty PortTty;
609 if (copy_from_user(&PortTty, argp, sizeof(struct PortTty))) {
613 if (PortTty.port >= RIO_PORTS) {
618 rio_dprintk(RIO_DEBUG_CTRL, "Port %d\n", PortTty.port);
619 PortP = (p->RIOPortp[PortTty.port]);
620 if (copy_to_user(argp, &PortTty, sizeof(struct PortTty))) {
627 if (copy_from_user(&PortTty, argp, sizeof(struct PortTty))) {
631 rio_dprintk(RIO_DEBUG_CTRL, "Set port %d tty\n", PortTty.port);
632 if (PortTty.port >= (ushort) RIO_PORTS) {
636 PortP = (p->RIOPortp[PortTty.port]);