Lines Matching refs:PacketP
369 …ic int RIOCommandRup(struct rio_info *p, uint Rup, struct Host *HostP, struct PKT __iomem *PacketP) in RIOCommandRup() argument
371 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *)PacketP->data; in RIOCommandRup()
406 …CMD, "PACKET information: Destination 0x%x:0x%x\n", readb(&PacketP->dest_unit), readb(&PacketP->de… in RIOCommandRup()
407 …UG_CMD, "PACKET information: Source 0x%x:0x%x\n", readb(&PacketP->src_unit), readb(&PacketP->src… in RIOCommandRup()
408 …DEBUG_CMD, "PACKET information: Length 0x%x (%d)\n", readb(&PacketP->len), readb(&PacketP->len)); in RIOCommandRup()
409 …BUG_CMD, "PACKET information: Control 0x%x (%d)\n", readb(&PacketP->control), readb(&PacketP->con… in RIOCommandRup()
410 …EBUG_CMD, "PACKET information: Check 0x%x (%d)\n", readw(&PacketP->csum), readw(&PacketP->csum)… in RIOCommandRup()
653 struct PKT __iomem *PacketP; in RIOPollHostCommands() local
674 PacketP = (struct PKT __iomem *) RIO_PTR(HostP->Caddr, readw(&UnixRupP->RupP->rxpkt)); in RIOPollHostCommands()
676 switch (readb(&PacketP->dest_port)) { in RIOPollHostCommands()
678 …G_CMD, "Incoming Boot %s packet '%x'\n", readb(&PacketP->len) & 0x80 ? "Command" : "Data", readb(&… in RIOPollHostCommands()
680 FreeMe = RIOBootRup(p, Rup, HostP, PacketP); in RIOPollHostCommands()
691 FreeMe = RIOCommandRup(p, Rup, HostP, PacketP); in RIOPollHostCommands()
692 if (readb(&PacketP->data[5]) == RIOC_MEMDUMP) { in RIOPollHostCommands()
693 rio_dprintk(RIO_DEBUG_CMD, "Memdump from 0x%x complete\n", readw(&(PacketP->data[6]))); in RIOPollHostCommands()
694 rio_memcpy_fromio(p->RIOMemDump, &(PacketP->data[8]), 32); in RIOPollHostCommands()
701 FreeMe = RIORouteRup(p, Rup, HostP, PacketP); in RIOPollHostCommands()
706 rio_dprintk(RIO_DEBUG_CMD, "Unknown RUP %d\n", readb(&PacketP->dest_port)); in RIOPollHostCommands()
713 put_free_end(HostP, PacketP); in RIOPollHostCommands()
822 struct PKT __iomem *PacketP; in RIORFlushEnable() local
827 while (can_remove_receive(&PacketP, PortP)) { in RIORFlushEnable()
829 put_free_end(PortP->HostP, PacketP); in RIORFlushEnable()