Lines Matching refs:RetVal
121 NFCSTATUS RetVal = NFCSTATUS_SUCCESS,
362 RetVal = phHal4Nfc_ConfigureDiscovery ( gpphLibContext->psHwReference,
368 if((RetVal!=NFCSTATUS_SUCCESS) &&(RetVal!=NFCSTATUS_PENDING))
397 NFCSTATUS RetVal = NFCSTATUS_SUCCESS;
405 RetVal= NFCSTATUS_INVALID_PARAMETER;
411 RetVal = NFCSTATUS_NOT_INITIALISED;
417 RetVal= NFCSTATUS_SHUTDOWN;
430 RetVal = phHal4Nfc_RegisterNotification(
437 RetVal = phHal4Nfc_RegisterNotification(
448 return RetVal;
455 NFCSTATUS RetVal = NFCSTATUS_SUCCESS;
461 RetVal = NFCSTATUS_NOT_INITIALISED;
467 RetVal= NFCSTATUS_SHUTDOWN;
472 RetVal = phHal4Nfc_UnregisterNotification(
477 RetVal = phHal4Nfc_UnregisterNotification(
486 return RetVal;
588 NFCSTATUS RetVal = NFCSTATUS_FAILED;
594 RetVal = NFCSTATUS_NOT_INITIALISED;
600 RetVal= NFCSTATUS_INVALID_PARAMETER;
606 RetVal= NFCSTATUS_SHUTDOWN;
619 RetVal= NFCSTATUS_INVALID_HANDLE;
624 RetVal = NFCSTATUS_FAILED;
631 RetVal = phHal4Nfc_Connect(gpphLibContext->psHwReference,
635 if(RetVal== NFCSTATUS_PENDING)
647 else if(PHNFCSTATUS(RetVal) == NFCSTATUS_INVALID_REMOTE_DEVICE)
650 RetVal= NFCSTATUS_TARGET_NOT_CONNECTED;
655 RetVal = NFCSTATUS_FAILED;
658 return RetVal;
797 NFCSTATUS RetVal = NFCSTATUS_SUCCESS;
805 RetVal = NFCSTATUS_NOT_INITIALISED;
810 RetVal= NFCSTATUS_INVALID_PARAMETER;
817 RetVal= NFCSTATUS_SHUTDOWN;
821 RetVal=NFCSTATUS_TARGET_NOT_CONNECTED;
826 RetVal=NFCSTATUS_INVALID_HANDLE;
836 RetVal = NFCSTATUS_REJECTED;
841 RetVal = NFCSTATUS_BUSY;
849 RetVal = phHal4Nfc_Disconnect(gpphLibContext->psHwReference,
855 if( NFCSTATUS_PENDING == PHNFCSTATUS(RetVal))
869 RetVal = NFCSTATUS_FAILED;
873 return RetVal;
966 NFCSTATUS RetVal = NFCSTATUS_SUCCESS;
974 RetVal = NFCSTATUS_NOT_INITIALISED;
983 RetVal= NFCSTATUS_INVALID_PARAMETER;
989 RetVal= NFCSTATUS_SHUTDOWN;
993 RetVal=NFCSTATUS_TARGET_NOT_CONNECTED;
997 RetVal=NFCSTATUS_INVALID_HANDLE;
1005 RetVal = NFCSTATUS_REJECTED;
1011 RetVal= NFCSTATUS_BUSY;
1037 RetVal = NFCSTATUS_COMMAND_NOT_SUPPORTED;
1087 RetVal = phHal4Nfc_Transceive( gpphLibContext->psHwReference,
1093 if(PHNFCSTATUS(RetVal) == NFCSTATUS_PENDING)
1109 RetVal = NFCSTATUS_FAILED;
1112 return RetVal;
1237 NFCSTATUS RetVal = NFCSTATUS_FAILED;
1242 RetVal = NFCSTATUS_NOT_INITIALISED;
1247 RetVal= NFCSTATUS_INVALID_PARAMETER;
1251 RetVal = NFCSTATUS_SHUTDOWN;
1255 RetVal = NFCSTATUS_BUSY;
1270 RetVal = phHal4Nfc_ConfigParameters(
1281 RetVal = NFCSTATUS_PENDING;
1283 if(NFCSTATUS_PENDING == RetVal)
1294 RetVal = NFCSTATUS_FAILED;
1297 return RetVal;