Lines Matching defs:Rup
370 static int RIOCommandRup(struct rio_info *p, uint Rup, struct Host *HostP, struct PKT __iomem *PacketP)
389 ** block (for the first block, this should be equal to 'Rup').
400 rio_dprintk(RIO_DEBUG_CMD, "CONTROL information: Rup number 0x%x\n", rup);
402 if (Rup < (unsigned short) MAX_RUP) {
403 rio_dprintk(RIO_DEBUG_CMD, "CONTROL information: This is the RUP for RTA ``%s''\n", HostP->Mapping[Rup].Name);
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);
573 int RIOQueueCmdBlk(struct Host *HostP, uint Rup, struct CmdBlk *CmdBlkP)
579 if (Rup >= (unsigned short) (MAX_RUP + LINKS_PER_UNIT)) {
580 rio_dprintk(RIO_DEBUG_CMD, "Illegal rup number %d in RIOQueueCmdBlk\n", Rup);
585 UnixRupP = &HostP->UnixRups[Rup];
619 rio_dprintk(RIO_DEBUG_CMD, "Rup active - command waiting\n");
621 rio_dprintk(RIO_DEBUG_CMD, "Rup active - command pending\n");
623 rio_dprintk(RIO_DEBUG_CMD, "Rup active - command rup not ready\n");
655 unsigned short Rup;
659 Rup = MAX_RUP + LINKS_PER_UNIT;
665 UnixRupP = &HostP->UnixRups[--Rup];
681 FreeMe = RIOBootRup(p, Rup, HostP, PacketP);
692 FreeMe = RIOCommandRup(p, Rup, HostP, PacketP);
702 FreeMe = RIORouteRup(p, Rup, HostP, PacketP);
719 rio_dprintk(RIO_DEBUG_CMD, "Handshake rup %d\n", Rup);
744 ** Clear the Rup lock to prevent mutual exclusion.
805 } while (Rup);
917 ** blocks together either on the free list or on the Rup list.
934 ** queue by calling RIOQueueCmdBlk( HostP, Rup, CmdBlkP ) where HostP is
935 ** a pointer to the struct Host, Rup is the NUMBER of the rup (NOT a pointer