/kernel/linux/linux-6.6/drivers/mtd/nand/spi/ |
H A D | gigadevice.c | 66 static int gd5fxgq4xa_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_ecc() argument 78 static int gd5fxgq4xa_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_free() argument 124 static int gd5fxgqx_variant2_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgqx_variant2_ooblayout_ecc() argument 136 static int gd5fxgqx_variant2_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgqx_variant2_ooblayout_free() argument 155 static int gd5fxgq4xc_ooblayout_256_ecc(struct mtd_info *mtd, int section, in gd5fxgq4xc_ooblayout_256_ecc() argument 167 static int gd5fxgq4xc_ooblayout_256_free(struct mtd_info *mtd, int section, in gd5fxgq4xc_ooblayout_256_free() argument
|
/kernel/linux/linux-6.6/drivers/mtd/nand/ |
H A D | ecc-sw-bch.c | 173 struct mtd_info *mtd = nanddev_to_mtd(nand); in nand_ecc_sw_bch_init_ctx() local 295 struct mtd_info *mtd = nanddev_to_mtd(nand); nand_ecc_sw_bch_prepare_io_req() local 332 struct mtd_info *mtd = nanddev_to_mtd(nand); nand_ecc_sw_bch_finish_io_req() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/parsers/ |
H A D | parser_trx.c | 50 static int parser_trx_parse(struct mtd_info *mtd, in parser_trx_parse() argument
|
H A D | qcomsmempart.c | 57 static int parse_qcomsmem_part(struct mtd_info *mtd, in parse_qcomsmem_part() argument
|
/kernel/linux/linux-6.6/drivers/mtd/tests/ |
H A D | subpagetest.c | 26 static struct mtd_info *mtd; variable [all...] |
H A D | speedtest.c | 33 static struct mtd_info *mtd; variable [all...] |
H A D | nandbiterrs.c | 67 static struct mtd_info *mtd; /* MTD device */ variable [all...] |
H A D | pagetest.c | 28 static struct mtd_info *mtd; variable [all...] |
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | blktrans.h | 22 struct mtd_info *mtd; member
|
H A D | hyperbus.h | 40 struct mtd_info *mtd; member
|
/drivers/hdf_core/framework/model/storage/include/mtd/ |
H A D | mtd_spi_common.h | 78 struct MtdDevice mtd; member
|
/drivers/hdf_core/adapter/khdf/liteos/model/storage/src/mtd/ |
H A D | mtd_legacy_lite.c | 246 static int MtdDeviceLegacyNandErase(MtdInfoLegacy *mtd, EraseInfoLegacy *ops) in MtdDeviceLegacyNandErase() argument 264 static int MtdDeviceLegacyNandRead(MtdInfoLegacy *mtd, off_t addr, size_t len, size_t *retlen, char *buf) in MtdDeviceLegacyNandRead() argument 278 MtdDeviceLegacyNandWrite(MtdInfoLegacy *mtd, off_t addr, size_t len, size_t *retlen, const char *buf) MtdDeviceLegacyNandWrite() argument 292 MtdDeviceLegacyNandReadOob(MtdInfoLegacy *mtd, off_t addr, size_t len, size_t *retlen, char *buf) MtdDeviceLegacyNandReadOob() argument 306 MtdDeviceLegacyNandWriteOob(MtdInfoLegacy *mtd, off_t addr, size_t len, size_t *retlen, const char *buf) MtdDeviceLegacyNandWriteOob() argument 320 MtdDeviceLegacyBlockIsBad(MtdInfoLegacy *mtd, off_t ofs) MtdDeviceLegacyBlockIsBad() argument 330 MtdDeviceLegacyBlockMarkBad(MtdInfoLegacy *mtd, off_t ofs) MtdDeviceLegacyBlockMarkBad() argument [all...] |
/kernel/linux/linux-5.10/drivers/firmware/broadcom/ |
H A D | bcm47xx_nvram.c | 137 struct mtd_info *mtd; in nvram_init() local
|
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdpstore.c | 16 struct mtd_info *mtd; member 30 struct mtd_info *mtd = cxt->mtd; in mtdpstore_block_isbad() local 52 struct mtd_info *mtd in mtdpstore_panic_block_isbad() local 63 struct mtd_info *mtd = cxt->mtd; mtdpstore_mark_used() local 73 struct mtd_info *mtd = cxt->mtd; mtdpstore_mark_unused() local 83 struct mtd_info *mtd = cxt->mtd; mtdpstore_block_mark_unused() local 110 struct mtd_info *mtd = cxt->mtd; mtdpstore_block_is_used() local 128 struct mtd_info *mtd = cxt->mtd; mtdpstore_is_empty() local 142 struct mtd_info *mtd = cxt->mtd; mtdpstore_mark_removed() local 152 struct mtd_info *mtd = cxt->mtd; mtdpstore_block_clear_removed() local 168 struct mtd_info *mtd = cxt->mtd; mtdpstore_block_is_removed() local 185 struct mtd_info *mtd = cxt->mtd; mtdpstore_erase_do() local 240 struct mtd_info *mtd = cxt->mtd; mtdpstore_security() local 277 struct mtd_info *mtd = cxt->mtd; mtdpstore_write() local 313 struct mtd_info *mtd = cxt->mtd; mtdpstore_read() local 359 struct mtd_info *mtd = cxt->mtd; mtdpstore_panic_write() local 381 mtdpstore_notify_add(struct mtd_info *mtd) mtdpstore_notify_add() argument 447 struct mtd_info *mtd = cxt->mtd; mtdpstore_flush_removed_do() local 499 struct mtd_info *mtd = cxt->mtd; mtdpstore_flush_removed() local 520 mtdpstore_notify_remove(struct mtd_info *mtd) mtdpstore_notify_remove() argument [all...] |
H A D | nftlmount.c | 32 struct mtd_info *mtd = nftl->mbd.mtd; in find_boot_record() local 265 struct mtd_info *mtd = nftl->mbd.mtd; check_free_sectors() local 311 struct mtd_info *mtd = nftl->mbd.mtd; NFTL_formatblock() local 374 struct mtd_info *mtd = nftl->mbd.mtd; check_sectors_in_chain() local 493 struct mtd_info *mtd = nftl->mbd.mtd; check_and_mark_free_block() local 554 struct mtd_info *mtd = nftl->mbd.mtd; get_fold_mark() local 573 struct mtd_info *mtd = s->mbd.mtd; NFTL_mount() local [all...] |
H A D | nftlcore.c | 35 static void nftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in nftl_add_mtd() argument 123 nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len, size_t *retlen, uint8_t *buf) nftl_read_oob() argument 144 nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len, size_t *retlen, uint8_t *buf) nftl_write_oob() argument 167 nftl_write(struct mtd_info *mtd, loff_t offs, size_t len, size_t *retlen, uint8_t *buf, uint8_t *oob) nftl_write() argument 233 struct mtd_info *mtd = nftl->mbd.mtd; NFTL_foldchain() local 526 struct mtd_info *mtd = nftl->mbd.mtd; NFTL_findwriteunit() local 705 struct mtd_info *mtd = nftl->mbd.mtd; nftl_readblock() local [all...] |
H A D | mtdpart.c | 28 static inline void free_partition(struct mtd_info *mtd) in free_partition() argument 218 struct mtd_info *mtd = dev_get_drvdata(dev); mtd_partition_offset_show() local 299 __mtd_del_partition(struct mtd_info *mtd) __mtd_del_partition() argument 326 __del_mtd_partitions(struct mtd_info *mtd) __del_mtd_partitions() argument 352 del_mtd_partitions(struct mtd_info *mtd) del_mtd_partitions() argument 366 mtd_del_partition(struct mtd_info *mtd, int partno) mtd_del_partition() argument 712 mtd_get_device_size(const struct mtd_info *mtd) mtd_get_device_size() argument [all...] |
H A D | mtd_blkdevs.c | 515 blktrans_notify_remove(struct mtd_info *mtd) blktrans_notify_remove() argument 526 blktrans_notify_add(struct mtd_info *mtd) blktrans_notify_add() argument 544 struct mtd_info *mtd; register_mtd_blktrans() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/ |
H A D | ecc.c | 156 static int nand_ooblayout_ecc_sp(struct mtd_info *mtd, int section, in nand_ooblayout_ecc_sp() argument 182 static int nand_ooblayout_free_sp(struct mtd_info *mtd, int section, in nand_ooblayout_free_sp() argument 216 static int nand_ooblayout_ecc_lp(struct mtd_info *mtd, int section, in nand_ooblayout_ecc_lp() argument 231 nand_ooblayout_free_lp(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) nand_ooblayout_free_lp() argument 261 nand_ooblayout_ecc_lp_hamming(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) nand_ooblayout_ecc_lp_hamming() argument 288 nand_ooblayout_free_lp_hamming(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) nand_ooblayout_free_lp_hamming() argument 464 struct mtd_info *mtd = nanddev_to_mtd(nand); nand_ecc_is_strong_enough() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | ams-delta.c | 243 struct mtd_info *mtd; in gpio_nand_probe() local 403 struct mtd_info *mtd = nand_to_mtd(&priv->nand_chip); gpio_nand_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/parsers/ |
H A D | afs.c | 78 static bool afs_is_v1(struct mtd_info *mtd, u_int off) in afs_is_v1() argument 98 static bool afs_is_v2(struct mtd_info *mtd, u_in argument 119 afs_parse_v1_partition(struct mtd_info *mtd, u_int off, struct mtd_partition *part) afs_parse_v1_partition() argument 216 afs_parse_v2_partition(struct mtd_info *mtd, u_int off, struct mtd_partition *part) afs_parse_v2_partition() argument 323 parse_afs_partitions(struct mtd_info *mtd, const struct mtd_partition **pparts, struct mtd_part_parser_data *data) parse_afs_partitions() argument [all...] |
H A D | sharpslpart.c | 70 static int sharpsl_nand_check_ooblayout(struct mtd_info *mtd) in sharpsl_nand_check_ooblayout() argument 98 static int sharpsl_nand_read_oob(struct mtd_info *mtd, loff_t offs, u8 *buf) in sharpsl_nand_read_oob() argument 166 sharpsl_nand_init_ftl(struct mtd_info *mtd, struct sharpsl_ftl *ftl) sharpsl_nand_init_ftl() argument 227 sharpsl_nand_read_laddr(struct mtd_info *mtd, loff_t from, size_t len, void *buf, struct sharpsl_ftl *ftl) sharpsl_nand_read_laddr() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | cdev.c | 1017 struct mtd_info *mtd; in ctrl_cdev_ioctl() local
|
H A D | gluebi.c | 44 struct mtd_info mtd; member 84 static int gluebi_get_device(struct mtd_info *mtd) in gluebi_get_device() argument 130 gluebi_put_device(struct mtd_info *mtd) gluebi_put_device() argument 153 gluebi_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, unsigned char *buf) gluebi_read() argument 193 gluebi_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) gluebi_write() argument 234 gluebi_erase(struct mtd_info *mtd, struct erase_info *instr) gluebi_erase() argument 282 struct mtd_info *mtd; gluebi_create() local 351 struct mtd_info *mtd; gluebi_remove() local 483 struct mtd_info *mtd = &gluebi->mtd; ubi_gluebi_exit() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/tests/ |
H A D | torturetest.c | 57 static struct mtd_info *mtd; variable [all...] |