Searched refs:PktCmdP (Results 1 - 5 of 5) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/rio/ |
H A D | rioroute.c | 86 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *) PacketP->data; local 106 if (readb(&PktCmdP->Command) == ROUTE_TOPOLOGY) { 142 if (readb(&PktCmdP->RouteTopology[ThisLink].Unit) > (unsigned short) MAX_RUP) 146 if ((readb(&PktCmdP->RouteTopology[ThisLink].Unit) == readb(&PktCmdP->RouteTopology[NewLink].Unit)) && (readb(&PktCmdP->RouteTopology[ThisLink].Link) == readb(&PktCmdP->RouteTopology[NewLink].Link))) { 155 readb(&PktCmdP->RouteTopology[0].Unit), 156 'A' + readb(&PktCmdP->RouteTopology[0].Link), 157 readb(&PktCmdP [all...] |
H A D | riocmd.c | 372 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *)PacketP->data; local 386 ** translates to PktCmdP->PhbNum) set to the host port number for the 391 rup = readb(&PktCmdP->PhbNum) / (unsigned short) PORTS_PER_RTA; 393 SysPort = UnixRupP->BaseSysPort + (readb(&PktCmdP->PhbNum) % (unsigned short) PORTS_PER_RTA); 412 rio_dprintk(RIO_DEBUG_CMD, "COMMAND information: Host Port Number 0x%x, " "Command Code 0x%x\n", readb(&PktCmdP->PhbNum), readb(&PktCmdP->Command)); 417 switch (readb(&PktCmdP->Command)) { 430 rio_dprintk(RIO_DEBUG_CMD, "Command complete on phb %d host %Zd\n", readb(&PktCmdP->PhbNum), HostP - p->RIOHosts); 432 switch (readb(&PktCmdP->SubCommand)) { 434 rio_dprintk(RIO_DEBUG_CMD, "Memory dump cmd (0x%x) from addr 0x%x\n", readb(&PktCmdP [all...] |
H A D | rioboot.c | 73 static int RIOBootComplete(struct rio_info *p, struct Host *HostP, unsigned int Rup, struct PktCmd __iomem *PktCmdP); 601 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *) PacketP->data; local 620 if ((readb(&PacketP->len) & PKT_CMD_BIT) && (readb(&PktCmdP->Command) == BOOT_COMPLETED)) 621 return RIOBootComplete(p, HostP, Rup, PktCmdP); 649 if (readb(&PktCmdP->Command) != BOOT_REQUEST) { 650 rio_dprintk(RIO_DEBUG_BOOT, "Unexpected command %d on BOOT RUP %d of host %Zd\n", readb(&PktCmdP->Command), Rup, HostP - p->RIOHosts); 692 sequence = readw(&PktCmdP->Sequence); 712 * @PktCmdP: Packet command that was used 720 static int RIOBootComplete(struct rio_info *p, struct Host *HostP, unsigned int Rup, struct PktCmd __iomem *PktCmdP) argument 732 u32 RtaUniq = (readb(&PktCmdP [all...] |
H A D | riointr.c | 418 struct PktCmd __iomem *PktCmdP; local 424 PktCmdP = (struct PktCmd __iomem *) &PacketP->data[0]; 426 writeb(RIOC_WFLUSH, &PktCmdP->Command); 437 writeb(p, &PktCmdP->PhbNum);
|
H A D | rioctrl.c | 1393 struct PktCmd_M *PktCmdP; local 1413 PktCmdP = (struct PktCmd_M *)&CmdBlkP->Packet.data[0]; 1426 PktCmdP->Command = Cmd; 1433 PktCmdP->PhbNum = port; 1439 PktCmdP->SubCommand = RIOC_MEMDUMP; 1440 PktCmdP->SubAddr = SubCmd.Addr; 1449 PktCmdP->SubCommand = RIOC_READ_REGISTER; 1450 PktCmdP->SubAddr = SubCmd.Addr;
|
Completed in 31 milliseconds