Home
last modified time | relevance | path

Searched refs:MAX_RUP (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/drivers/char/rio/
Drioroute.c134 if ( Rup >= (ushort)MAX_RUP ) in RIORouteRup()
140 ThisLinkMin = ThisLinkMax = Rup - MAX_RUP; in RIORouteRup()
164 if ( RBYTE(PktCmdP->RouteTopology[ThisLink].Unit) > (ushort)MAX_RUP ) in RIORouteRup()
217 if ( NewUnit > MAX_RUP && in RIORouteRup()
238 if ( OldUnit <= MAX_RUP ) in RIORouteRup()
247 if ( ( NewUnit <= MAX_RUP ) && !p->RIONoMessage ) in RIORouteRup()
280 else if ( OldUnit <= MAX_RUP ) in RIORouteRup()
304 else if ( NewUnit <= MAX_RUP ) in RIORouteRup()
398 for ( ThisUnit=0; ThisUnit<MAX_RUP; ThisUnit++ ) in RIORouteRup()
766 if ( UnitId > MAX_RUP ) /* dontcha just lurv unsigned maths! */
[all …]
Drup.h47 #define MAX_RUP ((short) 16) macro
50 #define MAX_RUP ((short) 1) macro
Drioboot.c581 for ( RupN = 0; RupN<MAX_RUP; RupN++ ) {
589 HostP->UnixRups[RupN+MAX_RUP].RupP = &HostP->LinkStrP[RupN].rup;
590 HostP->UnixRups[RupN+MAX_RUP].Id = 0;
591 HostP->UnixRups[RupN+MAX_RUP].BaseSysPort = NO_PORT;
592 HostP->UnixRups[RupN+MAX_RUP].RupLock = SPIN_LOCK_UNLOCKED;
707 CmdBlkP->Packet.dest_unit = Rup < (ushort)MAX_RUP ? Rup : 0;
834 if ( Rup >= (ushort)MAX_RUP ) { in RIOBootComplete()
859 if (Rup < (ushort) MAX_RUP) in RIOBootComplete()
897 for ( entry=0; entry<MAX_RUP; entry++ ) in RIOBootComplete()
943 if ( Rup >= (ushort)MAX_RUP ) in RIOBootComplete()
[all …]
Dhost.h97 struct Map Mapping[MAX_RUP]; /* Mappings for host */
110 struct UnixRup UnixRups[MAX_RUP+LINKS_PER_UNIT];
Drio.h76 #define RTAS_PER_HOST (MAX_RUP) /* number of RTAs per host */
90 #define MAX_RTA_BINDINGS (MAX_RUP * RIO_HOSTS)
Driotable.c212 if ( MapP->ID > MAX_RUP ) {
319 for ( Entry=0; Entry<MAX_RUP; Entry++ ) {
388 for ( Entry=0; Entry<MAX_RUP; Entry++ ) {
471 for ( Rup=0; Rup<MAX_RUP; Rup++ ) {
519 for ( entry=0; entry<MAX_RUP; entry++ ) {
648 ((int)MapP->ID < (int)1 || (int)MapP->ID > MAX_RUP )) in RIOAssignRta()
740 for (unit = 0; unit < MAX_RUP; unit++) in RIOAssignRta()
744 if (unit == MAX_RUP) in RIOAssignRta()
1017 if ( MapP->ID > MAX_RUP ) {
Dcmdblk.h59 #define NUM_RIO_CMD_BLKS (3 * (MAX_RUP * 4 + LINKS_PER_UNIT * 4))
Driocmd.c185 if ( MapP->Topology[Link].Unit <= (uchar)MAX_RUP ) {
229 if ( MapP->Topology[Link].Unit <= (uchar)MAX_RUP ) {
451 if ( Rup >= (ushort)MAX_RUP ) {
456 ('A' + Rup - MAX_RUP), HostP->Name);
664 if ( Rup >= (ushort)(MAX_RUP+LINKS_PER_UNIT) ) {
753 Rup = MAX_RUP+LINKS_PER_UNIT;
Driowinif.h214 #define MAX_RUP 16 macro
Drioctrl.c1396 if ( RupReq.RupNum >= MAX_RUP+LINKS_PER_UNIT ) { /* eek! */
1623 if (SubCmd.Rup >= MAX_RUP+LINKS_PER_UNIT ) {
1697 if (SubCmd.Rup >= MAX_RUP+LINKS_PER_UNIT ) {
Drioinit.c1441 for (rup=0; rup<(MAX_RUP + LINKS_PER_UNIT); rup++) {
1442 if (rup < MAX_RUP) {