• Home
  • Raw
  • Download

Lines Matching refs:tRWInfo

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