Home | History | Annotate | Download | only in dnld

Lines Matching refs:tRWInfo

512                 if((0 != (pDlCtxt->tRWInfo.wRemBytes)) && (NFCSTATUS_SUCCESS == wStatus))
542 (pDlCtxt->tRWInfo.bFramesSegmented) = FALSE;
615 if(TRUE == (pDlContext->tRWInfo.bFirstWrReq))
617 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tUserData.wLen);
618 (pDlContext->tRWInfo.wOffset) = 0;
631 if(FALSE == (pDlContext->tRWInfo.bFramesSegmented))
636 (pDlContext->tRWInfo.wRWPldSize) = (PHDNLDNFC_CMDRESP_MAX_PLD_SIZE - PHDNLDNFC_MIN_PLD_LEN);
637 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tRspBuffInfo.wLen);
638 (pDlContext->tRWInfo.dwAddr) = (pDlContext->FrameInp.dwAddr);
639 (pDlContext->tRWInfo.wOffset) = 0;
640 (pDlContext->tRWInfo.wBytesRead) = 0;
644 (pDlContext->tRWInfo.bFramesSegmented) = TRUE;
688 if(0 != (pDlContext->tRWInfo.wRWPldSize))
690 if(TRUE == (pDlContext->tRWInfo.bFramesSegmented))
786 wBuffIdx = (pDlContext->tRWInfo.wOffset);
788 if(FALSE == (pDlContext->tRWInfo.bFramesSegmented))
794 (pDlContext->tRWInfo.wRWPldSize) = wFrameLen;
797 tRWInfo.wRWPldSize) > PHDNLDNFC_CMDRESP_MAX_PLD_SIZE)
799 if(FALSE == (pDlContext->tRWInfo.bFirstChunkResp))
801 (pDlContext->tRWInfo.wRemChunkBytes) = wFrameLen;
802 (pDlContext->tRWInfo.wOffset) += PHDNLDNFC_FRAME_HDR_LEN;
803 wBuffIdx = (pDlContext->tRWInfo.wOffset);
806 if(PHDNLDNFC_CMDRESP_MAX_PLD_SIZE < (pDlContext->tRWInfo.wRemChunkBytes))
808 (pDlContext->tRWInfo.wBytesToSendRecv) = PHDNLDNFC_CMDRESP_MAX_PLD_SIZE;
809 (pDlContext->tRWInfo.bFramesSegmented) = TRUE;
813 (pDlContext->tRWInfo.wBytesToSendRecv) = (pDlContext->tRWInfo.wRemChunkBytes);
814 (pDlContext->tRWInfo.bFramesSegmented) = FALSE;
818 &(pDlContext->tUserData.pBuff[wBuffIdx]),(pDlContext->tRWInfo.wBytesToSendRecv));
822 (pDlContext->tRWInfo.wRWPldSize) = 0;
823 (pDlContext->tRWInfo.wBytesToSendRecv) = (wFrameLen + PHDNLDNFC_FRAME_HDR_LEN);
826 &(pDlContext->tUserData.pBuff[wBuffIdx]),(pDlContext->tRWInfo.wBytesToSendRecv));
828 (pDlContext->tCmdRspFrameInfo.dwSendlength) += (pDlContext->tRWInfo.wBytesToSendRecv);
832 (pDlContext->tRWInfo.wBytesToSendRecv) = ((pDlContext->tRWInfo.wRemBytes) >
833 (pDlContext->tRWInfo.wRWPldSize)) ? (pDlContext->tRWInfo.wRWPldSize) :
834 (pDlContext->tRWInfo.wRemBytes);
836 wBuffIdx = (PHDNLDNFC_PLD_OFFSET + ((sizeof(pDlContext->tRWInfo.wBytesToSendRecv))
840 &(pDlContext->tRWInfo.wBytesToSendRecv),(sizeof(pDlContext->tRWInfo.wBytesToSendRecv)));
842 wBuffIdx += sizeof(pDlContext->tRWInfo.wBytesToSendRecv);
845 &(pDlContext->tRWInfo.dwAddr),sizeof(pDlContext->tRWInfo.dwAddr));
848 (sizeof(pDlContext->tRWInfo.dwAddr)));
1194 if(TRUE == (pDlContext->tRWInfo.bFirstWrReq))
1197 (pDlContext->tRWInfo.bFirstWrReq) = FALSE;
1200 if(TRUE == (pDlContext->tRWInfo.bFirstChunkResp))
1202 if(FALSE == (pDlContext->tRWInfo.bFramesSegmented))
1205 (pDlContext->tRWInfo.wRemChunkBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv);
1206 (pDlContext->tRWInfo.bFirstChunkResp) = FALSE;
1217 (pDlContext->tRWInfo.wRemBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv);
1218 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo.wBytesToSendRecv);
1221 else if((FALSE == (pDlContext->tRWInfo.bFirstChunkResp)) &&
1222 (TRUE == (pDlContext->tRWInfo.bFramesSegmented)) &&
1225 (pDlContext->tRWInfo.bFirstChunkResp) = TRUE;
1226 (pDlContext->tRWInfo.wRemChunkBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv);
1227 (pDlContext->tRWInfo.wRemBytes) -= ((pDlContext->tRWInfo.wBytesToSendRecv) + PHDNLDNFC_FRAME_HDR_LEN);
1228 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo
1231 if(TRUE == (pDlContext->tRWInfo.bFirstWrReq))
1234 (pDlContext->tRWInfo.bFirstWrReq) = FALSE;
1237 else if((TRUE == (pDlContext->tRWInfo.bFirstChunkResp)) &&
1238 (TRUE == (pDlContext->tRWInfo.bFramesSegmented)) &&
1241 (pDlContext->tRWInfo.wRemChunkBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv);
1242 (pDlContext->tRWInfo.wRemBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv);
1243 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo.wBytesToSendRecv);
1248 (pDlContext->tRWInfo.bFirstWrReq) = FALSE;
1250 (pDlContext->tRWInfo.wRemBytes) = 0;
1251 (pDlContext->tRWInfo.wOffset) = 0;
1286 if(wReadLen != (pDlContext->tRWInfo.wBytesToSendRecv))
1293 memcpy(&(pDlContext->tRspBuffInfo.pBuff[(pDlContext->tRWInfo.wOffset)]),
1297 (pDlContext->tRWInfo.wBytesRead) += wReadLen;
1299 (pDlContext->tRspBuffInfo.wLen) = (pDlContext->tRWInfo.wBytesRead);
1301 (pDlContext->tRWInfo.wRemBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv);
1302 (pDlContext->tRWInfo.dwAddr) += (pDlContext->tRWInfo.wBytesToSendRecv);
1303 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo.wBytesToSendRecv);