Searched refs:readlen (Results 1 – 9 of 9) sorted by relevance
/u-boot/fs/ |
A D | fs_internal.c | 44 int readlen; in fs_devread() local 51 readlen = min((int)blk->blksz - byte_offset, in fs_devread() 53 memcpy(buf, sec_buf + byte_offset, readlen); in fs_devread() 54 buf += readlen; in fs_devread() 55 byte_len -= readlen; in fs_devread()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | denali_spl.c | 189 int block, page, column, readlen; in nand_spl_load_image() local 217 readlen = min(page_size - column, (int)size); in nand_spl_load_image() 221 memmove(dst, dst + column, readlen); in nand_spl_load_image() 225 size -= readlen; in nand_spl_load_image() 226 dst += readlen; in nand_spl_load_image()
|
A D | nand_base.c | 2315 uint32_t readlen = ops->len; in nand_do_read_ops() local 2341 bytes = min(mtd->writesize - col, readlen); in nand_do_read_ops() 2449 readlen -= bytes; in nand_do_read_ops() 2459 if (!readlen) in nand_do_read_ops() 2477 ops->retlen = ops->len - (size_t) readlen; in nand_do_read_ops() 2658 int readlen = ops->ooblen; in nand_do_read_oob() local 2664 __func__, (unsigned long long)from, readlen); in nand_do_read_oob() 2703 len = min(len, readlen); in nand_do_read_oob() 2714 readlen -= len; in nand_do_read_oob() 2715 if (!readlen) in nand_do_read_oob() [all …]
|
A D | zynq_nand.c | 531 u32 readlen, u8 *buf, int page) in zynq_nand_read_subpage_raw() argument 537 chip->read_buf(mtd, buf, readlen); in zynq_nand_read_subpage_raw()
|
A D | sunxi_nand.c | 1050 uint32_t data_offs, uint32_t readlen, in sunxi_nfc_hw_ecc_read_subpage() argument 1061 i < DIV_ROUND_UP(data_offs + readlen, ecc->size); i++) { in sunxi_nfc_hw_ecc_read_subpage()
|
/u-boot/drivers/mtd/onenand/ |
A D | onenand_bbt.c | 71 size_t readlen, ooblen; in create_bbt() local 81 readlen = bd->len; in create_bbt() 92 ops.ooblen = readlen; in create_bbt()
|
/u-boot/tools/env/ |
A D | fw_env.c | 899 size_t readlen = count; /* current read length */ in flash_read_buf() local 919 if (readlen > blocklen - block_seek) in flash_read_buf() 920 readlen = blocklen - block_seek; in flash_read_buf() 931 if (blockstart + block_seek + readlen > environment_end(dev)) { in flash_read_buf() 948 rc = read(fd, buf + processed, readlen); in flash_read_buf() 954 if (rc != readlen) { in flash_read_buf() 957 DEVNAME(dev), readlen, rc); in flash_read_buf() 965 processed += readlen; in flash_read_buf() 966 readlen = min(blocklen, count - processed); in flash_read_buf()
|
/u-boot/net/ |
A D | nfs.c | 364 static void nfs_read_req(int offset, int readlen) in nfs_read_req() argument 377 *p++ = htonl(readlen); in nfs_read_req() 385 *p++ = htonl(readlen); in nfs_read_req()
|
/u-boot/tools/ |
A D | asn1_compiler.c | 563 ssize_t readlen; in main() local 610 if ((readlen = read(fd, buffer, st.st_size)) < 0) { in main() 620 if (readlen != st.st_size) { in main() 636 buffer[readlen] = 0; in main() 637 tokenise(buffer, buffer + readlen); in main()
|
Completed in 23 milliseconds