Lines Matching refs:GetInstance
46 otPlatFlashInit(&GetInstance()); in Init()
48 mSwapSize = otPlatFlashGetSwapSize(&GetInstance()); in Init()
60 otPlatFlashRead(&GetInstance(), mSwapIndex, 0, &swapMarker, sizeof(swapMarker)); in Init()
70 otPlatFlashRead(&GetInstance(), mSwapIndex, mSwapUsed, &record, sizeof(record)); in Init()
100 otPlatFlashRead(&GetInstance(), mSwapIndex, offset, &temp, sizeof(temp)); in SanitizeFreeSpace()
124 otPlatFlashRead(&GetInstance(), mSwapIndex, offset, &record, sizeof(record)); in Get()
147 … otPlatFlashRead(&GetInstance(), mSwapIndex, offset + sizeof(record), aValue, readLength); in Get()
193 otPlatFlashWrite(&GetInstance(), mSwapIndex, mSwapUsed, &record, record.GetSize()); in Add()
196 otPlatFlashWrite(&GetInstance(), mSwapIndex, mSwapUsed, &record, sizeof(RecordHeader)); in Add()
211 otPlatFlashRead(&GetInstance(), mSwapIndex, aOffset, &record, sizeof(record)); in DoesValidRecordExist()
229 otPlatFlashErase(&GetInstance(), dstIndex); in Swap()
233 otPlatFlashRead(&GetInstance(), mSwapIndex, srcOffset, &record, sizeof(RecordHeader)); in Swap()
242 otPlatFlashRead(&GetInstance(), mSwapIndex, srcOffset, &record, record.GetSize()); in Swap()
243 otPlatFlashWrite(&GetInstance(), dstIndex, dstOffset, &record, record.GetSize()); in Swap()
248 otPlatFlashWrite(&GetInstance(), dstIndex, 0, &sSwapActive, sizeof(sSwapActive)); in Swap()
249 otPlatFlashWrite(&GetInstance(), mSwapIndex, 0, &sSwapInactive, sizeof(sSwapInactive)); in Swap()
263 otPlatFlashRead(&GetInstance(), mSwapIndex, offset, &record, sizeof(record)); in Delete()
278 otPlatFlashWrite(&GetInstance(), mSwapIndex, offset, &record, sizeof(record)); in Delete()
289 otPlatFlashWrite(&GetInstance(), mSwapIndex, offset, &record, sizeof(record)); in Delete()
300 otPlatFlashErase(&GetInstance(), 0); in Wipe()
301 otPlatFlashWrite(&GetInstance(), 0, 0, &sSwapActive, sizeof(sSwapActive)); in Wipe()