Home
last modified time | relevance | path

Searched refs:CmdBlkP (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/staging/generic_serial/rio/
Driocmd.c81 struct CmdBlk *CmdBlkP; in RIOFoadRta() local
85 CmdBlkP = RIOGetCmdBlk(); in RIOFoadRta()
87 if (!CmdBlkP) { in RIOFoadRta()
92 CmdBlkP->Packet.dest_unit = MapP->ID; in RIOFoadRta()
93 CmdBlkP->Packet.dest_port = BOOT_RUP; in RIOFoadRta()
94 CmdBlkP->Packet.src_unit = 0; in RIOFoadRta()
95 CmdBlkP->Packet.src_port = BOOT_RUP; in RIOFoadRta()
96 CmdBlkP->Packet.len = 0x84; in RIOFoadRta()
97 CmdBlkP->Packet.data[0] = IFOAD; in RIOFoadRta()
98 CmdBlkP->Packet.data[1] = 0; in RIOFoadRta()
[all …]
Drioctrl.c206 struct CmdBlk *CmdBlkP; in riocontrol() local
214 CmdBlkP = RIOGetCmdBlk(); in riocontrol()
215 if (!CmdBlkP) { in riocontrol()
219 CmdBlkP->Packet = SpecialRupCmd.Packet; in riocontrol()
223 … if (RIOQueueCmdBlk(&p->RIOHosts[SpecialRupCmd.Host], SpecialRupCmd.RupNum, CmdBlkP) == RIO_FAIL) { in riocontrol()
1393 struct CmdBlk *CmdBlkP; in RIOPreemptiveCmd() local
1405 !(CmdBlkP = RIOGetCmdBlk())) { in RIOPreemptiveCmd()
1412 CmdBlkP, PortP->InUse); in RIOPreemptiveCmd()
1414 PktCmdP = (struct PktCmd_M *)&CmdBlkP->Packet.data[0]; in RIOPreemptiveCmd()
1416 CmdBlkP->Packet.src_unit = 0; in RIOPreemptiveCmd()
[all …]
Drioroute.c88 struct CmdBlk *CmdBlkP; in RIORouteRup() local
286 if (!(CmdBlkP = RIOGetCmdBlk())) { in RIORouteRup()
294 CmdBlkP->Packet.dest_unit = Rup; in RIORouteRup()
295 CmdBlkP->Packet.dest_port = ROUTE_RUP; in RIORouteRup()
296 CmdBlkP->Packet.src_unit = HOST_ID; in RIORouteRup()
297 CmdBlkP->Packet.src_port = ROUTE_RUP; in RIORouteRup()
298 CmdBlkP->Packet.len = PKT_CMD_BIT | 1; in RIORouteRup()
299 CmdBlkP->PreFuncP = CmdBlkP->PostFuncP = NULL; in RIORouteRup()
300 PktReplyP = (struct PktCmd_M *) CmdBlkP->Packet.data; in RIORouteRup()
306 RIOQueueCmdBlk(HostP, Rup, CmdBlkP); in RIORouteRup()
[all …]
Drioboot.c607 struct CmdBlk *CmdBlkP; in RIOBootRup() local
630 if (!(CmdBlkP = RIOGetCmdBlk())) { in RIOBootRup()
638 CmdBlkP->Packet.dest_unit = Rup < (unsigned short) MAX_RUP ? Rup : 0; in RIOBootRup()
639 CmdBlkP->Packet.dest_port = BOOT_RUP; in RIOBootRup()
640 CmdBlkP->Packet.src_unit = 0; in RIOBootRup()
641 CmdBlkP->Packet.src_port = BOOT_RUP; in RIOBootRup()
643 CmdBlkP->PreFuncP = CmdBlkP->PostFuncP = NULL; in RIOBootRup()
644 PktReplyP = (struct PktCmd_M *) CmdBlkP->Packet.data; in RIOBootRup()
655 RIOFreeCmdBlk(CmdBlkP); in RIOBootRup()
675 CmdBlkP->Packet.len = BOOT_SEQUENCE_LEN | PKT_CMD_BIT; in RIOBootRup()
[all …]