Searched refs:MAX_RUP (Results 1 - 9 of 9) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/rio/
H A Dcmdblk.h52 #define NUM_RIO_CMD_BLKS (3 * (MAX_RUP * 4 + LINKS_PER_UNIT * 4))
H A Drup.h40 #define MAX_RUP ((short) 16) macro
H A Dhost.h86 struct Map Mapping[MAX_RUP]; /* Mappings for host */
99 struct UnixRup UnixRups[MAX_RUP + LINKS_PER_UNIT];
H A Drio.h44 #define RTAS_PER_HOST (MAX_RUP) /* number of RTAs per host */
58 #define MAX_RTA_BINDINGS (MAX_RUP * RIO_HOSTS)
H A Drioroute.c116 if (Rup >= (unsigned short) MAX_RUP) {
121 ThisLinkMin = ThisLinkMax = Rup - MAX_RUP;
142 if (readb(&PktCmdP->RouteTopology[ThisLink].Unit) > (unsigned short) MAX_RUP)
183 if (NewUnit > MAX_RUP && NewUnit != ROUTE_DISCONNECT && NewUnit != ROUTE_NO_ID && NewUnit != ROUTE_INTERCONNECT) {
194 if (OldUnit <= MAX_RUP) {
202 if ((NewUnit <= MAX_RUP) && !p->RIONoMessage)
226 } else if (OldUnit <= MAX_RUP) {
239 } else if (NewUnit <= MAX_RUP) {
313 for (ThisUnit = 0; ThisUnit < MAX_RUP; ThisUnit++) {
615 if (UnitId >= MAX_RUP) /* dontch
[all...]
H A Drioboot.c518 for (RupN = 0; RupN < MAX_RUP; RupN++) {
526 HostP->UnixRups[RupN + MAX_RUP].RupP = &HostP->LinkStrP[RupN].rup;
527 HostP->UnixRups[RupN + MAX_RUP].Id = 0;
528 HostP->UnixRups[RupN + MAX_RUP].BaseSysPort = NO_PORT;
529 spin_lock_init(&HostP->UnixRups[RupN + MAX_RUP].RupLock);
634 CmdBlkP->Packet.dest_unit = Rup < (unsigned short) MAX_RUP ? Rup : 0;
743 if (Rup >= (unsigned short) MAX_RUP)
763 if (Rup < (unsigned short) MAX_RUP) {
794 for (entry = 0; entry < MAX_RUP; entry++) {
827 if (Rup >= (unsigned short) MAX_RUP) {
[all...]
H A Driotable.c196 if (MapP->ID > MAX_RUP) {
288 for (Entry = 0; Entry < MAX_RUP; Entry++) {
354 for (Entry = 0; Entry < MAX_RUP; Entry++) {
429 for (Rup = 0; Rup < MAX_RUP; Rup++) {
473 for (entry = 0; entry < MAX_RUP; entry++) {
588 if ((MapP->ID != (u16) - 1) && ((int) MapP->ID < (int) 1 || (int) MapP->ID > MAX_RUP)) {
666 for (unit = 0; unit < MAX_RUP; unit++)
669 if (unit == MAX_RUP) {
893 if (MapP->ID > MAX_RUP) {
H A Driocmd.c166 if (MapP->Topology[Link].Unit <= (u8) MAX_RUP) {
207 if (MapP->Topology[Link].Unit <= (u8) MAX_RUP) {
402 if (Rup < (unsigned short) MAX_RUP) {
405 rio_dprintk(RIO_DEBUG_CMD, "CONTROL information: This is the RUP for link ``%c'' of host ``%s''\n", ('A' + Rup - MAX_RUP), HostP->Name);
579 if (Rup >= (unsigned short) (MAX_RUP + LINKS_PER_UNIT)) {
659 Rup = MAX_RUP + LINKS_PER_UNIT;
H A Drioctrl.c1020 if (RupReq.RupNum >= MAX_RUP + LINKS_PER_UNIT) { /* eek! */
1232 if (SubCmd.Rup >= MAX_RUP + LINKS_PER_UNIT) {
1299 if (SubCmd.Rup >= MAX_RUP + LINKS_PER_UNIT) {

Completed in 70 milliseconds