Home
last modified time | relevance | path

Searched refs:PORTS_PER_MODULE (Results 1 – 3 of 3) sorted by relevance

/drivers/char/rio/
Drio.h46 #define PORTS_PER_MODULE 4 /* number of ports on a plug-in module */ macro
48 #define MODULES_PER_RTA (PORTS_PER_RTA/PORTS_PER_MODULE)
Drioroute.c416 for (port = 0; port < PORTS_PER_MODULE; port++) { in RIORouteRup()
419 p->RIOPortp[port + PORTS_PER_MODULE + HostP->Mapping[ThisUnit].SysPort]->Config &= ~RIO_NOMASK; in RIORouteRup()
420 …p->RIOPortp[port + PORTS_PER_MODULE + HostP->Mapping[ThisUnit].SysPort]->Config |= p->RIOModuleTyp… in RIORouteRup()
423 for (port = 0; port < PORTS_PER_MODULE; port++) { in RIORouteRup()
426 … p->RIOPortp[port + PORTS_PER_MODULE + HostP->Mapping[ThisUnit2].SysPort]->Config &= ~RIO_NOMASK; in RIORouteRup()
427 …p->RIOPortp[port + PORTS_PER_MODULE + HostP->Mapping[ThisUnit2].SysPort]->Config |= p->RIOModuleTy… in RIORouteRup()
Driotable.c826 … |= p->RIOModuleTypes[HostP->UnixRups[HostMapP->ID - 1].ModTypes].Flags[SubEnt % PORTS_PER_MODULE]; in RIOReMapPorts()
828 if (SubEnt < PORTS_PER_MODULE) in RIOReMapPorts()
829 …OModuleTypes[LONYBLE(HostP->UnixRups[HostMapP->ID - 1].ModTypes)].Flags[SubEnt % PORTS_PER_MODULE]; in RIOReMapPorts()
831 …OModuleTypes[HINYBLE(HostP->UnixRups[HostMapP->ID - 1].ModTypes)].Flags[SubEnt % PORTS_PER_MODULE]; in RIOReMapPorts()