Home
last modified time | relevance | path

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

/rk3399_ARM-atf/drivers/brcm/emmc/
H A Demmc_pboot_hal_memory_drv.c134 p_sdhandle->device->cfg.blockSize)) { in bcm_emmc_init()
330 const size_t blockSize = p_sdhandle->device->cfg.blockSize; in sdio_read() local
349 blockAddr = (uint32_t) (mem_addr / blockSize); in sdio_read()
350 offset = (uint32_t) (mem_addr - (blockAddr * blockSize)); in sdio_read()
352 blockAddr = (uint32_t) (mem_addr / blockSize) * blockSize; in sdio_read()
365 if (remSize < (blockSize - offset)) { in sdio_read()
370 remSize -= (blockSize - offset); in sdio_read()
371 rdCount += (blockSize - offset); in sdio_read()
372 manual_copy_size = blockSize - offset; in sdio_read()
394 blockAddr += blockSize; in sdio_read()
[all …]
H A Demmc_csl_sdcard.c479 handle->device->cfg.blockSize = 512; in init_mmc_card()
530 if ((length / handle->device->cfg.blockSize) > 1) { in xfer_data()
546 handle->device->cfg.blockSize, base); in xfer_data()
551 handle->device->cfg.blockSize, base); in xfer_data()
656 uint32_t rem, blockSize, event; in write_buffer() local
659 blockSize = handle->device->cfg.blockSize; in write_buffer()
677 if (rem >= blockSize) in write_buffer()
679 blockSize, pData); in write_buffer()
684 if (rem > blockSize) { in write_buffer()
685 rem -= blockSize; in write_buffer()
[all …]
H A Demmc_chal_sd.c700 if (length <= handle->cfg.blockSize) { in chal_sd_setup_xfer()
703 blocks = length / handle->cfg.blockSize; in chal_sd_setup_xfer()
704 handle->ctrl.blkReg = (blocks << 16) | handle->cfg.blockSize | in chal_sd_setup_xfer()
727 uint32_t i, leftOver = 0, blockSize, size, value = 0; in chal_sd_write_buffer() local
735 blockSize = handle->cfg.blockSize; in chal_sd_write_buffer()
741 if (length >= blockSize) { in chal_sd_write_buffer()
742 size = blockSize; in chal_sd_write_buffer()
782 uint32_t i, size, leftOver, blockSize, value; in chal_sd_read_buffer() local
792 blockSize = handle->cfg.blockSize; in chal_sd_read_buffer()
795 if (length >= blockSize) { in chal_sd_read_buffer()
[all …]
H A Demmc_csl_sdcmd.c239 handle->device->cfg.blockSize = handle->card->maxRdBlkLen; in sd_cmd9()
/rk3399_ARM-atf/include/drivers/brcm/emmc/
H A Demmc_chal_sd.h151 uint32_t blockSize; /* access block size (512 for HC card) */ member