• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/rio/

Lines Matching defs:SysPort

154 			if (MapP->ID || MapP->SysPort || MapP->Flags) {
183 /* MapP->SysPort = 0; */
226 if ((MapP->SysPort != NO_PORT) && (MapP->SysPort % PORTS_PER_RTA)) {
227 rio_dprintk(RIO_DEBUG_TABLE, "TTY Port number %d-RTA %s is not a multiple of %d!\n", (int) MapP->SysPort, MapP->Name, PORTS_PER_RTA);
234 if ((MapP->SysPort != NO_PORT) && (MapP->SysPort >= RIO_PORTS)) {
235 rio_dprintk(RIO_DEBUG_TABLE, "TTY Port number %d for RTA %s is too big\n", (int) MapP->SysPort, MapP->Name);
246 if ((MapP->SysPort != NO_PORT) && (MapP->SysPort == p->RIOConnectTable[SubEnt].SysPort)) {
247 rio_dprintk(RIO_DEBUG_TABLE, "RTA %s:same TTY port # as RTA %s (%d)\n", MapP->Name, p->RIOConnectTable[SubEnt].Name, (int) MapP->SysPort);
271 if (MapP->SysPort != NO_PORT) {
425 MapP->SysPort = NO_PORT;
454 int SysPort;
493 SysPort = HostMapP->SysPort;
495 if (SysPort != NO_PORT) {
496 for (port = SysPort; port < SysPort + PORTS_PER_RTA; port++) {
528 u16 dest_port = port - SysPort;
586 rio_dprintk(RIO_DEBUG_TABLE, "Assign entry on host %x, rta %x, ID %d, Sysport %d\n", MapP->HostUniqueNum, MapP->RtaUniqueNum, MapP->ID, (int) MapP->SysPort);
598 if ((MapP->SysPort != NO_PORT) && (MapP->SysPort % PORTS_PER_RTA)) {
599 rio_dprintk(RIO_DEBUG_TABLE, "Port %d not multiple of %d!\n", (int) MapP->SysPort, PORTS_PER_RTA);
603 if ((MapP->SysPort != NO_PORT) && (MapP->SysPort >= RIO_PORTS)) {
604 rio_dprintk(RIO_DEBUG_TABLE, "Port %d not valid!\n", (int) MapP->SysPort);
692 HostMapP->SysPort = MapP->SysPort;
709 if (HostMapP->SysPort != NO_PORT) {
710 if (HostMapP->SysPort < p->RIOFirstPortsBooted)
711 p->RIOFirstPortsBooted = HostMapP->SysPort;
712 if (HostMapP->SysPort > p->RIOLastPortsBooted)
713 p->RIOLastPortsBooted = HostMapP->SysPort;
733 unsigned int SysPort;
737 rio_dprintk(RIO_DEBUG_TABLE, "Mapping sysport %d to id %d\n", (int) HostMapP->SysPort, HostMapP->ID);
742 HostP->UnixRups[HostMapP->ID - 1].BaseSysPort = HostMapP->SysPort;
744 if (HostMapP->SysPort == NO_PORT)
748 rio_dprintk(RIO_DEBUG_TABLE, "Mapping sysport %d-%d\n", (int) HostMapP->SysPort, (int) HostMapP->SysPort + PORTS_PER_RTA - 1);
754 rio_dprintk(RIO_DEBUG_TABLE, "subent = %d, HostMapP->SysPort = %d\n", SubEnt, (int) HostMapP->SysPort);
755 SysPort = HostMapP->SysPort + SubEnt; /* portnumber within system */
761 PortP = p->RIOPortp[SysPort];
877 if (HostMapP->SysPort < p->RIOFirstPortsMapped)
878 p->RIOFirstPortsMapped = HostMapP->SysPort;
879 if (HostMapP->SysPort > p->RIOLastPortsMapped)
880 p->RIOLastPortsMapped = HostMapP->SysPort;
891 rio_dprintk(RIO_DEBUG_TABLE, "Change name entry on host %x, rta %x, ID %d, Sysport %d\n", MapP->HostUniqueNum, MapP->RtaUniqueNum, MapP->ID, (int) MapP->SysPort);