Searched refs:PktCmdP (Results 1 - 5 of 5) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/rio/ |
H A D | rioroute.c | 91 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *) PacketP->data; local 111 if (readb(&PktCmdP->Command) == ROUTE_TOPOLOGY) { 147 if (readb(&PktCmdP->RouteTopology[ThisLink].Unit) > (unsigned short) MAX_RUP) 151 if ((readb(&PktCmdP->RouteTopology[ThisLink].Unit) == readb(&PktCmdP->RouteTopology[NewLink].Unit)) && (readb(&PktCmdP->RouteTopology[ThisLink].Link) == readb(&PktCmdP->RouteTopology[NewLink].Link))) { 160 readb(&PktCmdP->RouteTopology[0].Unit), 161 'A' + readb(&PktCmdP->RouteTopology[0].Link), 162 readb(&PktCmdP [all...] |
H A D | riocmd.c | 375 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *)PacketP->data; local 389 ** translates to PktCmdP->PhbNum) set to the host port number for the 394 rup = readb(&PktCmdP->PhbNum) / (unsigned short) PORTS_PER_RTA; 396 SysPort = UnixRupP->BaseSysPort + (readb(&PktCmdP->PhbNum) % (unsigned short) PORTS_PER_RTA); 415 rio_dprintk(RIO_DEBUG_CMD, "COMMAND information: Host Port Number 0x%x, " "Command Code 0x%x\n", readb(&PktCmdP->PhbNum), readb(&PktCmdP->Command)); 420 switch (readb(&PktCmdP->Command)) { 433 rio_dprintk(RIO_DEBUG_CMD, "Command complete on phb %d host %Zd\n", readb(&PktCmdP->PhbNum), HostP - p->RIOHosts); 435 switch (readb(&PktCmdP->SubCommand)) { 437 rio_dprintk(RIO_DEBUG_CMD, "Memory dump cmd (0x%x) from addr 0x%x\n", readb(&PktCmdP [all...] |
H A D | rioboot.c | 74 static int RIOBootComplete(struct rio_info *p, struct Host *HostP, unsigned int Rup, struct PktCmd __iomem *PktCmdP); 602 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *) PacketP->data; local 621 if ((readb(&PacketP->len) & PKT_CMD_BIT) && (readb(&PktCmdP->Command) == BOOT_COMPLETED)) 622 return RIOBootComplete(p, HostP, Rup, PktCmdP); 650 if (readb(&PktCmdP->Command) != BOOT_REQUEST) { 651 rio_dprintk(RIO_DEBUG_BOOT, "Unexpected command %d on BOOT RUP %d of host %Zd\n", readb(&PktCmdP->Command), Rup, HostP - p->RIOHosts); 693 sequence = readw(&PktCmdP->Sequence); 713 * @PktCmdP: Packet command that was used 721 static int RIOBootComplete(struct rio_info *p, struct Host *HostP, unsigned int Rup, struct PktCmd __iomem *PktCmdP) argument 733 u32 RtaUniq = (readb(&PktCmdP [all...] |
H A D | riointr.c | 425 struct PktCmd __iomem *PktCmdP; local 431 PktCmdP = (struct PktCmd __iomem *) &PacketP->data[0]; 433 writeb(WFLUSH, &PktCmdP->Command); 444 writeb(p, &PktCmdP->PhbNum);
|
H A D | rioctrl.c | 1394 struct PktCmd_M *PktCmdP; local 1414 PktCmdP = (struct PktCmd_M *)&CmdBlkP->Packet.data[0]; 1427 PktCmdP->Command = Cmd; 1434 PktCmdP->PhbNum = port; 1440 PktCmdP->SubCommand = MEMDUMP; 1441 PktCmdP->SubAddr = SubCmd.Addr; 1450 PktCmdP->SubCommand = READ_REGISTER; 1451 PktCmdP->SubAddr = SubCmd.Addr;
|
Completed in 58 milliseconds