Lines Matching defs:PortP
303 int RIODelay(struct Port *PortP, int njiffies)
319 int RIODelay_ni(struct Port *PortP, int njiffies)
441 struct Port *PortP = ptr;
446 /* hn = PortP->HostP - p->RIOHosts;
451 RIOTxEnable((char *) PortP);
457 PortP->gs.port.flags &= ~GS_TX_INTEN;
480 struct Port *PortP = container_of(port, struct Port, gs.port);
484 rv = (PortP->ModemState & RIOC_MSVR1_CD) != 0;
507 struct Port *PortP;
511 PortP = (struct Port *) ptr;
512 PortP->gs.port.tty = NULL;
526 struct Port *PortP;
530 PortP = (struct Port *) ptr;
531 PortP->gs.port.tty = NULL;
543 struct Port *PortP;
547 PortP = (struct Port *) ptr;
551 if (PortP->gs.port.count) {
552 printk(KERN_ERR "WARNING port count:%d\n", PortP->gs.port.count);
553 PortP->gs.port.count = 0;
556 PortP->gs.port.tty = NULL;
576 extern int RIOShortCommand(struct rio_info *p, struct Port *PortP, int command, int len, int arg);
582 struct Port *PortP;
587 PortP = (struct Port *) tty->driver_data;
599 rc = gs_getserial(&PortP->gs, argp);
602 if (PortP->State & RIO_DELETED) {
606 if (RIOShortCommand(p, PortP, RIOC_SBREAK, 2, 250) ==
614 if (PortP->State & RIO_DELETED) {
622 if (RIOShortCommand(p, PortP, RIOC_SBREAK, 2,
632 rc = gs_setserial(&PortP->gs, argp);