Searched refs:SysPort (Results 1 - 8 of 8) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/rio/
H A Dmap.h56 unsigned long SysPort; /* First tty mapped to this port */ member in struct:Map
80 ** SysPort is a value in the range 0-504, being the number of the first tty
81 ** on this RTA. Each RTA supports 8 ports. The SysPort value must be modulo 8.
82 ** SysPort 0-127 correspond to /dev/ttyr001 to /dev/ttyr128, with minor
83 ** numbers 0-127. SysPort 128-255 correspond to /dev/ttyr129 to /dev/ttyr256,
H A Driotable.c154 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
454 int SysPort; local
733 unsigned int SysPort; local
[all...]
H A Driotty.c91 unsigned int SysPort; local
104 SysPort = rio_minor(tty);
112 rio_dprintk(RIO_DEBUG_TTY, "port open SysPort %d (mapped:%d)\n", SysPort, p->RIOPortp[SysPort]->Mapped);
120 if (SysPort >= RIO_PORTS) { /* out of range ? */
121 rio_dprintk(RIO_DEBUG_TTY, "Illegal port number %d\n", SysPort);
129 PortP = p->RIOPortp[SysPort]; /* Get control struc */
297 rio_dprintk(RIO_DEBUG_TTY, "open(%d) Modem carr on\n", SysPort);
310 rio_dprintk(RIO_DEBUG_TTY, "open(%d) sleeping for carr on\n", SysPort);
[all...]
H A Ddaemon.h90 unsigned int SysPort; member in struct:PortReq
95 unsigned int SysPort; member in struct:StreamInfo
111 unsigned int SysPort; member in struct:DebugCtrl
H A Drioboot.c558 ** point the UnixRup at the base SysPort
799 if ((sysport = HostP->Mapping[entry].SysPort) != NO_PORT) {
810 sysport = HostP->Mapping[entry2].SysPort;
982 HostP->Mapping[entry].SysPort = MapP->SysPort;
986 if (HostP->Mapping[entry].SysPort < p->RIOFirstPortsBooted)
987 p->RIOFirstPortsBooted = HostP->Mapping[entry].SysPort;
988 if (HostP->Mapping[entry].SysPort > p->RIOLastPortsBooted)
989 p->RIOLastPortsBooted = HostP->Mapping[entry].SysPort;
990 rio_dprintk(RIO_DEBUG_BOOT, "SysPort
[all...]
H A Drioroute.c374 if ((HostP->Mapping[ThisUnit].Flags & RTA_NEWBOOT) && (HostP->Mapping[ThisUnit].SysPort != NO_PORT)) {
381 PortP = p->RIOPortp[port + HostP->Mapping[ThisUnit].SysPort];
391 PortP = p->RIOPortp[port + HostP->Mapping[ThisUnit2].SysPort];
414 if (HostP->Mapping[ThisUnit].SysPort != NO_PORT) {
416 p->RIOPortp[port + HostP->Mapping[ThisUnit].SysPort]->Config &= ~RIO_NOMASK;
417 p->RIOPortp[port + HostP->Mapping[ThisUnit].SysPort]->Config |= p->RIOModuleTypes[Mod1].Flags[port];
418 p->RIOPortp[port + PORTS_PER_MODULE + HostP->Mapping[ThisUnit].SysPort]->Config &= ~RIO_NOMASK;
419 p->RIOPortp[port + PORTS_PER_MODULE + HostP->Mapping[ThisUnit].SysPort]->Config |= p->RIOModuleTypes[Mod2].Flags[port];
423 p->RIOPortp[port + HostP->Mapping[ThisUnit2].SysPort]->Config &= ~RIO_NOMASK;
424 p->RIOPortp[port + HostP->Mapping[ThisUnit2].SysPort]
[all...]
H A Drioctrl.c264 rio_dprintk(RIO_DEBUG_CTRL, "Map entry %d.SysPort = 0x%x\n", entry, (int) p->RIOConnectTable[entry].SysPort);
308 rio_dprint(RIO_DEBUG_CTRL, ("Map entry %d.SysPort = 0x%x\n", entry, p->RIOConnectTable[entry].SysPort ) );
759 if (DebugCtrl.SysPort == NO_PORT) {
773 rio_dprintk(RIO_DEBUG_CTRL, "RIO_SET/GET DEBUG: bad port number %d\n", DebugCtrl.SysPort);
778 } else if (DebugCtrl.SysPort >= RIO_PORTS && DebugCtrl.SysPort != NO_PORT) {
779 rio_dprintk(RIO_DEBUG_CTRL, "RIO_SET/GET DEBUG: bad port number %d\n", DebugCtrl.SysPort);
788 p->RIOPortp[DebugCtrl.SysPort]
[all...]
H A Driocmd.c375 unsigned short SysPort; local
393 SysPort = UnixRupP->BaseSysPort + (readb(&PktCmdP->PhbNum) % (unsigned short) PORTS_PER_RTA);
394 rio_dprintk(RIO_DEBUG_CMD, "Command on rup %d, port %d\n", rup, SysPort);
415 PortP = p->RIOPortp[SysPort];

Completed in 32 milliseconds