Lines Matching refs:result

364     cy_en_flashdrv_status_t result = CY_FLASH_DRV_IPC_BUSY;  in Cy_Flash_SendCmd()  local
388 result = CY_FLASH_DRV_SUCCESS; in Cy_Flash_SendCmd()
407 result = CY_FLASH_DRV_SUCCESS; in Cy_Flash_SendCmd()
414 if (CY_FLASH_DRV_SUCCESS == result) in Cy_Flash_SendCmd()
429 result = CY_FLASH_DRV_OPERATION_STARTED; in Cy_Flash_SendCmd()
437 result = Cy_Flash_OperationStatus(); in Cy_Flash_SendCmd()
443 result = CY_FLASH_DRV_IPC_BUSY; in Cy_Flash_SendCmd()
449 result = CY_FLASH_DRV_IPC_BUSY; in Cy_Flash_SendCmd()
476 result = CY_FLASH_DRV_OPERATION_STARTED; in Cy_Flash_SendCmd()
485 result = Cy_Flash_OperationStatus(); in Cy_Flash_SendCmd()
491 result = CY_FLASH_DRV_IPC_BUSY; in Cy_Flash_SendCmd()
498 return (result); in Cy_Flash_SendCmd()
629 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_EraseRow() local
643 result = Cy_Flash_SendCmd(CY_FLASH_BLOCKING_MODE, CY_FLASH_START_ERASE_DELAY); in Cy_Flash_EraseRow()
647 result = Cy_Flash_SendCmd(CY_FLASH_BLOCKING_MODE, CY_FLASH_NO_DELAY); in Cy_Flash_EraseRow()
651 return (result); in Cy_Flash_EraseRow()
676 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_StartEraseRow() local
695 result = Cy_Flash_SendCmd(CY_FLASH_NON_BLOCKING_MODE, CY_FLASH_START_ERASE_DELAY); in Cy_Flash_StartEraseRow()
699 result = Cy_Flash_SendCmd(CY_FLASH_NON_BLOCKING_MODE, CY_FLASH_NO_DELAY); in Cy_Flash_StartEraseRow()
703 return (result); in Cy_Flash_StartEraseRow()
725 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_EraseSector() local
739 result = Cy_Flash_SendCmd(CY_FLASH_BLOCKING_MODE, CY_FLASH_START_ERASE_DELAY); in Cy_Flash_EraseSector()
743 result = Cy_Flash_SendCmd(CY_FLASH_BLOCKING_MODE, CY_FLASH_NO_DELAY); in Cy_Flash_EraseSector()
747 return (result); in Cy_Flash_EraseSector()
772 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_StartEraseSector() local
791 result = Cy_Flash_SendCmd(CY_FLASH_NON_BLOCKING_MODE, CY_FLASH_START_ERASE_DELAY); in Cy_Flash_StartEraseSector()
795 result = Cy_Flash_SendCmd(CY_FLASH_NON_BLOCKING_MODE, CY_FLASH_NO_DELAY); in Cy_Flash_StartEraseSector()
799 return (result); in Cy_Flash_StartEraseSector()
820 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_EraseSubsector() local
834 result = Cy_Flash_SendCmd(CY_FLASH_BLOCKING_MODE, CY_FLASH_START_ERASE_DELAY); in Cy_Flash_EraseSubsector()
838 result = Cy_Flash_SendCmd(CY_FLASH_BLOCKING_MODE, CY_FLASH_NO_DELAY); in Cy_Flash_EraseSubsector()
842 return (result); in Cy_Flash_EraseSubsector()
865 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_StartEraseSubsector() local
884 result = Cy_Flash_SendCmd(CY_FLASH_NON_BLOCKING_MODE, CY_FLASH_START_ERASE_DELAY); in Cy_Flash_StartEraseSubsector()
888 result = Cy_Flash_SendCmd(CY_FLASH_NON_BLOCKING_MODE, CY_FLASH_NO_DELAY); in Cy_Flash_StartEraseSubsector()
892 return (result); in Cy_Flash_StartEraseSubsector()
921 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_ProgramRow() local
936 result = Cy_Flash_SendCmd(CY_FLASH_BLOCKING_MODE, CY_FLASH_START_PROGRAM_DELAY); in Cy_Flash_ProgramRow()
940 result = Cy_Flash_SendCmd(CY_FLASH_BLOCKING_MODE, CY_FLASH_NO_DELAY); in Cy_Flash_ProgramRow()
944 return (result); in Cy_Flash_ProgramRow()
969 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_WriteRow() local
984 result = Cy_Flash_SendCmd(CY_FLASH_BLOCKING_MODE, CY_FLASH_START_WRITE_DELAY); in Cy_Flash_WriteRow()
988 result = Cy_Flash_SendCmd(CY_FLASH_BLOCKING_MODE, CY_FLASH_NO_DELAY); in Cy_Flash_WriteRow()
992 return (result); in Cy_Flash_WriteRow()
1017 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_StartWrite() local
1022 result = Cy_Flash_StartEraseRow(rowAddr); in Cy_Flash_StartWrite()
1024 if (CY_FLASH_DRV_OPERATION_STARTED == result) in Cy_Flash_StartWrite()
1029 result = Cy_Flash_OperationStatus(); in Cy_Flash_StartWrite()
1031 while (result == CY_FLASH_DRV_OPCODE_BUSY); in Cy_Flash_StartWrite()
1033 if (CY_FLASH_DRV_SUCCESS == result) in Cy_Flash_StartWrite()
1035 result = Cy_Flash_StartProgram(rowAddr, data); in Cy_Flash_StartWrite()
1040 return (result); in Cy_Flash_StartWrite()
1079 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_StartProgram() local
1099 result = Cy_Flash_SendCmd(CY_FLASH_NON_BLOCKING_MODE, CY_FLASH_START_PROGRAM_DELAY); in Cy_Flash_StartProgram()
1103 result = Cy_Flash_SendCmd(CY_FLASH_NON_BLOCKING_MODE, CY_FLASH_NO_DELAY); in Cy_Flash_StartProgram()
1107 return (result); in Cy_Flash_StartProgram()
1120 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_RowChecksum() local
1148 result = CY_FLASH_DRV_SUCCESS; in Cy_Flash_RowChecksum()
1161 result = Cy_Flash_ProcessOpcode(flashContext.opcode); in Cy_Flash_RowChecksum()
1168 result = CY_FLASH_DRV_IPC_BUSY; in Cy_Flash_RowChecksum()
1172 return (result); in Cy_Flash_RowChecksum()
1184 cy_en_flashdrv_status_t result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_CalculateHash() local
1209 result = CY_FLASH_DRV_SUCCESS; in Cy_Flash_CalculateHash()
1214 result = Cy_Flash_ProcessOpcode(flashContext.opcode); in Cy_Flash_CalculateHash()
1220 result = CY_FLASH_DRV_IPC_BUSY; in Cy_Flash_CalculateHash()
1224 return (result); in Cy_Flash_CalculateHash()
1236 uint32_t result; in Cy_Flash_GetRowNum() local
1241 result = (CY_FLASH_REGION_ID_EM_EEPROM << CY_FLASH_REGION_ID_SHIFT) | in Cy_Flash_GetRowNum()
1248 result = (CY_FLASH_REGION_ID_SFLASH << CY_FLASH_REGION_ID_SHIFT) | in Cy_Flash_GetRowNum()
1253 result = (CY_FLASH_REGION_ID_MAIN << CY_FLASH_REGION_ID_SHIFT) | in Cy_Flash_GetRowNum()
1257 return (result); in Cy_Flash_GetRowNum()
1282 cy_en_flashdrv_status_t result; in Cy_Flash_ProcessOpcode() local
1288 result = CY_FLASH_DRV_SUCCESS; in Cy_Flash_ProcessOpcode()
1293 result = CY_FLASH_DRV_SUCCESS; in Cy_Flash_ProcessOpcode()
1298 result = CY_FLASH_DRV_INV_PROT; in Cy_Flash_ProcessOpcode()
1303 result = CY_FLASH_DRV_INVALID_FM_PL; in Cy_Flash_ProcessOpcode()
1308 result = CY_FLASH_DRV_INVALID_FLASH_ADDR; in Cy_Flash_ProcessOpcode()
1313 result = CY_FLASH_DRV_ROW_PROTECTED; in Cy_Flash_ProcessOpcode()
1318 result = CY_FLASH_DRV_PROGRESS_NO_ERROR; in Cy_Flash_ProcessOpcode()
1323 result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_ProcessOpcode()
1328 result = CY_FLASH_DRV_OPERATION_STARTED; in Cy_Flash_ProcessOpcode()
1333 result = CY_FLASH_DRV_OPCODE_BUSY; in Cy_Flash_ProcessOpcode()
1338 result = CY_FLASH_DRV_IPC_BUSY; in Cy_Flash_ProcessOpcode()
1343 result = CY_FLASH_DRV_INVALID_INPUT_PARAMETERS; in Cy_Flash_ProcessOpcode()
1348 result = CY_FLASH_DRV_ERR_UNC; in Cy_Flash_ProcessOpcode()
1353 return (result); in Cy_Flash_ProcessOpcode()
1365 cy_en_flashdrv_status_t result = CY_FLASH_DRV_OPCODE_BUSY; in Cy_Flash_OperationStatus() local
1371 result = Cy_Flash_ProcessOpcode(flashContext.opcode); in Cy_Flash_OperationStatus()
1387 return (result); in Cy_Flash_OperationStatus()