Lines Matching refs:tRWInfo
467 if ((0 != (pDlCtxt->tRWInfo.wRemBytes)) && in phDnldNfc_ProcessRWSeqState()
494 (pDlCtxt->tRWInfo.bFramesSegmented) = false; in phDnldNfc_ProcessRWSeqState()
558 if ((pDlContext->tRWInfo.bFirstWrReq) == true) { in phDnldNfc_BuildFramePkt()
559 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tUserData.wLen); in phDnldNfc_BuildFramePkt()
560 (pDlContext->tRWInfo.wOffset) = 0; in phDnldNfc_BuildFramePkt()
569 if ((pDlContext->tRWInfo.bFramesSegmented) == false) { in phDnldNfc_BuildFramePkt()
573 (pDlContext->tRWInfo.wRWPldSize) = in phDnldNfc_BuildFramePkt()
575 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tRspBuffInfo.wLen); in phDnldNfc_BuildFramePkt()
576 (pDlContext->tRWInfo.dwAddr) = (pDlContext->FrameInp.dwAddr); in phDnldNfc_BuildFramePkt()
577 (pDlContext->tRWInfo.wOffset) = 0; in phDnldNfc_BuildFramePkt()
578 (pDlContext->tRWInfo.wBytesRead) = 0; in phDnldNfc_BuildFramePkt()
581 (pDlContext->tRWInfo.bFramesSegmented) = true; in phDnldNfc_BuildFramePkt()
621 if (0 != (pDlContext->tRWInfo.wRWPldSize)) { in phDnldNfc_BuildFramePkt()
622 if ((pDlContext->tRWInfo.bFramesSegmented) == true) { in phDnldNfc_BuildFramePkt()
716 wBuffIdx = (pDlContext->tRWInfo.wOffset); in phDnldNfc_CreateFramePld()
718 if ((pDlContext->tRWInfo.bFramesSegmented) == false) { in phDnldNfc_CreateFramePld()
723 (pDlContext->tRWInfo.wRWPldSize) = wFrameLen; in phDnldNfc_CreateFramePld()
726 if ((pDlContext->tRWInfo.wRWPldSize) > PHDNLDNFC_CMDRESP_MAX_PLD_SIZE) { in phDnldNfc_CreateFramePld()
727 if ((pDlContext->tRWInfo.bFirstChunkResp) == false) { in phDnldNfc_CreateFramePld()
728 (pDlContext->tRWInfo.wRemChunkBytes) = wFrameLen; in phDnldNfc_CreateFramePld()
729 (pDlContext->tRWInfo.wOffset) += PHDNLDNFC_FRAME_HDR_LEN; in phDnldNfc_CreateFramePld()
730 wBuffIdx = (pDlContext->tRWInfo.wOffset); in phDnldNfc_CreateFramePld()
734 (pDlContext->tRWInfo.wRemChunkBytes)) { in phDnldNfc_CreateFramePld()
735 (pDlContext->tRWInfo.wBytesToSendRecv) = in phDnldNfc_CreateFramePld()
737 (pDlContext->tRWInfo.bFramesSegmented) = true; in phDnldNfc_CreateFramePld()
739 (pDlContext->tRWInfo.wBytesToSendRecv) = in phDnldNfc_CreateFramePld()
740 (pDlContext->tRWInfo.wRemChunkBytes); in phDnldNfc_CreateFramePld()
741 (pDlContext->tRWInfo.bFramesSegmented) = false; in phDnldNfc_CreateFramePld()
747 (pDlContext->tRWInfo.wBytesToSendRecv)); in phDnldNfc_CreateFramePld()
749 (pDlContext->tRWInfo.wRWPldSize) = 0; in phDnldNfc_CreateFramePld()
750 (pDlContext->tRWInfo.wBytesToSendRecv) = in phDnldNfc_CreateFramePld()
755 (pDlContext->tRWInfo.wBytesToSendRecv)); in phDnldNfc_CreateFramePld()
758 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_CreateFramePld()
760 (pDlContext->tRWInfo.wBytesToSendRecv) = in phDnldNfc_CreateFramePld()
761 ((pDlContext->tRWInfo.wRemBytes) > (pDlContext->tRWInfo.wRWPldSize)) in phDnldNfc_CreateFramePld()
762 ? (pDlContext->tRWInfo.wRWPldSize) in phDnldNfc_CreateFramePld()
763 : (pDlContext->tRWInfo.wRemBytes); in phDnldNfc_CreateFramePld()
766 ((sizeof(pDlContext->tRWInfo.wBytesToSendRecv)) % in phDnldNfc_CreateFramePld()
771 &(pDlContext->tRWInfo.wBytesToSendRecv), in phDnldNfc_CreateFramePld()
772 (sizeof(pDlContext->tRWInfo.wBytesToSendRecv))); in phDnldNfc_CreateFramePld()
774 wBuffIdx += (uint32_t)sizeof(pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_CreateFramePld()
777 &(pDlContext->tRWInfo.dwAddr), sizeof(pDlContext->tRWInfo.dwAddr)); in phDnldNfc_CreateFramePld()
780 (PHDNLDNFC_MIN_PLD_LEN + (sizeof(pDlContext->tRWInfo.dwAddr))); in phDnldNfc_CreateFramePld()
1086 if ((pDlContext->tRWInfo.bFirstWrReq) == true) { in phDnldNfc_UpdateRsp()
1088 (pDlContext->tRWInfo.bFirstWrReq) = false; in phDnldNfc_UpdateRsp()
1091 if ((pDlContext->tRWInfo.bFirstChunkResp) == true) { in phDnldNfc_UpdateRsp()
1092 if ((pDlContext->tRWInfo.bFramesSegmented) == false) { in phDnldNfc_UpdateRsp()
1094 (pDlContext->tRWInfo.wRemChunkBytes) -= in phDnldNfc_UpdateRsp()
1095 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1096 (pDlContext->tRWInfo.bFirstChunkResp) = false; in phDnldNfc_UpdateRsp()
1104 (pDlContext->tRWInfo.wRemBytes) -= in phDnldNfc_UpdateRsp()
1105 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1106 (pDlContext->tRWInfo.wOffset) += in phDnldNfc_UpdateRsp()
1107 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1109 } else if (((pDlContext->tRWInfo.bFirstChunkResp) == false) && in phDnldNfc_UpdateRsp()
1110 ((pDlContext->tRWInfo.bFramesSegmented) == true) && in phDnldNfc_UpdateRsp()
1113 (pDlContext->tRWInfo.bFirstChunkResp) = true; in phDnldNfc_UpdateRsp()
1114 (pDlContext->tRWInfo.wRemChunkBytes) -= in phDnldNfc_UpdateRsp()
1115 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1116 (pDlContext->tRWInfo.wRemBytes) -= in phDnldNfc_UpdateRsp()
1117 ((pDlContext->tRWInfo.wBytesToSendRecv) + PHDNLDNFC_FRAME_HDR_LEN); in phDnldNfc_UpdateRsp()
1118 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1121 if ((pDlContext->tRWInfo.bFirstWrReq) == true) { in phDnldNfc_UpdateRsp()
1123 (pDlContext->tRWInfo.bFirstWrReq) = false; in phDnldNfc_UpdateRsp()
1125 } else if (((pDlContext->tRWInfo.bFirstChunkResp) == true) && in phDnldNfc_UpdateRsp()
1126 ((pDlContext->tRWInfo.bFramesSegmented) == true) && in phDnldNfc_UpdateRsp()
1129 (pDlContext->tRWInfo.wRemChunkBytes) -= in phDnldNfc_UpdateRsp()
1130 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1131 (pDlContext->tRWInfo.wRemBytes) -= in phDnldNfc_UpdateRsp()
1132 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1133 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1139 (pDlContext->tRWInfo.bFirstWrReq) = false; in phDnldNfc_UpdateRsp()
1141 (pDlContext->tRWInfo.wRemBytes) = 0; in phDnldNfc_UpdateRsp()
1142 (pDlContext->tRWInfo.wOffset) = 0; in phDnldNfc_UpdateRsp()
1171 if (wReadLen != (pDlContext->tRWInfo.wBytesToSendRecv)) { in phDnldNfc_UpdateRsp()
1176 &(pDlContext->tRspBuffInfo.pBuff[(pDlContext->tRWInfo.wOffset)]), in phDnldNfc_UpdateRsp()
1179 (pDlContext->tRWInfo.wBytesRead) += wReadLen; in phDnldNfc_UpdateRsp()
1181 (pDlContext->tRspBuffInfo.wLen) = (pDlContext->tRWInfo.wBytesRead); in phDnldNfc_UpdateRsp()
1183 (pDlContext->tRWInfo.wRemBytes) -= in phDnldNfc_UpdateRsp()
1184 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1185 (pDlContext->tRWInfo.dwAddr) += in phDnldNfc_UpdateRsp()
1186 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1187 (pDlContext->tRWInfo.wOffset) += in phDnldNfc_UpdateRsp()
1188 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()