Home
last modified time | relevance | path

Searched refs:blockSize (Results 1 – 22 of 22) sorted by relevance

/drivers/hdf_core/adapter/khdf/liteos/model/storage/src/mtd/
Dmtd_char_lite.c125 size_t blockSize = mtdDevice->eraseSize; in MtdCharRead() local
126 size_t partStart = partition->start_block * blockSize; in MtdCharRead()
127 size_t partSize = (partition->end_block + 1 - partition->start_block) * blockSize; in MtdCharRead()
185 size_t blockSize = mtdDevice->eraseSize; in MtdCharWrite() local
186 size_t partStart = partition->start_block * blockSize; in MtdCharWrite()
187 size_t partSize = (partition->end_block + 1 - partition->start_block) * blockSize; in MtdCharWrite()
244 size_t blockSize = mtdDev->eraseSize; in MtdCharLseek() local
245 size_t endAddr = (partition->end_block + 1) * blockSize; in MtdCharLseek()
246 size_t startAddr = partition->start_block * blockSize; in MtdCharLseek()
/drivers/hdf_core/framework/model/storage/include/mtd/
Dmtd_spi_nor.h34 uint32_t blockSize; member
Dmtd_spi_nand.h53 uint32_t blockSize; member
/drivers/hdf_core/framework/model/storage/src/mmc/
Dmmc_sdio.c222 uint32_t blockSize = blkSize; in SdioDeviceDefaultSetBlockSize() local
231 if (blockSize == 0) { in SdioDeviceDefaultSetBlockSize()
232 blockSize = ((func->maxBlkSize < cntlr->maxBlkSize) ? func->maxBlkSize : cntlr->maxBlkSize); in SdioDeviceDefaultSetBlockSize()
234 blockSize = MMC_MIN(blockSize, MMC_SEC_SIZE); in SdioDeviceDefaultSetBlockSize()
236 ret = SdioSetFbrIoBlockSize(cntlr, blockSize); in SdioDeviceDefaultSetBlockSize()
238 func->curBlkSize = blockSize; in SdioDeviceDefaultSetBlockSize()
613 int32_t SdioDeviceSetBlockSize(struct SdioDevice *sdio, uint32_t blockSize) in SdioDeviceSetBlockSize() argument
623 return sdio->sdioOps->setBlockSize(sdio, blockSize); in SdioDeviceSetBlockSize()
Dsdio_if.c187 int32_t SdioSetBlockSize(DevHandle handle, uint32_t blockSize) in SdioSetBlockSize() argument
197 ret = SdioDeviceSetBlockSize(sdio, blockSize); in SdioSetBlockSize()
Dmmc_protocol.c240 data.blockSize = len; in MmcSendExtCsd()
467 data.blockSize = sizeof(tuningBlk4bit); in MmcSendTuning()
470 data.blockSize = sizeof(tuningBlk8bit); in MmcSendTuning()
651 cmd->data->blockSize = BYTES_PER_BLOCK; in MmcSetupReadWriteBlocksCmd()
1771 data.blockSize = SSR_BYTES_LEN; in SdAcmdSdStatus()
1802 data.blockSize = SCR_BYTES_LEN; in SdAppSendScr()
1925 data.blockSize = len; in SdCmdSwitchFunc()
2854 uint8_t *buf, uint32_t blockNum, uint32_t blockSize) in SdioRwExtended() argument
2885 if (blockNum == 1 && blockSize <= 512) { in SdioRwExtended()
2886 cmd.argument |= ((blockSize == 512) ? 0 : blockSize); /* byte mode */ in SdioRwExtended()
[all …]
/drivers/hdf_core/framework/model/storage/src/mtd/
Dmtd_core.c398 size_t blockSize; in MtdDeviceWriteReadByPageUnlock() local
415 blockSize = (dataLenLeft < (mtdDevice->eraseSize - eraseOffset)) ? in MtdDeviceWriteReadByPageUnlock()
419 while (blockSize > 0) { in MtdDeviceWriteReadByPageUnlock()
423 if (mtdPage.dataLen > blockSize) { in MtdDeviceWriteReadByPageUnlock()
424 mtdPage.dataLen = blockSize; in MtdDeviceWriteReadByPageUnlock()
435 blockSize -= mtdPage.dataLen; in MtdDeviceWriteReadByPageUnlock()
/drivers/hdf_core/framework/model/network/wifi/include/
Dhdf_wifi_config.h64 uint16_t blockSize; member
Dhdf_wlan_config.h83 uint16_t blockSize; member
/drivers/peripheral/codec/interfaces/include/
Dcodec_component_type.h117 Rect blockSize; /** Block size supported. */ member
/drivers/hdf_core/framework/include/platform/
Dsdio_if.h262 int32_t SdioSetBlockSize(DevHandle handle, uint32_t blockSize);
/drivers/hdf_core/adapter/khdf/liteos/model/storage/src/mmc/
Dmmc_block_lite.c57 unsigned long blockSize; /**< number of bytes to erase one block */ member
185 rtGeo.blockSize = RT_BLOCK_SIZE; in LiteosBlockSaveGeometry()
/drivers/hdf_core/framework/model/storage/include/mmc/
Dmmc_sdio.h85 int32_t SdioDeviceSetBlockSize(struct SdioDevice *sdio, uint32_t blockSize);
Dmmc_corex.h270 uint32_t blockSize; /* data block size, byte */ member
/drivers/peripheral/codec/hal/idl_service/src/
Dcodec_component_config.cpp330 {CODEC_CONFIG_KEY_BLOCK_SIZE_WIDTH, cap.port.video.blockSize.width, 0}, in GetVideoPortCapability()
331 {CODEC_CONFIG_KEY_BLOCK_SIZE_HEIGHT, cap.port.video.blockSize.height, 0}, in GetVideoPortCapability()
/drivers/hdf_core/framework/model/network/wifi/bus/
Dhdf_usb_intf.c201 ret = HdfUsbSetBlk(dev, busCfg->blockSize); in HdfUsbInit()
Dhdf_sdio_intf.c342 ret = HdfSdioSetBlk(dev, busCfg->blockSize); in HdfSdioInit()
/drivers/peripheral/codec/hal/src/
Dcodec_config_parser.c138 …{CODEC_CONFIG_KEY_BLOCK_SIZE_WIDTH, (uint32_t*)&cap->port.video.blockSize.width, … in GetVideoPortCapability()
139 …{CODEC_CONFIG_KEY_BLOCK_SIZE_HEIGHT, (uint32_t*)&cap->port.video.blockSize.height, … in GetVideoPortCapability()
/drivers/hdf_core/adapter/khdf/linux/model/storage/
Dsdio_adapter.c196 static int32_t LinuxSdioSetBlockSize(struct SdioDevice *dev, uint32_t blockSize) in LinuxSdioSetBlockSize() argument
204 return sdio_set_block_size(func, blockSize); in LinuxSdioSetBlockSize()
/drivers/hdf_core/framework/model/network/wifi/platform/src/
Dhdf_wlan_config_parser.c355 if (drsOps->GetUint16(node, "blockSize", &busConfig->blockSize, 0) != HDF_SUCCESS) { in ParseWlanBusConfig()
/drivers/peripheral/codec/test/unittest/hdi_adapter/
Dcodec_hdi_adapter_test.cpp224 HDF_LOGI("blockSize.width:%{public}d", cap->port.video.blockSize.width); in PrintCapability()
225 HDF_LOGI("blockSize.height:%{public}d", cap->port.video.blockSize.height); in PrintCapability()
/drivers/interface/codec/v1_0/
DCodecTypes.idl281 struct Rect blockSize; /**< Block size supported. */