Home
last modified time | relevance | path

Searched refs:PacketP (Results 1 – 7 of 7) sorted by relevance

/drivers/char/rio/
Driointr.c100 struct PKT __iomem *PacketP; in RIOTxEnable() local
122 while (can_add_transmit(&PacketP, PortP)) { in RIOTxEnable()
142 rio_memcpy_toio(PortP->HostP->Caddr, PacketP->data, PortP->gs.xmit_buf + PortP->gs.xmit_tail, c); in RIOTxEnable()
145 writeb(c, &(PacketP->len)); in RIOTxEnable()
212 struct PKT __iomem *PacketP; in RIOServiceHost() local
254 if (can_remove_receive(&PacketP, PortP)) in RIOServiceHost()
262 …if (!can_remove_receive(&PacketP, PortP) && (readw(&PortP->PhbP->handshake) == PHB_HANDSHAKE_SET))… in RIOServiceHost()
291 struct PKT __iomem *PacketP; in RIOServiceHost() local
328 if (!can_add_transmit(&PacketP, PortP)) { in RIOServiceHost()
417 while (PortP->WflushFlag && can_add_transmit(&PacketP, PortP) && (PortP->InUse == NOT_INUSE)) { in RIOServiceHost()
[all …]
Driocmd.c369 …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()
[all …]
Driotty.c579 struct PKT __iomem *PacketP; in RIOShortCommand() local
612 while (!can_add_transmit(&PacketP, PortP) && !p->RIOHalted) { in RIOShortCommand()
633 writeb(command, &PacketP->data[0]); in RIOShortCommand()
636 writeb(arg, &PacketP->data[1]); in RIOShortCommand()
641 writeb(PKT_CMD_BIT | len, &PacketP->len); in RIOShortCommand()
Drioparam.c153 struct PKT __iomem *PacketP; in RIOParam() local
187 while (!(res = can_add_transmit(&PacketP, PortP)) || (PortP->InUse != NOT_INUSE)) { in RIOParam()
231 rio_dprintk(RIO_DEBUG_PARAM, "Packet is %p\n", PacketP); in RIOParam()
233 phb_param_ptr = (struct phb_param __iomem *) PacketP->data; in RIOParam()
549 writeb(12 | PKT_CMD_BIT, &PacketP->len); in RIOParam()
Drioboot.c603 …t RIOBootRup(struct rio_info *p, unsigned int Rup, struct Host *HostP, struct PKT __iomem *PacketP) in RIOBootRup() argument
605 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *) PacketP->data; in RIOBootRup()
624 if ((readb(&PacketP->len) & PKT_CMD_BIT) && (readb(&PktCmdP->Command) == BOOT_COMPLETED)) in RIOBootRup()
649 if (readb(&PacketP->len) & PKT_CMD_BIT) { in RIOBootRup()
Drioctrl.c144 struct PKT __iomem *PacketP; in riocontrol() local
1187 if (!can_add_transmit(&PacketP, PortP)) { in riocontrol()
1194 writeb(SendPack.Data[loop], &PacketP->data[loop]); in riocontrol()
1196 writeb(SendPack.Len, &PacketP->len); in riocontrol()
Drioroute.c85 …RIORouteRup(struct rio_info *p, unsigned int Rup, struct Host *HostP, struct PKT __iomem * PacketP) in RIORouteRup() argument
87 struct PktCmd __iomem *PktCmdP = (struct PktCmd __iomem *) PacketP->data; in RIORouteRup()