/kernel/linux/linux-5.10/drivers/mtd/parsers/ |
D | ar7part.c | 59 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions() 81 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions() 89 mtd_read(master, offset, sizeof(header), &len, in create_mtd_partitions() 100 mtd_read(master, root_offset, sizeof(header), &len, (u8 *)&header); in create_mtd_partitions()
|
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()
|
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()
|
D | parser_trx.c | 35 err = mtd_read(master, offset, sizeof(buf), &bytes_read, in parser_trx_data_part_name() 66 err = mtd_read(mtd, 0, sizeof(trx), &bytes_read, (uint8_t *)&trx); in parser_trx_parse()
|
D | bcm63xxpart.c | 59 ret = mtd_read(master, BCM963XX_NVRAM_OFFSET, BCM963XX_NVRAM_V5_SIZE, in bcm63xx_read_nvram()
|
D | parser_imagetag.c | 35 ret = mtd_read(master, tag_offset, sizeof(*buf), &retlen, (void *)buf); in bcm963xx_read_imagetag()
|
/kernel/linux/linux-5.10/drivers/mtd/tests/ |
D | subpagetest.c | 125 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock() 152 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock() 189 err = mtd_read(mtd, addr, subpgsize * k, &read, readbuf); in verify_eraseblock2() 222 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock_ff()
|
D | mtd_test.c | 84 err = mtd_read(mtd, addr, size, &read, buf); in mtdtest_read()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
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()
|
D | mtdblock.c | 154 ret = mtd_read(mtd, sect_start, sect_size, in do_cached_write() 192 return mtd_read(mtd, pos, len, &retlen, buf); in do_cached_read() 211 ret = mtd_read(mtd, pos, size, &retlen, buf); in do_cached_read()
|
D | mtdblock_ro.c | 20 if (mtd_read(dev->mtd, (block * 512), 512, &retlen, buf)) in mtdblock_readsect()
|
D | rfd_ftl.c | 205 rc = mtd_read(part->mbd.mtd, i * part->block_size, in scan_header() 255 rc = mtd_read(part->mbd.mtd, addr, SECTOR_SIZE, &retlen, in rfd_ftl_readsect() 339 rc = mtd_read(part->mbd.mtd, part->blocks[block_no].offset, in move_block_contents() 379 rc = mtd_read(part->mbd.mtd, addr, SECTOR_SIZE, &retlen, in move_block_contents() 528 rc = mtd_read(part->mbd.mtd, part->blocks[block].offset, in find_writable_block()
|
D | ssfdc.c | 123 ret = mtd_read(mtd, offset, SECTOR_SIZE, &retlen, in get_valid_cis_sector() 156 ret = mtd_read(mtd, offset, SECTOR_SIZE, &retlen, sect_buf); in read_physical_sector()
|
D | nftlcore.c | 406 ret = mtd_read(mtd, in NFTL_foldchain() 412 ret = mtd_read(mtd, in NFTL_foldchain() 759 int res = mtd_read(mtd, ptr, 512, &retlen, buffer); in nftl_readblock()
|
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() 337 if (mtd_read(mtd, address, SECTORSIZE, &retlen, buf)) in check_free_sectors()
|
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()
|
D | nftlmount.c | 53 ret = mtd_read(mtd, block * nftl->EraseSize, SECTORSIZE, in find_boot_record() 276 if (mtd_read(mtd, address, SECTORSIZE, &retlen, buf)) in check_free_sectors()
|
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()
|
/kernel/linux/linux-5.10/drivers/firmware/broadcom/ |
D | bcm47xx_nvram.c | 146 err = mtd_read(mtd, 0, sizeof(header), &bytes_read, (uint8_t *)&header); in nvram_init() 156 err = mtd_read(mtd, 0, nvram_len, &nvram_len, in nvram_init()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | eeprom.c | 57 ret = mtd_read(mtd, offset, len, &retlen, dev->eeprom.data); in mt76_get_of_eeprom()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
D | mtd.c | 70 part->mtd._read = efx->type->mtd_read; in ef4_mtd_add()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | mtd.c | 73 part->mtd._read = efx->type->mtd_read; in efx_mtd_add()
|
/kernel/linux/linux-5.10/fs/jffs2/ |
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()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | io.c | 154 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_io_read() 1306 err = mtd_read(ubi->mtd, addr, len, &read, buf1); in self_check_write() 1370 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_self_check_all_ff()
|
/kernel/linux/linux-5.10/fs/romfs/ |
D | storage.c | 18 #define ROMFS_MTD_READ(sb, ...) mtd_read((sb)->s_mtd, ##__VA_ARGS__)
|