Lines Matching refs:uCmd
619 ULONG bufferSize = SECTOR_TO_BYTE(pCmd->uCmd.R1Control.nSectors);
620 if (pCmd->uCmd.R1Control.Command==CTRL_CMD_VERIFY)
623 pSgTable->dSgAddress = (ULONG_PTR)pCmd->uCmd.R1Control.Buffer;
628 /* build physical SG table for pCmd->uCmd.R1Control.Buffer */
633 v = pCmd->uCmd.R1Control.Buffer;
755 pCmd->uCmd.R1Control.Command = CTRL_CMD_REBUILD;
756 pCmd->uCmd.R1Control.nSectors = MAX_REBUILD_SECTORS;
760 pCmd->uCmd.R1Control.Command = CTRL_CMD_VERIFY;
761 pCmd->uCmd.R1Control.nSectors = MAX_REBUILD_SECTORS/2;
765 pCmd->uCmd.R1Control.Command = CTRL_CMD_REBUILD;
766 pCmd->uCmd.R1Control.nSectors = MAX_REBUILD_SECTORS;
770 pCmd->uCmd.R1Control.Lba = pArray->u.array.RebuildSectors;
772 if (capacity - pArray->u.array.RebuildSectors < pCmd->uCmd.R1Control.nSectors)
773 pCmd->uCmd.R1Control.nSectors = capacity - pArray->u.array.RebuildSectors;
775 pCmd->uCmd.R1Control.Buffer = buffer;
784 pCmd->uCmd.R5Control.Command = CTRL_CMD_REBUILD; break;
786 pCmd->uCmd.R5Control.Command = CTRL_CMD_VERIFY; break;
788 pCmd->uCmd.R5Control.Command = CTRL_CMD_INIT; break;
790 pCmd->uCmd.R5Control.StripeLine=pArray->u.array.RebuildSectors>>pArray->u.array.bArBlockSizeShift;