Lines Matching defs:RetVal
121 NFCSTATUS RetVal = NFCSTATUS_SUCCESS,
361 RetVal = phHal4Nfc_ConfigureDiscovery ( gpphLibContext->psHwReference,
367 if((RetVal!=NFCSTATUS_SUCCESS) &&(RetVal!=NFCSTATUS_PENDING))
396 NFCSTATUS RetVal = NFCSTATUS_SUCCESS;
404 RetVal= NFCSTATUS_INVALID_PARAMETER;
410 RetVal = NFCSTATUS_NOT_INITIALISED;
416 RetVal= NFCSTATUS_SHUTDOWN;
429 RetVal = phHal4Nfc_RegisterNotification(
436 RetVal = phHal4Nfc_RegisterNotification(
447 return RetVal;
454 NFCSTATUS RetVal = NFCSTATUS_SUCCESS;
460 RetVal = NFCSTATUS_NOT_INITIALISED;
466 RetVal= NFCSTATUS_SHUTDOWN;
471 RetVal = phHal4Nfc_UnregisterNotification(
476 RetVal = phHal4Nfc_UnregisterNotification(
485 return RetVal;
587 NFCSTATUS RetVal = NFCSTATUS_FAILED;
593 RetVal = NFCSTATUS_NOT_INITIALISED;
599 RetVal= NFCSTATUS_INVALID_PARAMETER;
605 RetVal= NFCSTATUS_SHUTDOWN;
618 RetVal= NFCSTATUS_INVALID_HANDLE;
623 RetVal = NFCSTATUS_FAILED;
630 RetVal = phHal4Nfc_Connect(gpphLibContext->psHwReference,
634 if(RetVal== NFCSTATUS_PENDING)
646 else if(PHNFCSTATUS(RetVal) == NFCSTATUS_INVALID_REMOTE_DEVICE)
649 RetVal= NFCSTATUS_TARGET_NOT_CONNECTED;
654 RetVal = NFCSTATUS_FAILED;
657 return RetVal;
796 NFCSTATUS RetVal = NFCSTATUS_SUCCESS;
804 RetVal = NFCSTATUS_NOT_INITIALISED;
809 RetVal= NFCSTATUS_INVALID_PARAMETER;
816 RetVal= NFCSTATUS_SHUTDOWN;
820 RetVal=NFCSTATUS_TARGET_NOT_CONNECTED;
825 RetVal=NFCSTATUS_INVALID_HANDLE;
835 RetVal = NFCSTATUS_REJECTED;
840 RetVal = NFCSTATUS_BUSY;
848 RetVal = phHal4Nfc_Disconnect(gpphLibContext->psHwReference,
854 if( NFCSTATUS_PENDING == PHNFCSTATUS(RetVal))
868 RetVal = NFCSTATUS_FAILED;
872 return RetVal;
965 NFCSTATUS RetVal = NFCSTATUS_SUCCESS;
973 RetVal = NFCSTATUS_NOT_INITIALISED;
982 RetVal= NFCSTATUS_INVALID_PARAMETER;
988 RetVal= NFCSTATUS_SHUTDOWN;
992 RetVal=NFCSTATUS_TARGET_NOT_CONNECTED;
996 RetVal=NFCSTATUS_INVALID_HANDLE;
1004 RetVal = NFCSTATUS_REJECTED;
1010 RetVal= NFCSTATUS_BUSY;
1036 RetVal = NFCSTATUS_COMMAND_NOT_SUPPORTED;
1086 RetVal = phHal4Nfc_Transceive( gpphLibContext->psHwReference,
1092 if(PHNFCSTATUS(RetVal) == NFCSTATUS_PENDING)
1108 RetVal = NFCSTATUS_FAILED;
1111 return RetVal;
1236 NFCSTATUS RetVal = NFCSTATUS_FAILED;
1241 RetVal = NFCSTATUS_NOT_INITIALISED;
1246 RetVal= NFCSTATUS_INVALID_PARAMETER;
1250 RetVal = NFCSTATUS_SHUTDOWN;
1254 RetVal = NFCSTATUS_BUSY;
1269 RetVal
1280 RetVal = NFCSTATUS_PENDING;
1282 if(NFCSTATUS_PENDING == RetVal)
1293 RetVal = NFCSTATUS_FAILED;
1296 return RetVal;