/linux/drivers/mtd/parsers/ |
H A D | afs.c | 86 ret = mtd_read(mtd, ptr, 4, &sz, (u_char *)&magic); in afs_is_v1() 106 ret = mtd_read(mtd, ptr, 8, &sz, (u_char *)foot); in afs_is_v2() 143 ret = mtd_read(mtd, ptr, sizeof(fs), &sz, (u_char *)&fs); in afs_parse_v1_partition() 182 ret = mtd_read(mtd, iis_ptr, sizeof(iis), &sz, (u_char *)&iis); in afs_parse_v1_partition() 240 ret = mtd_read(mtd, ptr, sizeof(footer), &sz, (u_char *)footer); in afs_parse_v2_partition() 254 ret = mtd_read(mtd, ptr, sizeof(imginfo), &sz, (u_char *)imginfo); in afs_parse_v2_partition()
|
H A D | bcm47xxpart.c | 133 err = mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, in bcm47xxpart_parse() 236 err = mtd_read(master, offset + (blocksize / 2), 0x4, &bytes_read, in bcm47xxpart_parse() 260 err = mtd_read(master, offset, 0x4, &bytes_read, in bcm47xxpart_parse()
|
H A D | parser_trx.c | 35 err = mtd_read(master, offset, sizeof(buf), &bytes_read, in parser_trx_data_part_name() 73 err = mtd_read(mtd, 0, sizeof(trx), &bytes_read, (uint8_t *)&trx); in parser_trx_parse()
|
H A D | tplink_safeloader.c | 42 err = mtd_read(mtd, offset, sizeof(hdr), &bytes_read, (uint8_t *)&hdr); in mtd_parser_tplink_safeloader_read_table() 54 err = mtd_read(mtd, offset + sizeof(hdr), size, &bytes_read, buf); in mtd_parser_tplink_safeloader_read_table()
|
H A D | scpart.c | 65 res2 = mtd_read(master, partmap_offs, master->erasesize, &retlen, buf); in scpart_scan_partmap() 114 res2 = mtd_read(master, offs, PART_MAGIC_LEN, &retlen, rdbuf); in scpart_find_partmap()
|
H A D | brcm_u-boot.c | 47 err = mtd_read(mtd, offset, sizeof(header), &bytes_read, (uint8_t *)&header); in brcm_u_boot_parse()
|
H A D | bcm63xxpart.c | 59 ret = mtd_read(master, BCM963XX_NVRAM_OFFSET, BCM963XX_NVRAM_V5_SIZE, in bcm63xx_read_nvram()
|
H A D | parser_imagetag.c | 35 ret = mtd_read(master, tag_offset, sizeof(*buf), &retlen, (void *)buf); in bcm963xx_read_imagetag()
|
/linux/drivers/mtd/ |
H A D | ftl.c | 164 err = mtd_read(part->mbd.mtd, offset, sizeof(header), &ret, in scan_header() 221 ret = mtd_read(part->mbd.mtd, offset, sizeof(header), &retval, in build_maps() 286 ret = mtd_read(part->mbd.mtd, offset, in build_maps() 452 ret = mtd_read(part->mbd.mtd, offset, in copy_erase_unit() 490 ret = mtd_read(part->mbd.mtd, src, SECTOR_SIZE, &retlen, in copy_erase_unit() 711 ret = mtd_read(part->mbd.mtd, in find_free() 775 ret = mtd_read(part->mbd.mtd, offset, SECTOR_SIZE, &retlen, in ftl_read() 814 ret = mtd_read(part->mbd.mtd, offset, sizeof(uint32_t), &retlen, in set_bam_entry()
|
H A D | mtdblock.c | 154 ret = mtd_read(mtd, sect_start, sect_size, in do_cached_write() 192 ret = mtd_read(mtd, pos, len, &retlen, buf); in do_cached_read() 215 ret = mtd_read(mtd, pos, size, &retlen, buf); in do_cached_read()
|
H A D | rfd_ftl.c | 202 rc = mtd_read(part->mbd.mtd, i * part->block_size, in scan_header() 252 rc = mtd_read(part->mbd.mtd, addr, SECTOR_SIZE, &retlen, in rfd_ftl_readsect() 336 rc = mtd_read(part->mbd.mtd, part->blocks[block_no].offset, in move_block_contents() 376 rc = mtd_read(part->mbd.mtd, addr, SECTOR_SIZE, &retlen, in move_block_contents() 525 rc = mtd_read(part->mbd.mtd, part->blocks[block].offset, in find_writable_block()
|
H A D | mtdblock_ro.c | 21 err = mtd_read(dev->mtd, (block * 512), 512, &retlen, buf); in mtdblock_readsect()
|
H A D | ssfdc.c | 122 ret = mtd_read(mtd, offset, SECTOR_SIZE, &retlen, in get_valid_cis_sector() 155 ret = mtd_read(mtd, offset, SECTOR_SIZE, &retlen, sect_buf); in read_physical_sector()
|
H A D | inftlmount.c | 62 ret = mtd_read(mtd, block * inftl->EraseSize, SECTORSIZE, in find_boot_record() 107 mtd_read(mtd, block * inftl->EraseSize + 4096, SECTORSIZE, in find_boot_record() 330 if (mtd_read(mtd, address, SECTORSIZE, &retlen, buf)) in check_free_sectors()
|
H A D | nftlcore.c | 406 ret = mtd_read(mtd, in NFTL_foldchain() 412 ret = mtd_read(mtd, in NFTL_foldchain() 758 int res = mtd_read(mtd, ptr, 512, &retlen, buffer); in nftl_readblock()
|
H A D | inftlcore.c | 333 ret = mtd_read(mtd, in INFTL_foldchain() 339 ret = mtd_read(mtd, in INFTL_foldchain() 907 int ret = mtd_read(mtd, ptr, SECTORSIZE, &retlen, buffer); in inftl_readblock()
|
H A D | mtdpstore.c | 324 ret = mtd_read(cxt->mtd, off + done, size - done, &retlen, in mtdpstore_read() 458 ret = mtd_read(mtd, off, mtd->erasesize, &retlen, buf); in mtdpstore_flush_removed_do()
|
/linux/drivers/firmware/broadcom/ |
H A D | bcm47xx_nvram.c | 166 err = mtd_read(mtd, 0, sizeof(header), &bytes_read, (uint8_t *)&header); in nvram_init() 176 err = mtd_read(mtd, 0, nvram_len, &nvram_len, in nvram_init()
|
/linux/drivers/nvmem/ |
H A D | u-boot-env.c | 32 err = mtd_read(priv->mtd, offset, bytes, &bytes_read, val); in u_boot_env_read()
|
/linux/drivers/mtd/tests/ |
H A D | mtd_test.c | 87 err = mtd_read(mtd, addr, size, &read, buf); in mtdtest_read()
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mtd.c | 73 part->mtd._read = efx->type->mtd_read; in efx_siena_mtd_add()
|
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | mtd.c | 70 part->mtd._read = efx->type->mtd_read; in ef4_mtd_add()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | mtd.c | 73 part->mtd._read = efx->type->mtd_read; in efx_mtd_add()
|
/linux/fs/jffs2/ |
H A D | wbuf.c | 237 ret = mtd_read(c->mtd, ofs, c->wbuf_pagesize, &retlen, c->wbuf_verify); in jffs2_verify_write() 348 ret = mtd_read(c->mtd, start, c->wbuf_ofs - start, &retlen, in jffs2_wbuf_recover() 963 return mtd_read(c->mtd, ofs, len, retlen, buf); in jffs2_flash_read() 967 ret = mtd_read(c->mtd, ofs, len, retlen, buf); in jffs2_flash_read()
|
/linux/drivers/mtd/ubi/ |
H A D | io.c | 154 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_io_read() 1384 err = mtd_read(ubi->mtd, addr, len, &read, buf1); in self_check_write() 1448 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_self_check_all_ff()
|