Home
last modified time | relevance | path

Searched refs:PktCmdP (Results 1 – 5 of 5) sorted by relevance

/drivers/char/rio/
Drioroute.c87 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *) PacketP->data; in RIORouteRup() local
107 if (readb(&PktCmdP->Command) == ROUTE_TOPOLOGY) { in RIORouteRup()
143 if (readb(&PktCmdP->RouteTopology[ThisLink].Unit) > (unsigned short) MAX_RUP) in RIORouteRup()
147PktCmdP->RouteTopology[ThisLink].Unit) == readb(&PktCmdP->RouteTopology[NewLink].Unit)) && (readb(… in RIORouteRup()
156 readb(&PktCmdP->RouteTopology[0].Unit), in RIORouteRup()
157 'A' + readb(&PktCmdP->RouteTopology[0].Link), in RIORouteRup()
158 readb(&PktCmdP->RouteTopology[1].Unit), in RIORouteRup()
159PktCmdP->RouteTopology[1].Link), readb(&PktCmdP->RouteTopology[2].Unit), 'A' + readb(&PktCmdP->Rou… in RIORouteRup()
176 NewUnit = readb(&PktCmdP->RouteTopology[ThisLink].Unit); in RIORouteRup()
177 NewLink = readb(&PktCmdP->RouteTopology[ThisLink].Link); in RIORouteRup()
[all …]
Driocmd.c371 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *)PacketP->data; in RIOCommandRup() local
390 rup = readb(&PktCmdP->PhbNum) / (unsigned short) PORTS_PER_RTA; in RIOCommandRup()
392 SysPort = UnixRupP->BaseSysPort + (readb(&PktCmdP->PhbNum) % (unsigned short) PORTS_PER_RTA); in RIOCommandRup()
411 …ion: Host Port Number 0x%x, " "Command Code 0x%x\n", readb(&PktCmdP->PhbNum), readb(&PktCmdP->Comm… in RIOCommandRup()
416 switch (readb(&PktCmdP->Command)) { in RIOCommandRup()
429 …rio_dprintk(RIO_DEBUG_CMD, "Command complete on phb %d host %Zd\n", readb(&PktCmdP->PhbNum), HostP… in RIOCommandRup()
431 switch (readb(&PktCmdP->SubCommand)) { in RIOCommandRup()
433 …UG_CMD, "Memory dump cmd (0x%x) from addr 0x%x\n", readb(&PktCmdP->SubCommand), readw(&PktCmdP->Su… in RIOCommandRup()
436 rio_dprintk(RIO_DEBUG_CMD, "Read register (0x%x)\n", readw(&PktCmdP->SubAddr)); in RIOCommandRup()
437 p->CdRegister = (readb(&PktCmdP->ModemStatus) & RIOC_MSVR1_HOST); in RIOCommandRup()
[all …]
Drioboot.c73 …Complete(struct rio_info *p, struct Host *HostP, unsigned int Rup, struct PktCmd __iomem *PktCmdP);
605 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *) PacketP->data; in RIOBootRup() local
624 if ((readb(&PacketP->len) & PKT_CMD_BIT) && (readb(&PktCmdP->Command) == BOOT_COMPLETED)) in RIOBootRup()
625 return RIOBootComplete(p, HostP, Rup, PktCmdP); in RIOBootRup()
653 if (readb(&PktCmdP->Command) != BOOT_REQUEST) { in RIOBootRup()
654 …rio_dprintk(RIO_DEBUG_BOOT, "Unexpected command %d on BOOT RUP %d of host %Zd\n", readb(&PktCmdP->… in RIOBootRup()
696 sequence = readw(&PktCmdP->Sequence); in RIOBootRup()
724 …tComplete(struct rio_info *p, struct Host *HostP, unsigned int Rup, struct PktCmd __iomem *PktCmdP) in RIOBootComplete() argument
736 … RtaUniq = (readb(&PktCmdP->UniqNum[0])) + (readb(&PktCmdP->UniqNum[1]) << 8) + (readb(&PktCmdP->U… in RIOBootComplete()
748 … %s has booted an RTA(%d) on link %c\n", HostP->Name, 8 * RtaType, readb(&PktCmdP->LinkNum) + 'A'); in RIOBootComplete()
[all …]
Driointr.c419 struct PktCmd __iomem *PktCmdP; in RIOServiceHost() local
425 PktCmdP = (struct PktCmd __iomem *) &PacketP->data[0]; in RIOServiceHost()
427 writeb(RIOC_WFLUSH, &PktCmdP->Command); in RIOServiceHost()
438 writeb(p, &PktCmdP->PhbNum); in RIOServiceHost()
Drioctrl.c1393 struct PktCmd_M *PktCmdP; in RIOPreemptiveCmd() local
1413 PktCmdP = (struct PktCmd_M *)&CmdBlkP->Packet.data[0]; in RIOPreemptiveCmd()
1426 PktCmdP->Command = Cmd; in RIOPreemptiveCmd()
1433 PktCmdP->PhbNum = port; in RIOPreemptiveCmd()
1439 PktCmdP->SubCommand = RIOC_MEMDUMP; in RIOPreemptiveCmd()
1440 PktCmdP->SubAddr = SubCmd.Addr; in RIOPreemptiveCmd()
1449 PktCmdP->SubCommand = RIOC_READ_REGISTER; in RIOPreemptiveCmd()
1450 PktCmdP->SubAddr = SubCmd.Addr; in RIOPreemptiveCmd()