Home
last modified time | relevance | path

Searched refs:pageSize (Results 1 – 5 of 5) sorted by relevance

/device/soc/hisilicon/common/platform/mtd/hifmc100/spi_nand/
Dhifmc100_spi_nand.c78 ret = drsOps->GetUint32(node, "page_size", &info->pageSize, 0); in HifmcCntlrReadSpinandInfo()
105 spi->mtd.writeSize = spinandInfo->pageSize; in HifmcCntlrFillSpiNand()
106 spi->mtd.writeSizeShift = MtdFfs(spinandInfo->pageSize) - 1; in HifmcCntlrFillSpiNand()
107 spi->mtd.readSize = spinandInfo->pageSize; in HifmcCntlrFillSpiNand()
373 unsigned int pageSize; member
395 for (; tab->pageSize != 0; tab++) { in HifmcCntlrGetEccInfo()
396 if (tab->pageSize != spi->mtd.writeSize) { in HifmcCntlrGetEccInfo()
413 static int HifmcGetPageSizeConfig(size_t pageSize) in HifmcGetPageSizeConfig() argument
415 switch (pageSize) { in HifmcGetPageSizeConfig()
464 pageCfg = HifmcGetPageSizeConfig(ecc->pageSize); in HifmcCntlrInitOob()
[all …]
/device/soc/winnermicro/wm800/board/platform/drivers/internalflash/
Dwm_internal_fls.c705 uint16_t pageSize = 0; in tls_fls_otp_write() local
721 pageSize = inside_fls->OTPWRParam.pageSize; in tls_fls_otp_write()
722 if (eraseSize == 0 || pageSize == 0) { in tls_fls_otp_write()
730 …addr 0x%x, eraseAddr 0x%x, eraseSize 0x%x, pageSize 0x%x\n", addr, eraseAddr, eraseSize, pageSize); in tls_fls_otp_write()
740 l = size > pageSize ? pageSize : size; in tls_fls_otp_write()
756 l = size > pageSize ? pageSize : size; in tls_fls_otp_write()
1298 fls->OTPWRParam.pageSize = 256; in tls_fls_init()
/device/soc/hisilicon/common/platform/mtd/hifmc100/common/
Dhifmc100.c280 ALIGN(cntlr->pageSize + cntlr->oobSize, HIFMC_DMA_ALIGN_SIZE)); in HifmcCntlrInitAfterScan()
285 cntlr->bufferSize = ALIGN(cntlr->pageSize + cntlr->oobSize, HIFMC_DMA_ALIGN_SIZE); in HifmcCntlrInitAfterScan()
293 HDF_LOGD("%s: cntlr pageSize=%zu)", __func__, cntlr->pageSize); in HifmcCntlrInitAfterScan()
Dhifmc100.h38 size_t pageSize; member
/device/soc/winnermicro/wm800/board/include/driver/
Dwm_internal_flash.h132 uint16_t pageSize; member