Lines Matching refs:SGToBeXferLen
361 pSRB->SGToBeXferLen = sg_dma_len(psgl); in dc390_start_segment()
366 unsigned long xfer = pSRB->SGToBeXferLen - residue; in dc390_advance_segment()
371 pSRB->SGToBeXferLen = residue; in dc390_advance_segment()
772 if (pSRB->SGToBeXferLen) in dc390_DataOut_0()
783 pSRB->TotalXferredLen += pSRB->SGToBeXferLen; in dc390_DataOut_0()
792 pSRB->SGToBeXferLen = 0; in dc390_DataOut_0()
831 if (pSRB->SGToBeXferLen) in dc390_DataIn_0()
847 …UG1(printk (KERN_DEBUG "Count_2_Zero (ResidCnt=%u,ToBeXfer=%lu),", ResidCnt, pSRB->SGToBeXferLen)); in dc390_DataIn_0()
851 pSRB->TotalXferredLen += pSRB->SGToBeXferLen; in dc390_DataIn_0()
860 pSRB->SGToBeXferLen = 0; in dc390_DataIn_0()
925 xferCnt += dc390_advance_segment(pSRB, pSRB->SGToBeXferLen - 1); in dc390_DataIn_0()
928 pSRB->TotalXferredLen, pSRB->SGToBeXferLen)); in dc390_DataIn_0()
1162 pSRB->SGToBeXferLen = 0; in dc390_restore_ptr()
1166 pSRB->SGToBeXferLen -= saved; in dc390_restore_ptr()
1308 if( !pSRB->SGToBeXferLen ) in dc390_DataIO_Comm()
1314 lval = pSRB->SGToBeXferLen; in dc390_DataIO_Comm()
1322 DC390_write32 (DMA_XferCnt, pSRB->SGToBeXferLen); in dc390_DataIO_Comm()
1691 pSRB->SGToBeXferLen = 0; in dc390_RequestSense()
1926 srb->SGToBeXferLen = 0; in DC390_queuecommand_lck()
1960 pSRB->TotalXferredLen, pSRB->SGToBeXferLen, pSRB->SRBState, in DEF_SCSI_QCMD()