Searched refs:wbuf (Results 1 – 1 of 1) sorted by relevance
417 uint8_t wbuf[4]; in NVSSPI25X_write() local490 wbuf[0] = SPIFLASH_WRITE; in NVSSPI25X_write()491 wbuf[1] = (foffset >> 16) & 0xff; in NVSSPI25X_write()492 wbuf[2] = (foffset >> 8) & 0xff; in NVSSPI25X_write()493 wbuf[3] = foffset & 0xff; in NVSSPI25X_write()507 if (extFlashSpiWrite(wbuf, sizeof(wbuf)) != NVS_STATUS_SUCCESS) { in NVSSPI25X_write()614 uint8_t wbuf[4]; in doErase() local651 wbuf[0] = SPIFLASH_SECTOR_ERASE; in doErase()656 wbuf[0] = SPIFLASH_SUBSECTOR_ERASE; in doErase()661 wbuf[1] = (sectorBase >> 16) & 0xff; in doErase()[all …]