Home
last modified time | relevance | path

Searched refs:mtd_read (Results 1 – 25 of 30) sorted by relevance

12

/drivers/mtd/tests/
Dmtd_pagetest.c112 err = mtd_read(mtd, addr0, bufsize, &read, twopages); in verify_eraseblock()
120 err = mtd_read(mtd, addrn - bufsize, bufsize, &read, twopages); in verify_eraseblock()
129 err = mtd_read(mtd, addr, bufsize, &read, twopages); in verify_eraseblock()
148 err = mtd_read(mtd, addr0, bufsize, &read, twopages); in verify_eraseblock()
156 err = mtd_read(mtd, addrn - bufsize, bufsize, &read, twopages); in verify_eraseblock()
165 err = mtd_read(mtd, addr, bufsize, &read, twopages); in verify_eraseblock()
213 err = mtd_read(mtd, addr, pgsize, &read, pp1); in crosstest()
225 err = mtd_read(mtd, addr, pgsize, &read, pp1); in crosstest()
238 err = mtd_read(mtd, addr, pgsize, &read, pp2); in crosstest()
251 err = mtd_read(mtd, addr, pgsize, &read, pp3); in crosstest()
[all …]
Dmtd_subpagetest.c180 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock()
207 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock()
244 err = mtd_read(mtd, addr, subpgsize * k, &read, readbuf); in verify_eraseblock2()
277 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock_ff()
Dmtd_speedtest.c199 err = mtd_read(mtd, addr, mtd->erasesize, &read, iobuf); in read_eraseblock()
220 err = mtd_read(mtd, addr, pgsize, &read, buf); in read_eraseblock_by_page()
246 err = mtd_read(mtd, addr, sz, &read, buf); in read_eraseblock_by_2pages()
261 err = mtd_read(mtd, addr, pgsize, &read, buf); in read_eraseblock_by_2pages()
Dmtd_readtest.c55 ret = mtd_read(mtd, addr, pgsize, &read, buf); in read_eraseblock_by_page()
Dmtd_stresstest.c136 err = mtd_read(mtd, addr, len, &read, readbuf); in do_read()
Dmtd_nandbiterrs.c186 err = mtd_read(mtd, offset, mtd->writesize, &read, rbuffer); in read_page()
Dmtd_torturetest.c141 err = mtd_read(mtd, addr, len, &read, check_buf); in check_eraseblock()
/drivers/mtd/
Dar7part.c73 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions()
95 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions()
103 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions()
114 mtd_read(master, root_offset, sizeof(header), &len, (u8 *)&header); in create_mtd_partitions()
Dbcm63xxpart.c50 ret = mtd_read(master, BCM963XX_CFE_VERSION_OFFSET, 5, &retlen, in bcm63xx_detect_cfe()
61 ret = mtd_read(master, BCM63XX_CFE_MAGIC_OFFSET, 8, &retlen, in bcm63xx_detect_cfe()
101 ret = mtd_read(master, cfelen, sizeof(struct bcm_tag), &retlen, in bcm63xx_parse_cfe_partitions()
Dftl.c171 err = mtd_read(part->mbd.mtd, offset, sizeof(header), &ret, in scan_header()
227 ret = mtd_read(part->mbd.mtd, offset, sizeof(header), &retval, in build_maps()
292 ret = mtd_read(part->mbd.mtd, offset, in build_maps()
488 ret = mtd_read(part->mbd.mtd, offset, in copy_erase_unit()
526 ret = mtd_read(part->mbd.mtd, src, SECTOR_SIZE, &retlen, in copy_erase_unit()
751 ret = mtd_read(part->mbd.mtd, in find_free()
815 ret = mtd_read(part->mbd.mtd, offset, SECTOR_SIZE, &retlen, in ftl_read()
854 ret = mtd_read(part->mbd.mtd, offset, sizeof(uint32_t), &retlen, in set_bam_entry()
Dbcm47xxpart.c89 if (mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, in bcm47xxpart_parse()
180 if (mtd_read(master, offset, 0x4, &bytes_read, in bcm47xxpart_parse()
Dmtdblock.c187 ret = mtd_read(mtd, sect_start, sect_size, in do_cached_write()
225 return mtd_read(mtd, pos, len, &retlen, buf); in do_cached_read()
244 ret = mtd_read(mtd, pos, size, &retlen, buf); in do_cached_read()
Dafs.c78 ret = mtd_read(mtd, ptr, sizeof(fs), &sz, (u_char *)&fs); in afs_read_footer()
135 ret = mtd_read(mtd, ptr, sizeof(*iis), &sz, (u_char *)iis); in afs_read_iis()
Drfd_ftl.c203 rc = mtd_read(part->mbd.mtd, i * part->block_size, in scan_header()
253 rc = mtd_read(part->mbd.mtd, addr, SECTOR_SIZE, &retlen, in rfd_ftl_readsect()
374 rc = mtd_read(part->mbd.mtd, part->blocks[block_no].offset, in move_block_contents()
414 rc = mtd_read(part->mbd.mtd, addr, SECTOR_SIZE, &retlen, in move_block_contents()
563 rc = mtd_read(part->mbd.mtd, part->blocks[block].offset, in find_writable_block()
Dmtdblock_ro.c33 if (mtd_read(dev->mtd, (block * 512), 512, &retlen, buf)) in mtdblock_readsect()
Dssfdc.c126 ret = mtd_read(mtd, offset, SECTOR_SIZE, &retlen, in get_valid_cis_sector()
159 ret = mtd_read(mtd, offset, SECTOR_SIZE, &retlen, sect_buf); in read_physical_sector()
Dinftlmount.c76 ret = mtd_read(mtd, block * inftl->EraseSize, SECTORSIZE, in find_boot_record()
121 mtd_read(mtd, block * inftl->EraseSize + 4096, SECTORSIZE, in find_boot_record()
346 if (mtd_read(mtd, address, SECTORSIZE, &retlen, buf)) in check_free_sectors()
Dnftlcore.c419 ret = mtd_read(mtd, in NFTL_foldchain()
425 ret = mtd_read(mtd, in NFTL_foldchain()
772 int res = mtd_read(mtd, ptr, 512, &retlen, buffer); in nftl_readblock()
Dinftlcore.c346 ret = mtd_read(mtd, in INFTL_foldchain()
352 ret = mtd_read(mtd, in INFTL_foldchain()
920 int ret = mtd_read(mtd, ptr, SECTORSIZE, &retlen, buffer); in inftl_readblock()
Dredboot.c105 ret = mtd_read(master, offset, master->erasesize, &retlen, in parse_redboot_partitions()
Dnftlmount.c66 ret = mtd_read(mtd, block * nftl->EraseSize, SECTORSIZE, in find_boot_record()
278 if (mtd_read(mtd, address, SECTORSIZE, &retlen, buf)) in check_free_sectors()
Dmtdcore.c793 int mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, in mtd_read() function
815 EXPORT_SYMBOL_GPL(mtd_read);
/drivers/mtd/ubi/
Dio.c167 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_io_read()
1346 err = mtd_read(ubi->mtd, addr, len, &read, buf1); in self_check_write()
1410 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_self_check_all_ff()
Ddebug.c44 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_dump_flash()
/drivers/mtd/nand/
Dnand_bbt.c193 res = mtd_read(mtd, from, len, &retlen, buf); in read_bbt()
290 return mtd_read(mtd, offs, len, &retlen, buf); in scan_read_data()
760 res = mtd_read(mtd, to, len, &retlen, buf); in write_bbt()

12