Searched refs:PORTS_PER_RTA (Results 1 - 7 of 7) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/rio/
H A Drio.h45 #define PORTS_PER_RTA (PORTS_PER_HOST/RTAS_PER_HOST) /* ports on a rta */ macro
48 #define MODULES_PER_RTA (PORTS_PER_RTA/PORTS_PER_MODULE)
H A Driointr.c208 for (port = p->RIOFirstPortsBooted; port < p->RIOLastPortsBooted + PORTS_PER_RTA; port++) {
287 for (port = p->RIOFirstPortsBooted; port < p->RIOLastPortsBooted + PORTS_PER_RTA; port++) {
428 p = PortP->HostPort % (u16) PORTS_PER_RTA;
435 p += PORTS_PER_RTA;
H A Driotable.c226 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);
496 for (port = SysPort; port < SysPort + PORTS_PER_RTA; port++) {
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);
748 rio_dprintk(RIO_DEBUG_TABLE, "Mapping sysport %d-%d\n", (int) HostMapP->SysPort, (int) HostMapP->SysPort + PORTS_PER_RTA - 1);
753 for (SubEnt = 0; SubEnt < PORTS_PER_RTA; SubEnt++) {
758 HostPort = (HostMapP->ID - 1) * PORTS_PER_RTA + SubEnt;
H A Drioroute.c380 for (port = 0; port < PORTS_PER_RTA; port++) {
390 for (port = 0; port < PORTS_PER_RTA; port++) {
513 for (port = 0; port < PORTS_PER_RTA; port++, PortN++) {
H A Drioboot.c535 for (PortN = p->RIOFirstPortsMapped; PortN < p->RIOLastPortsMapped + PORTS_PER_RTA; PortN++) {
560 if (!(PortN % PORTS_PER_RTA))
H A Driocmd.c391 rup = readb(&PktCmdP->PhbNum) / (unsigned short) PORTS_PER_RTA;
393 SysPort = UnixRupP->BaseSysPort + (readb(&PktCmdP->PhbNum) % (unsigned short) PORTS_PER_RTA);
H A Drioctrl.c1427 port = PortP->HostPort % (ushort) PORTS_PER_RTA;
1432 port += (ushort) PORTS_PER_RTA;

Completed in 106 milliseconds