Home
last modified time | relevance | path

Searched refs:page_size (Results 1 – 11 of 11) sorted by relevance

/arm-trusted-firmware-2.8.0/drivers/mtd/nand/
A Dcore.c41 (offset % nand_dev.block_size) / nand_dev.page_size; in nand_read()
42 unsigned int nb_pages = nand_dev.block_size / nand_dev.page_size; in nand_read()
43 unsigned int start_offset = offset % nand_dev.page_size; in nand_read()
60 if (((start_offset != 0U) || (length % nand_dev.page_size) != 0U) && in nand_read()
61 (scratch_buff_size < nand_dev.page_size)) { in nand_read()
87 (length < nand_dev.page_size)) { in nand_read()
96 bytes_read = MIN((size_t)(nand_dev.page_size - in nand_read()
113 bytes_read = nand_dev.page_size; in nand_read()
A Dspi_nand.c164 uint32_t page_nb = page - (block_nb * spinand_dev.nand_dev->page_size); in spi_nand_load_page()
166 spinand_dev.nand_dev->page_size; in spi_nand_load_page()
183 spinand_dev.nand_dev->page_size; in spi_nand_read_from_cache()
185 uint32_t page_sh = __builtin_ctz(spinand_dev.nand_dev->page_size) + 1U; in spi_nand_read_from_cache()
236 spinand_dev.nand_dev->page_size; in spi_nand_mtd_block_is_bad()
241 spinand_dev.nand_dev->page_size, in spi_nand_mtd_block_is_bad()
260 spinand_dev.nand_dev->page_size, true); in spi_nand_mtd_read_page()
289 assert((spinand_dev.nand_dev->page_size != 0U) && in spi_nand_init()
316 spinand_dev.nand_dev->page_size, in spi_nand_init()
A Draw_nand.c325 rawnand_dev.nand_dev->page_size = page.bytes_per_page; in nand_read_param_page()
336 rawnand_dev.nand_dev->page_size, in nand_read_param_page()
371 rawnand_dev.nand_dev->page_size; in nand_mtd_block_is_bad()
378 rawnand_dev.nand_dev->page_size, in nand_mtd_block_is_bad()
399 rawnand_dev.nand_dev->page_size); in nand_mtd_read_page_raw()
433 assert((rawnand_dev.nand_dev->page_size != 0U) && in nand_raw_init()
/arm-trusted-firmware-2.8.0/drivers/nxp/ifc/nand/
A Difc_nand.c261 if (nand->page_size == U(512)) { in nand_read_data()
279 if (nand->page_size == U(512)) { in nand_read_data()
305 if (nand->page_size == U(512)) in nand_read_data()
307 else if (nand->page_size == U(2048)) in nand_read_data()
328 (col_add + nand->page_size); in nand_read_data()
333 nand->page_size); in nand_read_data()
361 nand->page_size); in nand_read()
408 if (size < nand->page_size) { in nand_read()
412 byte_cnt = nand->page_size; in nand_read()
596 uint32_t page_size; in ifc_nand_read() local
[all …]
A Difc.h250 uint32_t page_size; member
/arm-trusted-firmware-2.8.0/plat/st/stm32mp1/
A Dstm32mp1_boot_device.c85 nand_dev->page_size = 0x800U; in get_data_from_otp()
89 nand_dev->page_size = 0x1000U; in get_data_from_otp()
93 nand_dev->page_size = 0x2000U; in get_data_from_otp()
103 nand_dev->block_size = 64U * nand_dev->page_size; in get_data_from_otp()
107 nand_dev->block_size = 128U * nand_dev->page_size; in get_data_from_otp()
111 nand_dev->block_size = 256U * nand_dev->page_size; in get_data_from_otp()
159 nand_dev->page_size, nand_dev->size); in get_data_from_otp()
/arm-trusted-firmware-2.8.0/drivers/brcm/
A Dspi_flash.c32 .page_size = _page_size, \
171 read_len = MIN(flash->page_size, (len - read_len)); in spi_flash_read()
193 unsigned long byte_addr, page_size; in spi_flash_write() local
205 page_size = flash->page_size; in spi_flash_write()
210 byte_addr = offset % page_size; in spi_flash_write()
212 (uint32_t)(page_size - byte_addr)); in spi_flash_write()
297 flash->page_size = info->page_size; in spi_flash_probe()
/arm-trusted-firmware-2.8.0/plat/socionext/uniphier/
A Duniphier_nand.c54 int page_size; member
78 int column = nand->page_size; in uniphier_nand_block_isbad()
166 int page_size = nand->page_size; in __uniphier_nand_read() local
168 int pages_to_read = div_round_up(size, page_size); in __uniphier_nand_read()
205 p += page_size * page_count; in __uniphier_nand_read()
246 nand->page_size = in uniphier_nand_hw_init()
278 uniphier_nand_dev_spec.block_size = uniphier_nand.page_size; in uniphier_nand_init()
/arm-trusted-firmware-2.8.0/include/drivers/brcm/
A Dsf.h38 uint32_t page_size; member
60 uint16_t page_size; member
/arm-trusted-firmware-2.8.0/include/drivers/
A Dnand.h26 unsigned int page_size; member
/arm-trusted-firmware-2.8.0/drivers/st/fmc/
A Dstm32_fmc2_nand.c510 unsigned int eccsteps = nand->page_size / eccsize; in stm32_fmc2_read_page()
525 for (s = 0U, i = nand->page_size + FMC2_BBM_LEN, p = (uint8_t *)buffer; in stm32_fmc2_read_page()

Completed in 20 milliseconds