Home
last modified time | relevance | path

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

12

/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()
Dbcm47xxpart.c71 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()
Dbcm63xxpart.c52 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()
Dftl.c170 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()
Dmtdblock.c186 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()
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.c34 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.c75 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()
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()
282 if (mtd_read(mtd, address, SECTORSIZE, &retlen, buf)) in check_free_sectors()
Dmtdoops.c262 ret = mtd_read(mtd, page * record_size, MTDOOPS_HEADER_SIZE, in find_next_position()
Dmtdcore.c912 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/
Dsubpagetest.c138 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()
Dmtd_test.c88 err = mtd_read(mtd, addr, size, &read, buf); in mtdtest_read()
Dnandbiterrs.c153 err = mtd_read(mtd, offset, mtd->writesize, &read, rbuffer); in read_page()
Dtorturetest.c114 err = mtd_read(mtd, addr, len, &read, check_buf); in check_eraseblock()
/drivers/firmware/broadcom/
Dbcm47xx_nvram.c156 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/
Dmtd.c82 part->mtd._read = efx->type->mtd_read; in efx_mtd_add()
/drivers/mtd/ubi/
Dio.c167 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()
Ddebug.c44 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_dump_flash()
/drivers/mtd/nand/
Dnand_bbt.c198 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()

12