Lines Matching refs:tRWInfo
459 if ((0 != (pDlCtxt->tRWInfo.wRemBytes)) && in phDnldNfc_ProcessRWSeqState()
486 (pDlCtxt->tRWInfo.bFramesSegmented) = false; in phDnldNfc_ProcessRWSeqState()
550 if ((pDlContext->tRWInfo.bFirstWrReq) == true) { in phDnldNfc_BuildFramePkt()
551 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tUserData.wLen); in phDnldNfc_BuildFramePkt()
552 (pDlContext->tRWInfo.wOffset) = 0; in phDnldNfc_BuildFramePkt()
561 if ((pDlContext->tRWInfo.bFramesSegmented) == false) { in phDnldNfc_BuildFramePkt()
566 (pDlContext->tRWInfo.wRWPldSize) = in phDnldNfc_BuildFramePkt()
568 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tRspBuffInfo.wLen); in phDnldNfc_BuildFramePkt()
569 (pDlContext->tRWInfo.dwAddr) = (pDlContext->FrameInp.dwAddr); in phDnldNfc_BuildFramePkt()
570 (pDlContext->tRWInfo.wOffset) = 0; in phDnldNfc_BuildFramePkt()
571 (pDlContext->tRWInfo.wBytesRead) = 0; in phDnldNfc_BuildFramePkt()
574 (pDlContext->tRWInfo.bFramesSegmented) = true; in phDnldNfc_BuildFramePkt()
614 if (0 != (pDlContext->tRWInfo.wRWPldSize)) { in phDnldNfc_BuildFramePkt()
615 if ((pDlContext->tRWInfo.bFramesSegmented) == true) { in phDnldNfc_BuildFramePkt()
718 wBuffIdx = (pDlContext->tRWInfo.wOffset); in phDnldNfc_CreateFramePld()
720 if ((pDlContext->tRWInfo.bFramesSegmented) == false) { in phDnldNfc_CreateFramePld()
725 (pDlContext->tRWInfo.wRWPldSize) = wFrameLen; in phDnldNfc_CreateFramePld()
728 if ((pDlContext->tRWInfo.wRWPldSize) > PHDNLDNFC_CMDRESP_MAX_PLD_SIZE) { in phDnldNfc_CreateFramePld()
729 if ((pDlContext->tRWInfo.bFirstChunkResp) == false) { in phDnldNfc_CreateFramePld()
730 (pDlContext->tRWInfo.wRemChunkBytes) = wFrameLen; in phDnldNfc_CreateFramePld()
731 (pDlContext->tRWInfo.wOffset) += PHDNLDNFC_FRAME_HDR_LEN; in phDnldNfc_CreateFramePld()
732 wBuffIdx = (pDlContext->tRWInfo.wOffset); in phDnldNfc_CreateFramePld()
736 (pDlContext->tRWInfo.wRemChunkBytes)) { in phDnldNfc_CreateFramePld()
737 (pDlContext->tRWInfo.wBytesToSendRecv) = in phDnldNfc_CreateFramePld()
739 (pDlContext->tRWInfo.bFramesSegmented) = true; in phDnldNfc_CreateFramePld()
741 (pDlContext->tRWInfo.wBytesToSendRecv) = in phDnldNfc_CreateFramePld()
742 (pDlContext->tRWInfo.wRemChunkBytes); in phDnldNfc_CreateFramePld()
743 (pDlContext->tRWInfo.bFramesSegmented) = false; in phDnldNfc_CreateFramePld()
749 (pDlContext->tRWInfo.wBytesToSendRecv)); in phDnldNfc_CreateFramePld()
751 (pDlContext->tRWInfo.wRWPldSize) = 0; in phDnldNfc_CreateFramePld()
752 (pDlContext->tRWInfo.wBytesToSendRecv) = in phDnldNfc_CreateFramePld()
757 (pDlContext->tRWInfo.wBytesToSendRecv)); in phDnldNfc_CreateFramePld()
760 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_CreateFramePld()
762 (pDlContext->tRWInfo.wBytesToSendRecv) = in phDnldNfc_CreateFramePld()
763 ((pDlContext->tRWInfo.wRemBytes) > (pDlContext->tRWInfo.wRWPldSize)) in phDnldNfc_CreateFramePld()
764 ? (pDlContext->tRWInfo.wRWPldSize) in phDnldNfc_CreateFramePld()
765 : (uint16_t)(pDlContext->tRWInfo.wRemBytes); in phDnldNfc_CreateFramePld()
768 ((sizeof(pDlContext->tRWInfo.wBytesToSendRecv)) % in phDnldNfc_CreateFramePld()
773 &(pDlContext->tRWInfo.wBytesToSendRecv), in phDnldNfc_CreateFramePld()
774 (sizeof(pDlContext->tRWInfo.wBytesToSendRecv))); in phDnldNfc_CreateFramePld()
776 wBuffIdx += (uint32_t)sizeof(pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_CreateFramePld()
779 &(pDlContext->tRWInfo.dwAddr), sizeof(pDlContext->tRWInfo.dwAddr)); in phDnldNfc_CreateFramePld()
782 (PHDNLDNFC_MIN_PLD_LEN + (sizeof(pDlContext->tRWInfo.dwAddr))); in phDnldNfc_CreateFramePld()
1082 if ((pDlContext->tRWInfo.bFirstWrReq) == true) { in phDnldNfc_UpdateRsp()
1084 (pDlContext->tRWInfo.bFirstWrReq) = false; in phDnldNfc_UpdateRsp()
1087 if ((pDlContext->tRWInfo.bFirstChunkResp) == true) { in phDnldNfc_UpdateRsp()
1088 if ((pDlContext->tRWInfo.bFramesSegmented) == false) { in phDnldNfc_UpdateRsp()
1090 (pDlContext->tRWInfo.wRemChunkBytes) -= in phDnldNfc_UpdateRsp()
1091 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1092 (pDlContext->tRWInfo.bFirstChunkResp) = false; in phDnldNfc_UpdateRsp()
1100 (pDlContext->tRWInfo.wRemBytes) -= in phDnldNfc_UpdateRsp()
1101 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1102 (pDlContext->tRWInfo.wOffset) += in phDnldNfc_UpdateRsp()
1103 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1105 } else if (((pDlContext->tRWInfo.bFirstChunkResp) == false) && in phDnldNfc_UpdateRsp()
1106 ((pDlContext->tRWInfo.bFramesSegmented) == true) && in phDnldNfc_UpdateRsp()
1109 (pDlContext->tRWInfo.bFirstChunkResp) = true; in phDnldNfc_UpdateRsp()
1110 (pDlContext->tRWInfo.wRemChunkBytes) -= in phDnldNfc_UpdateRsp()
1111 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1112 (pDlContext->tRWInfo.wRemBytes) -= in phDnldNfc_UpdateRsp()
1113 ((pDlContext->tRWInfo.wBytesToSendRecv) + PHDNLDNFC_FRAME_HDR_LEN); in phDnldNfc_UpdateRsp()
1114 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1117 if ((pDlContext->tRWInfo.bFirstWrReq) == true) { in phDnldNfc_UpdateRsp()
1119 (pDlContext->tRWInfo.bFirstWrReq) = false; in phDnldNfc_UpdateRsp()
1121 } else if (((pDlContext->tRWInfo.bFirstChunkResp) == true) && in phDnldNfc_UpdateRsp()
1122 ((pDlContext->tRWInfo.bFramesSegmented) == true) && in phDnldNfc_UpdateRsp()
1125 (pDlContext->tRWInfo.wRemChunkBytes) -= in phDnldNfc_UpdateRsp()
1126 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1127 (pDlContext->tRWInfo.wRemBytes) -= in phDnldNfc_UpdateRsp()
1128 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1129 (pDlContext->tRWInfo.wOffset) += (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1135 (pDlContext->tRWInfo.bFirstWrReq) = false; in phDnldNfc_UpdateRsp()
1137 (pDlContext->tRWInfo.wRemBytes) = 0; in phDnldNfc_UpdateRsp()
1138 (pDlContext->tRWInfo.wOffset) = 0; in phDnldNfc_UpdateRsp()
1167 if (wReadLen != (pDlContext->tRWInfo.wBytesToSendRecv)) { in phDnldNfc_UpdateRsp()
1172 &(pDlContext->tRspBuffInfo.pBuff[(pDlContext->tRWInfo.wOffset)]), in phDnldNfc_UpdateRsp()
1175 (pDlContext->tRWInfo.wBytesRead) += wReadLen; in phDnldNfc_UpdateRsp()
1177 (pDlContext->tRspBuffInfo.wLen) = (pDlContext->tRWInfo.wBytesRead); in phDnldNfc_UpdateRsp()
1179 (pDlContext->tRWInfo.wRemBytes) -= in phDnldNfc_UpdateRsp()
1180 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1181 (pDlContext->tRWInfo.dwAddr) += in phDnldNfc_UpdateRsp()
1182 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()
1183 (pDlContext->tRWInfo.wOffset) += in phDnldNfc_UpdateRsp()
1184 (pDlContext->tRWInfo.wBytesToSendRecv); in phDnldNfc_UpdateRsp()