Lines Matching refs:eraseOffset

262 static uint32_t SfdpGetEraseTime(uint32_t const eraseOffset, uint8_t const sfdpBuffer[], cy_stc_smi…
1394 static uint32_t SfdpGetEraseTime(uint32_t const eraseOffset, uint8_t const sfdpBuffer[], cy_stc_smi… in SfdpGetEraseTime() argument
1399 …uint32_t eraseTimeDefaultIndex = (((eraseOffset - CY_SMIF_SFDP_BFPT_BYTE_1D) + TYPE_STEP) / TYPE_S… in SfdpGetEraseTime()
1867 uint32_t eraseOffset; in SfdpGetSectorEraseCommand() local
1873 eraseOffset = COMMAND_IS_NOT_FOUND; in SfdpGetSectorEraseCommand()
1894 eraseOffset = FOUR_BYTE_ADDR_ERASE_TYPE_1 + eraseType; in SfdpGetSectorEraseCommand()
1904 device->eraseCmd->command = sfdpBuffer[eraseOffset]; in SfdpGetSectorEraseCommand()
1912 eraseOffset = CY_SMIF_SFDP_BFPT_BYTE_1D + (eraseType * TYPE_STEP); in SfdpGetSectorEraseCommand()
1917 eraseOffset = CY_SMIF_SFDP_BFPT_BYTE_1D; in SfdpGetSectorEraseCommand()
1918 while (INSTRUCTION_NOT_SUPPORTED == sfdpBuffer[eraseOffset]) in SfdpGetSectorEraseCommand()
1920 if (eraseOffset >= CY_SMIF_SFDP_BFPT_BYTE_23) in SfdpGetSectorEraseCommand()
1923 eraseOffset = COMMAND_IS_NOT_FOUND; in SfdpGetSectorEraseCommand()
1926 eraseOffset += TYPE_STEP; /* Check the next Erase Type */ in SfdpGetSectorEraseCommand()
1929 if (COMMAND_IS_NOT_FOUND != eraseOffset) in SfdpGetSectorEraseCommand()
1932 device->eraseCmd->command = sfdpBuffer[eraseOffset]; in SfdpGetSectorEraseCommand()
1939 if (COMMAND_IS_NOT_FOUND != eraseOffset) in SfdpGetSectorEraseCommand()
1952 return(eraseOffset); in SfdpGetSectorEraseCommand()