Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 33) sorted by relevance

12

/trusted-firmware-a-latest/drivers/mtd/nand/
Dcore.c38 unsigned int block = offset / nand_dev.block_size; in nand_read() local
56 block, end_block, page_start, nb_pages, length, offset); in nand_read()
65 while (block <= end_block) { in nand_read()
66 is_bad = nand_dev.mtd_block_is_bad(block); in nand_read()
76 block++; in nand_read()
78 if ((block < max_block) && (end_block < max_block)) { in nand_read()
90 (block * nb_pages) + page, in nand_read()
107 (block * nb_pages) + page, in nand_read()
126 block++; in nand_read()
134 unsigned int block; in nand_seek_bb() local
[all …]
Dspi_nand.c232 static int spi_nand_mtd_block_is_bad(unsigned int block) in spi_nand_mtd_block_is_bad() argument
239 ret = spi_nand_read_page(block * nbpages_per_block, in spi_nand_mtd_block_is_bad()
248 WARN("Block %u is bad\n", block); in spi_nand_mtd_block_is_bad()
Draw_nand.c363 static int nand_mtd_block_is_bad(unsigned int block) in nand_mtd_block_is_bad() argument
372 ret = nand_read_page_cmd(block * nbpages_per_block, in nand_mtd_block_is_bad()
382 WARN("Block %u is bad\n", block); in nand_mtd_block_is_bad()
/trusted-firmware-a-latest/plat/socionext/uniphier/
Duniphier_nand.c75 static int uniphier_nand_block_isbad(struct uniphier_nand *nand, int block) in uniphier_nand_block_isbad() argument
77 int page = nand->pages_per_block * block; in uniphier_nand_block_isbad()
84 if (block < ARRAY_SIZE(nand->bbt) && in uniphier_nand_block_isbad()
85 nand->bbt[block] != UNIPHIER_NAND_BBT_UNKNOWN) in uniphier_nand_block_isbad()
86 return nand->bbt[block]; in uniphier_nand_block_isbad()
111 if (block < ARRAY_SIZE(nand->bbt)) in uniphier_nand_block_isbad()
112 nand->bbt[block] = is_bad; in uniphier_nand_block_isbad()
115 WARN("found bad block at %d. skip.\n", block); in uniphier_nand_block_isbad()
170 int block = 0; in __uniphier_nand_read() local
175 ret = uniphier_nand_block_isbad(nand, block); in __uniphier_nand_read()
[all …]
/trusted-firmware-a-latest/drivers/cadence/nand/
Dcdns_nand.c327 static int cdns_nand_read_page(uint32_t block, uint32_t page, uintptr_t buffer) in cdns_nand_read_page() argument
343 row_address |= ((page & 0x3F) | (block << 6)); in cdns_nand_read_page()
369 uint32_t block = offset / dev_info.block_size; in cdns_nand_read() local
379 block, end_block, page_start, length, offset); in cdns_nand_read()
390 while (block <= end_block) { in cdns_nand_read()
394 result = cdns_nand_read_page(block, page, in cdns_nand_read()
408 result = cdns_nand_read_page(block, page, in cdns_nand_read()
431 block++; in cdns_nand_read()
/trusted-firmware-a-latest/drivers/amlogic/crypto/
Dsha_dma.c159 memcpy(ctx->block + ctx->blocksz, data, nr); in asd_sha_update()
166 asd_compute_sha(ctx, ctx->block, SHA256_BLOCKSZ, 0); in asd_sha_update()
175 memcpy(ctx->block + ctx->blocksz, data, nr); in asd_sha_update()
182 asd_compute_sha(ctx, ctx->block, ctx->blocksz, 1); in asd_sha_finalize()
/trusted-firmware-a-latest/docs/components/spd/
Dtrusty-dispatcher.rst25 can be set to a platform specific parameter block, and ``args->arg2``
26 should then be set to the size of that block.
/trusted-firmware-a-latest/include/drivers/amlogic/crypto/
Dsha_dma.h20 uint8_t block[SHA256_BLOCKSZ]; member
/trusted-firmware-a-latest/include/drivers/
Dnand.h31 int (*mtd_block_is_bad)(unsigned int block);
/trusted-firmware-a-latest/docs/components/fconf/
Dmpmm-bindings.rst33 .. code-block::
Damu-bindings.rst76 .. code-block::
/trusted-firmware-a-latest/docs/design_documents/
Dmeasured_boot.rst118 .. code-block:: c
139 .. code-block:: c
161 .. code-block:: c
190 .. code-block:: c
209 .. code-block:: c
Drss.rst70 .. code-block:: bash
154 .. code-block:: bash
223 .. code-block:: bash
236 .. code-block:: c
312 .. code-block:: c
340 .. code-block:: c
373 .. code-block:: bash
445 .. code-block:: c
473 .. code-block:: bash
557 .. code-block:: JSON
[all …]
Ddrtm_poc.rst113 .. code-block:: shell
Dcmake_framework.rst137 .. code-block:: cmake
/trusted-firmware-a-latest/docs/security_advisories/
Dsecurity-advisory-tfv-1.rst67 * If last block is more than expected then
68 * clip the block to the required image size.
86 /* Copy image for given block size. */
Dsecurity-advisory-tfv-10.rst70 extension block extends to the end of the ``TBSCertificate``.
/trusted-firmware-a-latest/drivers/nxp/sd/
Dsd_mmc.c1251 static int esdhc_read_block(struct mmc *mmc, void *dst, uint32_t block) in esdhc_read_block() argument
1267 offset = block; in esdhc_read_block()
1269 offset = block * mmc->card.block_len; in esdhc_read_block()
1297 static int esdhc_write_block(struct mmc *mmc, void *src, uint32_t block) in esdhc_write_block() argument
1313 offset = block; in esdhc_write_block()
1315 offset = block * mmc->card.block_len; in esdhc_write_block()
/trusted-firmware-a-latest/tools/nxp/create_pbl/
DREADME33 on Boot Source for block copy.
/trusted-firmware-a-latest/lib/zlib/
Dzutil.h98 void _Cdecl farfree( void *block );
/trusted-firmware-a-latest/docs/components/
Drealm-management-extension.rst208 .. code-block:: shell
286 virtio block device to Linux kernel. It can be ignored if NS Host is
292 .. code-block:: shell
307 .. code-block:: shell
Dfirmware-update.rst312 if (source block is in secure memory) return -ENOMEM
313 if (source block is not mapped into BL1) return -ENOMEM
319 block or multiple blocks. In either case, the total size of the image must be
323 The ``image_addr`` and ``block_size`` specify the source memory block to copy from.
Dxlat-tables-lib-v2-design.rst374 blocks of that level. For example, for a 4 KiB page size, a level 2 block entry
380 descriptors. If a block entry could be able to describe a translation, but that
381 level does not allow block descriptors, a table descriptor will have to be used
/trusted-firmware-a-latest/docs/plat/
Dimx8m.rst86 Mapping the entire DRAM allows the usage of 2MB block mapping in Level-2
Dqemu.rst191 .. _issue in QEMU: https://git.qemu.org/?p=qemu.git;a=blob;f=hw/block/pflash_cfi01.c;h=0cbc2fb4cbf6…

12