Lines Matching refs:uiReadBytes
298 UINT uiBegin = dwPartitionOffset, uiLen, uiReadBytes = 0, uiTmp; in read_bytes_from_partition() local
312 uiReadBytes = 2048 - uiTmp; in read_bytes_from_partition()
321 if (dwCount >= uiReadBytes) in read_bytes_from_partition()
323 memcpy(pOut + dwWritePos, pBuffer + uiTmp, uiReadBytes); in read_bytes_from_partition()
324 dwWritePos += uiReadBytes; in read_bytes_from_partition()
325 dwCount -= uiReadBytes; in read_bytes_from_partition()
339 uiReadBytes = uiTransferSize; in read_bytes_from_partition()
344 uiReadBytes = dwCount; in read_bytes_from_partition()
345 uiLen = BYTE2SECTOR(uiReadBytes); in read_bytes_from_partition()
353 memcpy(pOut + dwWritePos, pBuffer, uiReadBytes); in read_bytes_from_partition()
354 dwWritePos += uiReadBytes; in read_bytes_from_partition()
355 dwCount -= uiReadBytes; in read_bytes_from_partition()
425 UINT uiBegin = dwOffset, uiLen, uiCrc = 0, uiReadBytes = 0; in check_fw_crc() local
435 uiReadBytes = uiTransferSize; in check_fw_crc()
440 uiReadBytes = ullRemain; in check_fw_crc()
441 uiLen = BYTE2SECTOR(uiReadBytes); in check_fw_crc()
453 uiCrc = CRC_32(pBuffer, uiReadBytes, uiCrc); in check_fw_crc()
455 ullRemain -= uiReadBytes; in check_fw_crc()