Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/mtd/parsers/
Dar7part.c59 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()
Dafs.c86 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()
Dbcm47xxpart.c133 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()
Dparser_trx.c35 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()
Dbcm63xxpart.c59 ret = mtd_read(master, BCM963XX_NVRAM_OFFSET, BCM963XX_NVRAM_V5_SIZE, in bcm63xx_read_nvram()
Dparser_imagetag.c35 ret = mtd_read(master, tag_offset, sizeof(*buf), &retlen, (void *)buf); in bcm963xx_read_imagetag()
/kernel/linux/linux-5.10/drivers/mtd/tests/
Dsubpagetest.c125 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()
Dmtd_test.c84 err = mtd_read(mtd, addr, size, &read, buf); in mtdtest_read()
/kernel/linux/linux-5.10/drivers/mtd/
Dftl.c164 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()
Dmtdblock.c154 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()
Dmtdblock_ro.c20 if (mtd_read(dev->mtd, (block * 512), 512, &retlen, buf)) in mtdblock_readsect()
Drfd_ftl.c205 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()
Dssfdc.c123 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()
Dnftlcore.c406 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()
Dinftlmount.c62 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()
Dinftlcore.c333 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()
Dnftlmount.c53 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()
Dmtdpstore.c324 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/
Dbcm47xx_nvram.c146 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/
Deeprom.c57 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/
Dmtd.c70 part->mtd._read = efx->type->mtd_read; in ef4_mtd_add()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dmtd.c73 part->mtd._read = efx->type->mtd_read; in efx_mtd_add()
/kernel/linux/linux-5.10/fs/jffs2/
Dwbuf.c237 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/
Dio.c154 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/
Dstorage.c18 #define ROMFS_MTD_READ(sb, ...) mtd_read((sb)->s_mtd, ##__VA_ARGS__)

12