Lines Matching refs:tRWInfo

504                 if((0 != (pDlCtxt->tRWInfo.wRemBytes)) && (NFCSTATUS_SUCCESS == wStatus))  in phDnldNfc_ProcessRWSeqState()
534 (pDlCtxt->tRWInfo.bFramesSegmented) = FALSE; in phDnldNfc_ProcessRWSeqState()
607 if(TRUE == (pDlContext->tRWInfo.bFirstWrReq)) in phDnldNfc_BuildFramePkt()
609 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tUserData.wLen); in phDnldNfc_BuildFramePkt()
610 (pDlContext->tRWInfo.wOffset) = 0; in phDnldNfc_BuildFramePkt()
623 if(FALSE == (pDlContext->tRWInfo.bFramesSegmented)) in phDnldNfc_BuildFramePkt()
628 … (pDlContext->tRWInfo.wRWPldSize) = (PHDNLDNFC_CMDRESP_MAX_PLD_SIZE - PHDNLDNFC_MIN_PLD_LEN); in phDnldNfc_BuildFramePkt()
629 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tRspBuffInfo.wLen); in phDnldNfc_BuildFramePkt()
630 (pDlContext->tRWInfo.dwAddr) = (pDlContext->FrameInp.dwAddr); in phDnldNfc_BuildFramePkt()
631 (pDlContext->tRWInfo.wOffset) = 0; in phDnldNfc_BuildFramePkt()
632 (pDlContext->tRWInfo.wBytesRead) = 0; in phDnldNfc_BuildFramePkt()
636 (pDlContext->tRWInfo.bFramesSegmented) = TRUE; in phDnldNfc_BuildFramePkt()
680 if(0 != (pDlContext->tRWInfo.wRWPldSize)) in phDnldNfc_BuildFramePkt()
682 if(TRUE == (pDlContext->tRWInfo.bFramesSegmented)) in phDnldNfc_BuildFramePkt()
774 wBuffIdx = (pDlContext->tRWInfo.wOffset); in phDnldNfc_CreateFramePld()
776 if(FALSE == (pDlContext->tRWInfo.bFramesSegmented)) in phDnldNfc_CreateFramePld()
782 (pDlContext->tRWInfo.wRWPldSize) = wFrameLen; in phDnldNfc_CreateFramePld()
785 if((pDlContext->tRWInfo.wRWPldSize) > PHDNLDNFC_CMDRESP_MAX_PLD_SIZE) in phDnldNfc_CreateFramePld()
787 if(FALSE == (pDlContext->tRWInfo.bFirstChunkResp)) in phDnldNfc_CreateFramePld()
789 (pDlContext->tRWInfo.wRemChunkBytes) = wFrameLen; in phDnldNfc_CreateFramePld()
790 (pDlContext->tRWInfo.wOffset) += PHDNLDNFC_FRAME_HDR_LEN; in phDnldNfc_CreateFramePld()
791 wBuffIdx = (pDlContext->tRWInfo.wOffset); in phDnldNfc_CreateFramePld()
794 if(PHDNLDNFC_CMDRESP_MAX_PLD_SIZE < (pDlContext->tRWInfo.wRemChunkBytes)) in phDnldNfc_CreateFramePld()
796 (pDlContext->tRWInfo.wBytesToSendRecv) = PHDNLDNFC_CMDRESP_MAX_PLD_SIZE; in phDnldNfc_CreateFramePld()
797 (pDlContext->tRWInfo.bFramesSegmented) = TRUE; in phDnldNfc_CreateFramePld()
801 (pDlContext->tRWInfo.wBytesToSendRecv) = (pDlContext->tRWInfo.wRemChunkBytes); in phDnldNfc_CreateFramePld()
802 (pDlContext->tRWInfo.bFramesSegmented) = FALSE; in phDnldNfc_CreateFramePld()
806 … &(pDlContext->tUserData.pBuff[wBuffIdx]),(pDlContext->tRWInfo.wBytesToSendRecv)); in phDnldNfc_CreateFramePld()
810 (pDlContext->tRWInfo.wRWPldSize) = 0; in phDnldNfc_CreateFramePld()
811 (pDlContext->tRWInfo.wBytesToSendRecv) = (wFrameLen + PHDNLDNFC_FRAME_HDR_LEN); in phDnldNfc_CreateFramePld()
814 … &(pDlContext->tUserData.pBuff[wBuffIdx]),(pDlContext->tRWInfo.wBytesToSendRecv)); in phDnldNfc_CreateFramePld()
816 (pDlContext->tCmdRspFrameInfo.dwSendlength) += (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_CreateFramePld()
820 (pDlContext->tRWInfo.wBytesToSendRecv) = ((pDlContext->tRWInfo.wRemBytes) > in phDnldNfc_CreateFramePld()
821 (pDlContext->tRWInfo.wRWPldSize)) ? (pDlContext->tRWInfo.wRWPldSize) : in phDnldNfc_CreateFramePld()
822 (pDlContext->tRWInfo.wRemBytes); in phDnldNfc_CreateFramePld()
824 wBuffIdx = (PHDNLDNFC_PLD_OFFSET + ((sizeof(pDlContext->tRWInfo.wBytesToSendRecv)) in phDnldNfc_CreateFramePld()
828 … &(pDlContext->tRWInfo.wBytesToSendRecv),(sizeof(pDlContext->tRWInfo.wBytesToSendRecv))); in phDnldNfc_CreateFramePld()
830 wBuffIdx += sizeof(pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_CreateFramePld()
833 &(pDlContext->tRWInfo.dwAddr),sizeof(pDlContext->tRWInfo.dwAddr)); in phDnldNfc_CreateFramePld()
836 (sizeof(pDlContext->tRWInfo.dwAddr))); in phDnldNfc_CreateFramePld()
1182 if(TRUE == (pDlContext->tRWInfo.bFirstWrReq)) in phDnldNfc_UpdateRsp()
1185 (pDlContext->tRWInfo.bFirstWrReq) = FALSE; in phDnldNfc_UpdateRsp()
1188 if(TRUE == (pDlContext->tRWInfo.bFirstChunkResp)) in phDnldNfc_UpdateRsp()
1190 if(FALSE == (pDlContext->tRWInfo.bFramesSegmented)) in phDnldNfc_UpdateRsp()
1193 … (pDlContext->tRWInfo.wRemChunkBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1194 (pDlContext->tRWInfo.bFirstChunkResp) = FALSE; in phDnldNfc_UpdateRsp()
1205 (pDlContext->tRWInfo.wRemBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1206 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1209 else if((FALSE == (pDlContext->tRWInfo.bFirstChunkResp)) && in phDnldNfc_UpdateRsp()
1210 (TRUE == (pDlContext->tRWInfo.bFramesSegmented)) && in phDnldNfc_UpdateRsp()
1213 (pDlContext->tRWInfo.bFirstChunkResp) = TRUE; in phDnldNfc_UpdateRsp()
1214 (pDlContext->tRWInfo.wRemChunkBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1215 …(pDlContext->tRWInfo.wRemBytes) -= ((pDlContext->tRWInfo.wBytesToSendRecv) + PHDNLDNFC_FRAME_HDR_L… in phDnldNfc_UpdateRsp()
1216 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1219 if(TRUE == (pDlContext->tRWInfo.bFirstWrReq)) in phDnldNfc_UpdateRsp()
1222 (pDlContext->tRWInfo.bFirstWrReq) = FALSE; in phDnldNfc_UpdateRsp()
1225 else if((TRUE == (pDlContext->tRWInfo.bFirstChunkResp)) && in phDnldNfc_UpdateRsp()
1226 (TRUE == (pDlContext->tRWInfo.bFramesSegmented)) && in phDnldNfc_UpdateRsp()
1229 (pDlContext->tRWInfo.wRemChunkBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1230 (pDlContext->tRWInfo.wRemBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1231 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1236 (pDlContext->tRWInfo.bFirstWrReq) = FALSE; in phDnldNfc_UpdateRsp()
1238 (pDlContext->tRWInfo.wRemBytes) = 0; in phDnldNfc_UpdateRsp()
1239 (pDlContext->tRWInfo.wOffset) = 0; in phDnldNfc_UpdateRsp()
1274 if(wReadLen != (pDlContext->tRWInfo.wBytesToSendRecv)) in phDnldNfc_UpdateRsp()
1281 memcpy(&(pDlContext->tRspBuffInfo.pBuff[(pDlContext->tRWInfo.wOffset)]), in phDnldNfc_UpdateRsp()
1285 (pDlContext->tRWInfo.wBytesRead) += wReadLen; in phDnldNfc_UpdateRsp()
1287 (pDlContext->tRspBuffInfo.wLen) = (pDlContext->tRWInfo.wBytesRead); in phDnldNfc_UpdateRsp()
1289 (pDlContext->tRWInfo.wRemBytes) -= (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1290 (pDlContext->tRWInfo.dwAddr) += (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1291 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()