/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 | bcm47xxpart.c | 71 err = mtd_read(master, offset, sizeof(buf), &bytes_read, in bcm47xxpart_trx_data_part_name() 134 err = mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, in bcm47xxpart_parse() 259 err = mtd_read(master, offset + 0x8000, 0x4, &bytes_read, in bcm47xxpart_parse() 283 err = mtd_read(master, offset, 0x4, &bytes_read, in bcm47xxpart_parse()
|
D | bcm63xxpart.c | 52 ret = mtd_read(master, BCM963XX_CFE_VERSION_OFFSET, 5, &retlen, in bcm63xx_detect_cfe() 63 ret = mtd_read(master, BCM63XX_CFE_MAGIC_OFFSET, 8, &retlen, in bcm63xx_detect_cfe() 104 ret = mtd_read(master, cfelen, sizeof(struct bcm_tag), &retlen, in bcm63xx_parse_cfe_partitions()
|
D | ftl.c | 170 err = mtd_read(part->mbd.mtd, offset, sizeof(header), &ret, in scan_header() 226 ret = mtd_read(part->mbd.mtd, offset, sizeof(header), &retval, in build_maps() 291 ret = mtd_read(part->mbd.mtd, offset, in build_maps() 487 ret = mtd_read(part->mbd.mtd, offset, in copy_erase_unit() 525 ret = mtd_read(part->mbd.mtd, src, SECTOR_SIZE, &retlen, in copy_erase_unit() 750 ret = mtd_read(part->mbd.mtd, in find_free() 814 ret = mtd_read(part->mbd.mtd, offset, SECTOR_SIZE, &retlen, in ftl_read() 853 ret = mtd_read(part->mbd.mtd, offset, sizeof(uint32_t), &retlen, in set_bam_entry()
|
D | mtdblock.c | 186 ret = mtd_read(mtd, sect_start, sect_size, in do_cached_write() 224 return mtd_read(mtd, pos, len, &retlen, buf); in do_cached_read() 243 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 | 34 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 | 75 ret = mtd_read(mtd, block * inftl->EraseSize, SECTORSIZE, in find_boot_record() 120 mtd_read(mtd, block * inftl->EraseSize + 4096, SECTORSIZE, in find_boot_record() 345 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() 282 if (mtd_read(mtd, address, SECTORSIZE, &retlen, buf)) in check_free_sectors()
|
D | mtdoops.c | 262 ret = mtd_read(mtd, page * record_size, MTDOOPS_HEADER_SIZE, in find_next_position()
|
D | mtdcore.c | 912 int mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, in mtd_read() function 934 EXPORT_SYMBOL_GPL(mtd_read);
|
/drivers/mtd/tests/ |
D | subpagetest.c | 138 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock() 165 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock() 202 err = mtd_read(mtd, addr, subpgsize * k, &read, readbuf); in verify_eraseblock2() 235 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock_ff()
|
D | mtd_test.c | 88 err = mtd_read(mtd, addr, size, &read, buf); in mtdtest_read()
|
D | nandbiterrs.c | 153 err = mtd_read(mtd, offset, mtd->writesize, &read, rbuffer); in read_page()
|
D | torturetest.c | 114 err = mtd_read(mtd, addr, len, &read, check_buf); in check_eraseblock()
|
/drivers/firmware/broadcom/ |
D | bcm47xx_nvram.c | 156 err = mtd_read(mtd, 0, sizeof(header), &bytes_read, (uint8_t *)&header); in nvram_init() 166 err = mtd_read(mtd, 0, nvram_len, &nvram_len, in nvram_init()
|
/drivers/net/ethernet/sfc/ |
D | mtd.c | 82 part->mtd._read = efx->type->mtd_read; in efx_mtd_add()
|
/drivers/mtd/ubi/ |
D | io.c | 167 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_io_read() 1350 err = mtd_read(ubi->mtd, addr, len, &read, buf1); in self_check_write() 1414 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 | 198 res = mtd_read(mtd, from, len, &retlen, buf); in read_bbt() 300 return mtd_read(mtd, offs, len, &retlen, buf); in scan_read_data() 722 res = mtd_read(mtd, to, len, &retlen, buf); in write_bbt()
|