/drivers/mtd/tests/ |
D | mtd_pagetest.c | 112 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 …]
|
D | mtd_subpagetest.c | 180 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()
|
D | mtd_speedtest.c | 199 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()
|
D | mtd_readtest.c | 55 ret = mtd_read(mtd, addr, pgsize, &read, buf); in read_eraseblock_by_page()
|
D | mtd_stresstest.c | 136 err = mtd_read(mtd, addr, len, &read, readbuf); in do_read()
|
D | mtd_nandbiterrs.c | 186 err = mtd_read(mtd, offset, mtd->writesize, &read, rbuffer); in read_page()
|
D | mtd_torturetest.c | 141 err = mtd_read(mtd, addr, len, &read, check_buf); in check_eraseblock()
|
/drivers/mtd/ |
D | ar7part.c | 73 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()
|
D | bcm63xxpart.c | 50 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()
|
D | ftl.c | 171 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()
|
D | bcm47xxpart.c | 89 if (mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, in bcm47xxpart_parse() 180 if (mtd_read(master, offset, 0x4, &bytes_read, in bcm47xxpart_parse()
|
D | mtdblock.c | 187 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()
|
D | afs.c | 78 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()
|
D | rfd_ftl.c | 203 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()
|
D | mtdblock_ro.c | 33 if (mtd_read(dev->mtd, (block * 512), 512, &retlen, buf)) in mtdblock_readsect()
|
D | ssfdc.c | 126 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()
|
D | inftlmount.c | 76 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()
|
D | nftlcore.c | 419 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()
|
D | inftlcore.c | 346 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()
|
D | redboot.c | 105 ret = mtd_read(master, offset, master->erasesize, &retlen, in parse_redboot_partitions()
|
D | nftlmount.c | 66 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()
|
D | mtdcore.c | 793 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/ |
D | io.c | 167 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()
|
D | debug.c | 44 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_dump_flash()
|
/drivers/mtd/nand/ |
D | nand_bbt.c | 193 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()
|