Lines Matching defs:CmdBlkP
206 struct CmdBlk *CmdBlkP;
214 CmdBlkP = RIOGetCmdBlk();
215 if (!CmdBlkP) {
219 CmdBlkP->Packet = SpecialRupCmd.Packet;
223 if (RIOQueueCmdBlk(&p->RIOHosts[SpecialRupCmd.Host], SpecialRupCmd.RupNum, CmdBlkP) == RIO_FAIL) {
1392 struct CmdBlk *CmdBlkP;
1404 !(CmdBlkP = RIOGetCmdBlk())) {
1411 CmdBlkP, PortP->InUse);
1413 PktCmdP = (struct PktCmd_M *)&CmdBlkP->Packet.data[0];
1415 CmdBlkP->Packet.src_unit = 0;
1420 CmdBlkP->Packet.dest_unit = rup;
1421 CmdBlkP->Packet.src_port = COMMAND_RUP;
1422 CmdBlkP->Packet.dest_port = COMMAND_RUP;
1423 CmdBlkP->Packet.len = PKT_CMD_BIT | 2;
1424 CmdBlkP->PostFuncP = RIOUnUse;
1425 CmdBlkP->PostArg = (unsigned long) PortP;
1438 "(addr 0x%x)\n", CmdBlkP, (int) SubCmd.Addr);
1444 CmdBlkP);
1448 "command blk %p\n", (int) SubCmd.Addr, CmdBlkP);
1454 CmdBlkP);
1458 CmdBlkP);
1459 CmdBlkP->PostFuncP = RIORFlushEnable;
1463 CmdBlkP);
1468 CmdBlkP);
1474 CmdBlkP->Packet.data[4] = (char) PortP->ModemLines;
1476 "blk %p\n", CmdBlkP);
1488 RIOFreeCmdBlk(CmdBlkP);
1492 "blk %p\n", CmdBlkP);
1493 CmdBlkP->PostFuncP = RIOWFlushMark;
1500 Ret = RIOQueueCmdBlk(PortP->HostP, rup, CmdBlkP);