/linux-4.4.14/drivers/mtd/ |
D | mtdcore.c | 55 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_cls_suspend() local 62 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_cls_resume() local 104 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_release() local 114 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_type_show() local 153 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_flags_show() local 163 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_size_show() local 174 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_erasesize_show() local 184 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_writesize_show() local 194 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_subpagesize_show() local 205 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_oobsize_show() local [all …]
|
D | mtdpart.c | 43 struct mtd_info mtd; member 61 static int part_read(struct mtd_info *mtd, loff_t from, size_t len, in part_read() 80 static int part_point(struct mtd_info *mtd, loff_t from, size_t len, in part_point() 89 static int part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in part_unpoint() 96 static unsigned long part_get_unmapped_area(struct mtd_info *mtd, in part_get_unmapped_area() 108 static int part_read_oob(struct mtd_info *mtd, loff_t from, in part_read_oob() 146 static int part_read_user_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_user_prot_reg() 154 static int part_get_user_prot_info(struct mtd_info *mtd, size_t len, in part_get_user_prot_info() 162 static int part_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_fact_prot_reg() 170 static int part_get_fact_prot_info(struct mtd_info *mtd, size_t len, in part_get_fact_prot_info() [all …]
|
D | mtdconcat.c | 44 struct mtd_info mtd; member 68 concat_read(struct mtd_info *mtd, loff_t from, size_t len, in concat_read() 120 concat_write(struct mtd_info *mtd, loff_t to, size_t len, in concat_write() 158 concat_writev(struct mtd_info *mtd, const struct kvec *vecs, in concat_writev() 233 concat_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) in concat_read_oob() 290 concat_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) in concat_write_oob() 341 static int concat_dev_erase(struct mtd_info *mtd, struct erase_info *erase) in concat_dev_erase() 375 static int concat_erase(struct mtd_info *mtd, struct erase_info *instr) in concat_erase() 498 static int concat_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_lock() 532 static int concat_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_unlock() [all …]
|
D | mtdchar.c | 51 struct mtd_info *mtd; member 66 struct mtd_info *mtd; in mtdchar_open() local 116 struct mtd_info *mtd = mfi->mtd; in mtdchar_close() local 153 struct mtd_info *mtd = mfi->mtd; in mtdchar_read() local 239 struct mtd_info *mtd = mfi->mtd; in mtdchar_write() local 334 struct mtd_info *mtd = mfi->mtd; in otp_select_filemode() local 362 static int mtdchar_writeoob(struct file *file, struct mtd_info *mtd, in mtdchar_writeoob() 411 static int mtdchar_readoob(struct file *file, struct mtd_info *mtd, in mtdchar_readoob() 500 static int mtdchar_blkpg_ioctl(struct mtd_info *mtd, in mtdchar_blkpg_ioctl() 535 static int mtdchar_write_ioctl(struct mtd_info *mtd, in mtdchar_write_ioctl() [all …]
|
D | mtdsuper.c | 28 struct mtd_info *mtd = _mtd; in get_sb_mtd_compare() local 48 struct mtd_info *mtd = _mtd; in get_sb_mtd_set() local 61 struct mtd_info *mtd, in mount_mtd_aux() 107 struct mtd_info *mtd; in mount_mtd_nr() local 142 struct mtd_info *mtd; in mount_mtd() local
|
D | nftlmount.c | 45 struct mtd_info *mtd = nftl->mbd.mtd; in find_boot_record() local 277 struct mtd_info *mtd = nftl->mbd.mtd; in check_free_sectors() local 313 struct mtd_info *mtd = nftl->mbd.mtd; in NFTL_formatblock() local 378 struct mtd_info *mtd = nftl->mbd.mtd; in check_sectors_in_chain() local 497 struct mtd_info *mtd = nftl->mbd.mtd; in check_and_mark_free_block() local 558 struct mtd_info *mtd = nftl->mbd.mtd; in get_fold_mark() local 577 struct mtd_info *mtd = s->mbd.mtd; in NFTL_mount() local
|
D | mtdoops.c | 63 struct mtd_info *mtd; member 95 struct mtd_info *mtd = cxt->mtd; in mtdoops_erase_block() local 158 struct mtd_info *mtd = cxt->mtd; in mtdoops_workfunc_erase() local 212 struct mtd_info *mtd = cxt->mtd; in mtdoops_write() local 252 struct mtd_info *mtd = cxt->mtd; in find_next_position() local 324 static void mtdoops_notify_add(struct mtd_info *mtd) in mtdoops_notify_add() 376 static void mtdoops_notify_remove(struct mtd_info *mtd) in mtdoops_notify_remove()
|
D | inftlcore.c | 48 static void inftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in inftl_add_mtd() 149 int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len, in inftl_read_oob() 169 int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len, in inftl_write_oob() 189 static int inftl_write(struct mtd_info *mtd, loff_t offs, size_t len, in inftl_write() 254 struct mtd_info *mtd = inftl->mbd.mtd; in INFTL_foldchain() local 478 struct mtd_info *mtd = inftl->mbd.mtd; in INFTL_findwriteunit() local 640 struct mtd_info *mtd = inftl->mbd.mtd; in INFTL_trydeletechain() local 762 struct mtd_info *mtd = inftl->mbd.mtd; in INFTL_deleteblock() local 871 struct mtd_info *mtd = inftl->mbd.mtd; in inftl_readblock() local
|
D | nftlcore.c | 48 static void nftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in nftl_add_mtd() 136 int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len, in nftl_read_oob() 157 int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len, in nftl_write_oob() 180 static int nftl_write(struct mtd_info *mtd, loff_t offs, size_t len, in nftl_write() 246 struct mtd_info *mtd = nftl->mbd.mtd; in NFTL_foldchain() local 539 struct mtd_info *mtd = nftl->mbd.mtd; in NFTL_findwriteunit() local 718 struct mtd_info *mtd = nftl->mbd.mtd; in nftl_readblock() local
|
D | mtdblock.c | 64 static int erase_write (struct mtd_info *mtd, unsigned long pos, in erase_write() 115 struct mtd_info *mtd = mtdblk->mbd.mtd; in write_cached_data() local 145 struct mtd_info *mtd = mtdblk->mbd.mtd; in do_cached_write() local 215 struct mtd_info *mtd = mtdblk->mbd.mtd; in do_cached_read() local 340 static void mtdblock_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in mtdblock_add_mtd()
|
D | inftlmount.c | 51 struct mtd_info *mtd = inftl->mbd.mtd; in find_boot_record() local 340 struct mtd_info *mtd = inftl->mbd.mtd; in check_free_sectors() local 377 struct mtd_info *mtd = inftl->mbd.mtd; in INFTL_formatblock() local 539 struct mtd_info *mtd = s->mbd.mtd; in INFTL_mount() local
|
D | ssfdc.c | 106 static int get_valid_cis_sector(struct mtd_info *mtd) in get_valid_cis_sector() 152 static int read_physical_sector(struct mtd_info *mtd, uint8_t *sect_buf, in read_physical_sector() 167 static int read_raw_oob(struct mtd_info *mtd, loff_t offs, uint8_t *buf) in read_raw_oob() 248 struct mtd_info *mtd = ssfdc->mbd.mtd; in build_logical_block_map() local 287 static void ssfdcr_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in ssfdcr_add_mtd()
|
D | afs.c | 70 afs_read_footer(struct mtd_info *mtd, u_int *img_start, u_int *iis_start, in afs_read_footer() 129 afs_read_iis(struct mtd_info *mtd, struct image_info_struct *iis, u_int ptr) in afs_read_iis() 164 static int parse_afs_partitions(struct mtd_info *mtd, in parse_afs_partitions()
|
D | mtd_blkdevs.c | 498 static void blktrans_notify_remove(struct mtd_info *mtd) in blktrans_notify_remove() 509 static void blktrans_notify_add(struct mtd_info *mtd) in blktrans_notify_add() 527 struct mtd_info *mtd; in register_mtd_blktrans() local
|
D | mtdcore.h | 20 #define mtd_for_each_device(mtd) \ argument
|
D | mtdswap.c | 115 struct mtd_info *mtd; member 550 struct mtd_info *mtd = d->mtd; in mtdswap_erase_block() local 666 struct mtd_info *mtd = d->mtd; in mtdswap_write_block() local 727 struct mtd_info *mtd = d->mtd; in mtdswap_move_block() local 926 struct mtd_info *mtd = d->mtd; in mtdswap_eblk_passes() local 1054 static unsigned int mtdswap_badblocks(struct mtd_info *mtd, uint64_t size) in mtdswap_badblocks() 1131 struct mtd_info *mtd = d->mtd; in mtdswap_readsect() local 1352 struct mtd_info *mtd = d->mbd_dev->mtd; in mtdswap_init() local 1411 static void mtdswap_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in mtdswap_add_mtd()
|
D | sm_ftl.c | 240 struct mtd_info *mtd = ftl->trans->mtd; in sm_read_sector() local 323 struct mtd_info *mtd = ftl->trans->mtd; in sm_write_sector() local 459 struct mtd_info *mtd = ftl->trans->mtd; in sm_erase_block() local 571 static int sm_get_media_info(struct sm_ftl *ftl, struct mtd_info *mtd) in sm_get_media_info() 1129 static void sm_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in sm_add_mtd()
|
D | mtdblock_ro.c | 49 static void mtdblock_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in mtdblock_add_mtd()
|
D | rfd_ftl.c | 757 static void rfd_ftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in rfd_ftl_add_mtd()
|
D | ftl.c | 1045 static void ftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in ftl_add_mtd()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | mpc5121_nfc.c | 121 struct mtd_info mtd; member 136 static inline u16 nfc_read(struct mtd_info *mtd, uint reg) in nfc_read() 145 static inline void nfc_write(struct mtd_info *mtd, uint reg, u16 val) in nfc_write() 154 static inline void nfc_set(struct mtd_info *mtd, uint reg, u16 bits) in nfc_set() 160 static inline void nfc_clear(struct mtd_info *mtd, uint reg, u16 bits) in nfc_clear() 166 static inline void mpc5121_nfc_send_addr(struct mtd_info *mtd, u16 addr) in mpc5121_nfc_send_addr() 174 static inline void mpc5121_nfc_send_cmd(struct mtd_info *mtd, u16 cmd) in mpc5121_nfc_send_cmd() 182 static inline void mpc5121_nfc_send_prog_page(struct mtd_info *mtd) in mpc5121_nfc_send_prog_page() 190 static inline void mpc5121_nfc_send_read_page(struct mtd_info *mtd) in mpc5121_nfc_send_read_page() 198 static inline void mpc5121_nfc_send_read_id(struct mtd_info *mtd) in mpc5121_nfc_send_read_id() [all …]
|
D | nand_base.c | 106 static int check_offs_len(struct mtd_info *mtd, in check_offs_len() 133 static void nand_release_device(struct mtd_info *mtd) in nand_release_device() 151 static uint8_t nand_read_byte(struct mtd_info *mtd) in nand_read_byte() 164 static uint8_t nand_read_byte16(struct mtd_info *mtd) in nand_read_byte16() 176 static u16 nand_read_word(struct mtd_info *mtd) in nand_read_word() 189 static void nand_select_chip(struct mtd_info *mtd, int chipnr) in nand_select_chip() 212 static void nand_write_byte(struct mtd_info *mtd, uint8_t byte) in nand_write_byte() 226 static void nand_write_byte16(struct mtd_info *mtd, uint8_t byte) in nand_write_byte16() 258 static void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in nand_write_buf() 273 static void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in nand_read_buf() [all …]
|
D | bf5xx_nand.c | 145 struct mtd_info mtd; member 161 static struct bf5xx_nand_info *mtd_to_nand_info(struct mtd_info *mtd) in mtd_to_nand_info() 185 static void bf5xx_nand_hwcontrol(struct mtd_info *mtd, int cmd, in bf5xx_nand_hwcontrol() 206 static int bf5xx_nand_devready(struct mtd_info *mtd) in bf5xx_nand_devready() 225 static int bf5xx_nand_correct_data_256(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data_256() 304 static int bf5xx_nand_correct_data(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data() 323 static void bf5xx_nand_enable_hwecc(struct mtd_info *mtd, int mode) in bf5xx_nand_enable_hwecc() 328 static int bf5xx_nand_calculate_ecc(struct mtd_info *mtd, in bf5xx_nand_calculate_ecc() 368 static void bf5xx_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in bf5xx_nand_read_buf() 397 static uint8_t bf5xx_nand_read_byte(struct mtd_info *mtd) in bf5xx_nand_read_byte() [all …]
|
D | diskonchip.c | 300 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) in doc2000_write_byte() 312 static u_char doc2000_read_byte(struct mtd_info *mtd) in doc2000_read_byte() 327 static void doc2000_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_writebuf() 344 static void doc2000_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf() 359 static void doc2000_readbuf_dword(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf_dword() 380 static uint16_t __init doc200x_ident_chip(struct mtd_info *mtd, int nr) in doc200x_ident_chip() 426 static void __init doc2000_count_chips(struct mtd_info *mtd) in doc2000_count_chips() 448 static int doc200x_wait(struct mtd_info *mtd, struct nand_chip *this) in doc200x_wait() 462 static void doc2001_write_byte(struct mtd_info *mtd, u_char datum) in doc2001_write_byte() 473 static u_char doc2001_read_byte(struct mtd_info *mtd) in doc2001_read_byte() [all …]
|
D | au1550nd.c | 40 static u_char au_read_byte(struct mtd_info *mtd) in au_read_byte() 55 static void au_write_byte(struct mtd_info *mtd, u_char byte) in au_write_byte() 68 static u_char au_read_byte16(struct mtd_info *mtd) in au_read_byte16() 83 static void au_write_byte16(struct mtd_info *mtd, u_char byte) in au_write_byte16() 96 static u16 au_read_word(struct mtd_info *mtd) in au_read_word() 112 static void au_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in au_write_buf() 131 static void au_read_buf(struct mtd_info *mtd, u_char *buf, int len) in au_read_buf() 150 static void au_write_buf16(struct mtd_info *mtd, const u_char *buf, int len) in au_write_buf16() 172 static void au_read_buf16(struct mtd_info *mtd, u_char *buf, int len) in au_read_buf16() 198 static void au1550_hwcontrol(struct mtd_info *mtd, int cmd) in au1550_hwcontrol() [all …]
|
D | socrates_nand.c | 33 struct mtd_info mtd; member 44 static void socrates_nand_write_buf(struct mtd_info *mtd, in socrates_nand_write_buf() 64 static void socrates_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in socrates_nand_read_buf() 84 static uint8_t socrates_nand_read_byte(struct mtd_info *mtd) in socrates_nand_read_byte() 95 static uint16_t socrates_nand_read_word(struct mtd_info *mtd) in socrates_nand_read_word() 105 static void socrates_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in socrates_nand_cmd_ctrl() 131 static int socrates_nand_device_ready(struct mtd_info *mtd) in socrates_nand_device_ready() 147 struct mtd_info *mtd; in socrates_nand_probe() local 220 struct mtd_info *mtd = &host->mtd; in socrates_nand_remove() local
|
D | nand_bbt.c | 171 static int read_bbt(struct mtd_info *mtd, uint8_t *buf, int page, int num, in read_bbt() 264 static int read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) in read_abs_bbt() 290 static int scan_read_data(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_data() 314 static int scan_read_oob(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_oob() 344 static int scan_read(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read() 354 static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len, in scan_write_bbt() 369 static u32 bbt_get_ver_offs(struct mtd_info *mtd, struct nand_bbt_descr *td) in bbt_get_ver_offs() 388 static void read_abs_bbts(struct mtd_info *mtd, uint8_t *buf, in read_abs_bbts() 413 static int scan_block_fast(struct mtd_info *mtd, struct nand_bbt_descr *bd, in scan_block_fast() 454 static int create_bbt(struct mtd_info *mtd, uint8_t *buf, in create_bbt() [all …]
|
D | ams-delta.c | 65 static void ams_delta_write_byte(struct mtd_info *mtd, u_char byte) in ams_delta_write_byte() 77 static u_char ams_delta_read_byte(struct mtd_info *mtd) in ams_delta_read_byte() 92 static void ams_delta_write_buf(struct mtd_info *mtd, const u_char *buf, in ams_delta_write_buf() 101 static void ams_delta_read_buf(struct mtd_info *mtd, u_char *buf, int len) in ams_delta_read_buf() 117 static void ams_delta_hwcontrol(struct mtd_info *mtd, int cmd, in ams_delta_hwcontrol() 134 static int ams_delta_nand_ready(struct mtd_info *mtd) in ams_delta_nand_ready()
|
D | docg4.c | 79 struct mtd_info *mtd; member 242 static void docg4_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in docg4_read_buf() 253 static void docg4_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len) in docg4_write_buf16() 297 static int docg4_wait(struct mtd_info *mtd, struct nand_chip *nand) in docg4_wait() 315 static void docg4_select_chip(struct mtd_info *mtd, int chip) in docg4_select_chip() 336 static void reset(struct mtd_info *mtd) in reset() 371 static int correct_data(struct mtd_info *mtd, uint8_t *buf, int page) in correct_data() 465 static uint8_t docg4_read_byte(struct mtd_info *mtd) in docg4_read_byte() 541 static int pageprog(struct mtd_info *mtd) in pageprog() 581 static void sequence_reset(struct mtd_info *mtd) in sequence_reset() [all …]
|
D | cafe_nand.c | 102 static int cafe_device_ready(struct mtd_info *mtd) in cafe_device_ready() 118 static void cafe_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in cafe_write_buf() 133 static void cafe_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in cafe_read_buf() 147 static uint8_t cafe_read_byte(struct mtd_info *mtd) in cafe_read_byte() 158 static void cafe_nand_cmdfunc(struct mtd_info *mtd, unsigned command, in cafe_nand_cmdfunc() 314 static void cafe_select_chip(struct mtd_info *mtd, int chipnr) in cafe_select_chip() 330 struct mtd_info *mtd = id; in cafe_nand_interrupt() local 341 static void cafe_nand_bug(struct mtd_info *mtd) in cafe_nand_bug() 346 static int cafe_nand_write_oob(struct mtd_info *mtd, in cafe_nand_write_oob() 360 static int cafe_nand_read_oob(struct mtd_info *mtd, struct nand_chip *chip, in cafe_nand_read_oob() [all …]
|
D | s3c2410.c | 107 struct mtd_info mtd; member 169 static struct s3c2410_nand_mtd *s3c2410_nand_mtd_toours(struct mtd_info *mtd) in s3c2410_nand_mtd_toours() 174 static struct s3c2410_nand_info *s3c2410_nand_mtd_toinfo(struct mtd_info *mtd) in s3c2410_nand_mtd_toinfo() 381 static void s3c2410_nand_select_chip(struct mtd_info *mtd, int chip) in s3c2410_nand_select_chip() 423 static void s3c2410_nand_hwcontrol(struct mtd_info *mtd, int cmd, in s3c2410_nand_hwcontrol() 439 static void s3c2440_nand_hwcontrol(struct mtd_info *mtd, int cmd, in s3c2440_nand_hwcontrol() 458 static int s3c2410_nand_devready(struct mtd_info *mtd) in s3c2410_nand_devready() 464 static int s3c2440_nand_devready(struct mtd_info *mtd) in s3c2440_nand_devready() 470 static int s3c2412_nand_devready(struct mtd_info *mtd) in s3c2412_nand_devready() 479 static int s3c2410_nand_correct_data(struct mtd_info *mtd, u_char *dat, in s3c2410_nand_correct_data() [all …]
|
D | davinci_nand.c | 56 struct mtd_info mtd; member 104 static void nand_davinci_hwcontrol(struct mtd_info *mtd, int cmd, in nand_davinci_hwcontrol() 125 static void nand_davinci_select_chip(struct mtd_info *mtd, int chip) in nand_davinci_select_chip() 145 static inline uint32_t nand_davinci_readecc_1bit(struct mtd_info *mtd) in nand_davinci_readecc_1bit() 153 static void nand_davinci_hwctl_1bit(struct mtd_info *mtd, int mode) in nand_davinci_hwctl_1bit() 177 static int nand_davinci_calculate_1bit(struct mtd_info *mtd, in nand_davinci_calculate_1bit() 192 static int nand_davinci_correct_1bit(struct mtd_info *mtd, u_char *dat, in nand_davinci_correct_1bit() 238 static void nand_davinci_hwctl_4bit(struct mtd_info *mtd, int mode) in nand_davinci_hwctl_4bit() 270 static int nand_davinci_calculate_4bit(struct mtd_info *mtd, in nand_davinci_calculate_4bit() 307 static int nand_davinci_correct_4bit(struct mtd_info *mtd, in nand_davinci_correct_4bit() [all …]
|
D | txx9ndfmc.c | 66 struct mtd_info mtd; member 80 static struct platform_device *mtd_to_platdev(struct mtd_info *mtd) in mtd_to_platdev() 106 static uint8_t txx9ndfmc_read_byte(struct mtd_info *mtd) in txx9ndfmc_read_byte() 113 static void txx9ndfmc_write_buf(struct mtd_info *mtd, const uint8_t *buf, in txx9ndfmc_write_buf() 126 static void txx9ndfmc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in txx9ndfmc_read_buf() 135 static void txx9ndfmc_cmd_ctrl(struct mtd_info *mtd, int cmd, in txx9ndfmc_cmd_ctrl() 167 static int txx9ndfmc_dev_ready(struct mtd_info *mtd) in txx9ndfmc_dev_ready() 174 static int txx9ndfmc_calculate_ecc(struct mtd_info *mtd, const uint8_t *dat, in txx9ndfmc_calculate_ecc() 195 static int txx9ndfmc_correct_data(struct mtd_info *mtd, unsigned char *buf, in txx9ndfmc_correct_data() 215 static void txx9ndfmc_enable_hwecc(struct mtd_info *mtd, int mode) in txx9ndfmc_enable_hwecc() [all …]
|
D | ndfc.c | 40 struct mtd_info mtd; member 48 static void ndfc_select_chip(struct mtd_info *mtd, int chip) in ndfc_select_chip() 63 static void ndfc_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) in ndfc_hwcontrol() 77 static int ndfc_ready(struct mtd_info *mtd) in ndfc_ready() 85 static void ndfc_enable_hwecc(struct mtd_info *mtd, int mode) in ndfc_enable_hwecc() 97 static int ndfc_calculate_ecc(struct mtd_info *mtd, in ndfc_calculate_ecc() 122 static void ndfc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in ndfc_read_buf() 132 static void ndfc_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in ndfc_write_buf()
|
D | fsl_ifc_nand.c | 43 struct mtd_info mtd; member 231 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() 254 static int is_blank(struct mtd_info *mtd, unsigned int bufnum) in is_blank() 279 static int check_read_ecc(struct mtd_info *mtd, struct fsl_ifc_ctrl *ctrl, in check_read_ecc() 293 static void fsl_ifc_run_command(struct mtd_info *mtd) in fsl_ifc_run_command() 371 struct mtd_info *mtd) in fsl_ifc_do_read() 410 static void fsl_ifc_cmdfunc(struct mtd_info *mtd, unsigned int command, in fsl_ifc_cmdfunc() 615 static void fsl_ifc_select_chip(struct mtd_info *mtd, int chip) in fsl_ifc_select_chip() 625 static void fsl_ifc_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in fsl_ifc_write_buf() 651 static uint8_t fsl_ifc_read_byte(struct mtd_info *mtd) in fsl_ifc_read_byte() [all …]
|
D | cmx270_nand.c | 54 static u_char cmx270_read_byte(struct mtd_info *mtd) in cmx270_read_byte() 61 static void cmx270_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in cmx270_write_buf() 70 static void cmx270_read_buf(struct mtd_info *mtd, u_char *buf, int len) in cmx270_read_buf() 94 static void cmx270_hwcontrol(struct mtd_info *mtd, int dat, in cmx270_hwcontrol() 128 static int cmx270_device_ready(struct mtd_info *mtd) in cmx270_device_ready()
|
D | cs553x_nand.c | 98 static void cs553x_read_buf(struct mtd_info *mtd, u_char *buf, int len) in cs553x_read_buf() 110 static void cs553x_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in cs553x_write_buf() 122 static unsigned char cs553x_read_byte(struct mtd_info *mtd) in cs553x_read_byte() 128 static void cs553x_write_byte(struct mtd_info *mtd, u_char byte) in cs553x_write_byte() 140 static void cs553x_hwcontrol(struct mtd_info *mtd, int cmd, in cs553x_hwcontrol() 153 static int cs553x_device_ready(struct mtd_info *mtd) in cs553x_device_ready() 162 static void cs_enable_hwecc(struct mtd_info *mtd, int mode) in cs_enable_hwecc() 170 static int cs_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code) in cs_calculate_ecc() 333 struct mtd_info *mtd = cs553x_mtd[i]; in cs553x_cleanup() local
|
D | r852.c | 65 static inline struct r852_device *r852_get_dev(struct mtd_info *mtd) in r852_get_dev() 232 static void r852_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in r852_write_buf() 266 static void r852_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in r852_read_buf() 303 static uint8_t r852_read_byte(struct mtd_info *mtd) in r852_read_byte() 317 static void r852_cmdctl(struct mtd_info *mtd, int dat, unsigned int ctrl) in r852_cmdctl() 362 static int r852_wait(struct mtd_info *mtd, struct nand_chip *chip) in r852_wait() 391 static int r852_ready(struct mtd_info *mtd) in r852_ready() 402 static void r852_ecc_hwctl(struct mtd_info *mtd, int mode) in r852_ecc_hwctl() 434 static int r852_ecc_calculate(struct mtd_info *mtd, const uint8_t *dat, in r852_ecc_calculate() 466 static int r852_ecc_correct(struct mtd_info *mtd, uint8_t *dat, in r852_ecc_correct() [all …]
|
D | fsl_elbc_nand.c | 51 struct mtd_info mtd; member 145 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() 196 static int fsl_elbc_run_command(struct mtd_info *mtd) in fsl_elbc_run_command() 300 static void fsl_elbc_cmdfunc(struct mtd_info *mtd, unsigned int command, in fsl_elbc_cmdfunc() 516 static void fsl_elbc_select_chip(struct mtd_info *mtd, int chip) in fsl_elbc_select_chip() 526 static void fsl_elbc_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in fsl_elbc_write_buf() 564 static u8 fsl_elbc_read_byte(struct mtd_info *mtd) in fsl_elbc_read_byte() 581 static void fsl_elbc_read_buf(struct mtd_info *mtd, u8 *buf, int len) in fsl_elbc_read_buf() 606 static int fsl_elbc_wait(struct mtd_info *mtd, struct nand_chip *chip) in fsl_elbc_wait() 620 static int fsl_elbc_chip_init_tail(struct mtd_info *mtd) in fsl_elbc_chip_init_tail() [all …]
|
D | sh_flctl.c | 192 static void set_addr(struct mtd_info *mtd, int column, int page_addr) in set_addr() 500 static void set_cmd_regs(struct mtd_info *mtd, uint32_t cmd, uint32_t flcmcdr_val) in set_cmd_regs() 562 static int flctl_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in flctl_read_page_hwecc() 571 static int flctl_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in flctl_write_page_hwecc() 580 static void execmd_read_page_sector(struct mtd_info *mtd, int page_addr) in execmd_read_page_sector() 629 static void execmd_read_oob(struct mtd_info *mtd, int page_addr) in execmd_read_oob() 650 static void execmd_write_page_sector(struct mtd_info *mtd) in execmd_write_page_sector() 676 static void execmd_write_oob(struct mtd_info *mtd) in execmd_write_oob() 698 static void flctl_cmdfunc(struct mtd_info *mtd, unsigned int command, in flctl_cmdfunc() 874 static void flctl_select_chip(struct mtd_info *mtd, int chipnr) in flctl_select_chip() [all …]
|
D | atmel_nand.c | 119 struct mtd_info mtd; member 183 static void atmel_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in atmel_nand_cmd_ctrl() 206 static int atmel_nand_device_ready(struct mtd_info *mtd) in atmel_nand_device_ready() 216 static int atmel_nand_set_enable_ready_pins(struct mtd_info *mtd) in atmel_nand_set_enable_ready_pins() 268 static void atmel_read_buf8(struct mtd_info *mtd, u8 *buf, int len) in atmel_read_buf8() 281 static void atmel_read_buf16(struct mtd_info *mtd, u8 *buf, int len) in atmel_read_buf16() 294 static void atmel_write_buf8(struct mtd_info *mtd, const u8 *buf, int len) in atmel_write_buf8() 301 static void atmel_write_buf16(struct mtd_info *mtd, const u8 *buf, int len) in atmel_write_buf16() 347 static int atmel_nand_dma_op(struct mtd_info *mtd, void *buf, int len, in atmel_nand_dma_op() 426 static void atmel_read_buf(struct mtd_info *mtd, u8 *buf, int len) in atmel_read_buf() [all …]
|
D | tmio_nand.c | 106 struct mtd_info mtd; member 127 static void tmio_nand_hwcontrol(struct mtd_info *mtd, int cmd, in tmio_nand_hwcontrol() 160 static int tmio_nand_dev_ready(struct mtd_info *mtd) in tmio_nand_dev_ready() 189 tmio_nand_wait(struct mtd_info *mtd, struct nand_chip *nand_chip) in tmio_nand_wait() 225 static u_char tmio_nand_read_byte(struct mtd_info *mtd) in tmio_nand_read_byte() 245 tmio_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in tmio_nand_write_buf() 252 static void tmio_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in tmio_nand_read_buf() 259 static void tmio_nand_enable_hwecc(struct mtd_info *mtd, int mode) in tmio_nand_enable_hwecc() 268 static int tmio_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in tmio_nand_calculate_ecc() 290 static int tmio_nand_correct_data(struct mtd_info *mtd, unsigned char *buf, in tmio_nand_correct_data() [all …]
|
D | lpc32xx_slc.c | 207 struct mtd_info mtd; member 259 static void lpc32xx_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in lpc32xx_nand_cmd_ctrl() 285 static int lpc32xx_nand_device_ready(struct mtd_info *mtd) in lpc32xx_nand_device_ready() 318 static void lpc32xx_nand_ecc_enable(struct mtd_info *mtd, int mode) in lpc32xx_nand_ecc_enable() 326 static int lpc32xx_nand_ecc_calculate(struct mtd_info *mtd, in lpc32xx_nand_ecc_calculate() 340 static uint8_t lpc32xx_nand_read_byte(struct mtd_info *mtd) in lpc32xx_nand_read_byte() 351 static void lpc32xx_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in lpc32xx_nand_read_buf() 364 static void lpc32xx_nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in lpc32xx_nand_write_buf() 377 static int lpc32xx_nand_read_oob_syndrome(struct mtd_info *mtd, in lpc32xx_nand_read_oob_syndrome() 389 static int lpc32xx_nand_write_oob_syndrome(struct mtd_info *mtd, in lpc32xx_nand_write_oob_syndrome() [all …]
|
D | orion_nand.c | 26 static void orion_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in orion_nand_cmd_ctrl() 48 static void orion_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in orion_nand_read_buf() 78 struct mtd_info *mtd; in orion_nand_probe() local 185 struct mtd_info *mtd = platform_get_drvdata(pdev); in orion_nand_remove() local
|
D | vf610_nfc.c | 159 struct mtd_info mtd; member 323 struct mtd_info *mtd = data; in vf610_nfc_irq() local 357 static void vf610_nfc_command(struct mtd_info *mtd, unsigned command, in vf610_nfc_command() 451 static void vf610_nfc_read_buf(struct mtd_info *mtd, u_char *buf, int len) in vf610_nfc_read_buf() 464 static void vf610_nfc_write_buf(struct mtd_info *mtd, const uint8_t *buf, in vf610_nfc_write_buf() 478 static uint8_t vf610_nfc_read_byte(struct mtd_info *mtd) in vf610_nfc_read_byte() 505 static u16 vf610_nfc_read_word(struct mtd_info *mtd) in vf610_nfc_read_word() 514 static int vf610_nfc_dev_ready(struct mtd_info *mtd) in vf610_nfc_dev_ready() 523 static void vf610_nfc_select_chip(struct mtd_info *mtd, int chip) in vf610_nfc_select_chip() 557 static inline int vf610_nfc_correct_data(struct mtd_info *mtd, uint8_t *dat, in vf610_nfc_correct_data() [all …]
|
D | fsl_upm.c | 34 struct mtd_info mtd; member 55 static int fun_chip_ready(struct mtd_info *mtd) in fun_chip_ready() 80 static void fun_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in fun_cmd_ctrl() 110 static void fun_select_chip(struct mtd_info *mtd, int mchip_nr) in fun_select_chip() 126 static uint8_t fun_read_byte(struct mtd_info *mtd) in fun_read_byte() 133 static void fun_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in fun_read_buf() 142 static void fun_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in fun_write_buf()
|
D | sharpsl.c | 32 struct mtd_info mtd; member 65 static void sharpsl_nand_hwcontrol(struct mtd_info *mtd, int cmd, in sharpsl_nand_hwcontrol() 85 static int sharpsl_nand_dev_ready(struct mtd_info *mtd) in sharpsl_nand_dev_ready() 91 static void sharpsl_nand_enable_hwecc(struct mtd_info *mtd, int mode) in sharpsl_nand_enable_hwecc() 97 static int sharpsl_nand_calculate_ecc(struct mtd_info *mtd, const u_char * dat, u_char * ecc_code) in sharpsl_nand_calculate_ecc()
|
D | jz4740_nand.c | 62 struct mtd_info mtd; member 77 static inline struct jz_nand *mtd_to_jz_nand(struct mtd_info *mtd) in mtd_to_jz_nand() 82 static void jz_nand_select_chip(struct mtd_info *mtd, int chipnr) in jz_nand_select_chip() 104 static void jz_nand_cmd_ctrl(struct mtd_info *mtd, int dat, unsigned int ctrl) in jz_nand_cmd_ctrl() 132 static int jz_nand_dev_ready(struct mtd_info *mtd) in jz_nand_dev_ready() 138 static void jz_nand_hwctl(struct mtd_info *mtd, int mode) in jz_nand_hwctl() 166 static int jz_nand_calculate_ecc_rs(struct mtd_info *mtd, const uint8_t *dat, in jz_nand_calculate_ecc_rs() 219 static int jz_nand_correct_ecc_rs(struct mtd_info *mtd, uint8_t *dat, in jz_nand_correct_ecc_rs() 337 struct mtd_info *mtd = &nand->mtd; in jz_nand_detect_bank() local 414 struct mtd_info *mtd; in jz_nand_probe() local
|
D | pasemi_nand.c | 46 static void pasemi_read_buf(struct mtd_info *mtd, u_char *buf, int len) in pasemi_read_buf() 58 static void pasemi_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in pasemi_write_buf() 70 static void pasemi_hwcontrol(struct mtd_info *mtd, int cmd, in pasemi_hwcontrol() 88 int pasemi_device_ready(struct mtd_info *mtd) in pasemi_device_ready()
|
D | hisi504_nand.c | 137 struct mtd_info mtd; member 192 struct mtd_info *mtd = &host->mtd; in hisi_nfc_dma_transfer() local 265 struct mtd_info *mtd = &host->mtd; in hisi_nfc_send_cmd_readstart() local 358 static void hisi_nfc_select_chip(struct mtd_info *mtd, int chipselect) in hisi_nfc_select_chip() 369 static uint8_t hisi_nfc_read_byte(struct mtd_info *mtd) in hisi_nfc_read_byte() 385 static u16 hisi_nfc_read_word(struct mtd_info *mtd) in hisi_nfc_read_word() 395 hisi_nfc_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in hisi_nfc_write_buf() 404 static void hisi_nfc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in hisi_nfc_read_buf() 413 static void set_addr(struct mtd_info *mtd, int column, int page_addr) in set_addr() 448 static void hisi_nfc_cmdfunc(struct mtd_info *mtd, unsigned command, int column, in hisi_nfc_cmdfunc() [all …]
|
D | lpc32xx_mlc.c | 176 struct mtd_info mtd; member 275 static void lpc32xx_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in lpc32xx_nand_cmd_ctrl() 292 static int lpc32xx_nand_device_ready(struct mtd_info *mtd) in lpc32xx_nand_device_ready() 319 static int lpc32xx_waitfunc_nand(struct mtd_info *mtd, struct nand_chip *chip) in lpc32xx_waitfunc_nand() 338 static int lpc32xx_waitfunc_controller(struct mtd_info *mtd, in lpc32xx_waitfunc_controller() 358 static int lpc32xx_waitfunc(struct mtd_info *mtd, struct nand_chip *chip) in lpc32xx_waitfunc() 389 static int lpc32xx_xmit_dma(struct mtd_info *mtd, void *mem, int len, in lpc32xx_xmit_dma() 431 static int lpc32xx_read_page(struct mtd_info *mtd, struct nand_chip *chip, in lpc32xx_read_page() 496 static int lpc32xx_write_page_lowlevel(struct mtd_info *mtd, in lpc32xx_write_page_lowlevel() 543 static int lpc32xx_read_oob(struct mtd_info *mtd, struct nand_chip *chip, in lpc32xx_read_oob() [all …]
|
D | omap2.c | 155 struct mtd_info mtd; member 248 static void omap_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) in omap_hwcontrol() 271 static void omap_read_buf8(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf8() 284 static void omap_write_buf8(struct mtd_info *mtd, const u_char *buf, int len) in omap_write_buf8() 307 static void omap_read_buf16(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf16() 320 static void omap_write_buf16(struct mtd_info *mtd, const u_char * buf, int len) in omap_write_buf16() 345 static void omap_read_buf_pref(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf_pref() 392 static void omap_write_buf_pref(struct mtd_info *mtd, in omap_write_buf_pref() 458 static inline int omap_nand_dma_transfer(struct mtd_info *mtd, void *addr, in omap_nand_dma_transfer() 547 static void omap_read_buf_dma_pref(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf_dma_pref() [all …]
|
D | fsmc_nand.c | 302 struct mtd_info mtd; member 330 static void fsmc_select_chip(struct mtd_info *mtd, int chipnr) in fsmc_select_chip() 359 static void fsmc_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in fsmc_cmd_ctrl() 446 static void fsmc_enable_hwecc(struct mtd_info *mtd, int mode) in fsmc_enable_hwecc() 466 static int fsmc_read_hwecc_ecc4(struct mtd_info *mtd, const uint8_t *data, in fsmc_read_hwecc_ecc4() 517 static int fsmc_read_hwecc_ecc1(struct mtd_info *mtd, const uint8_t *data, in fsmc_read_hwecc_ecc1() 629 static void fsmc_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in fsmc_write_buf() 652 static void fsmc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in fsmc_read_buf() 675 static void fsmc_read_buf_dma(struct mtd_info *mtd, uint8_t *buf, int len) in fsmc_read_buf_dma() 689 static void fsmc_write_buf_dma(struct mtd_info *mtd, const uint8_t *buf, in fsmc_write_buf_dma() [all …]
|
D | nuc900_nand.c | 58 struct mtd_info mtd; member 78 static unsigned char nuc900_nand_read_byte(struct mtd_info *mtd) in nuc900_nand_read_byte() 90 static void nuc900_nand_read_buf(struct mtd_info *mtd, in nuc900_nand_read_buf() 102 static void nuc900_nand_write_buf(struct mtd_info *mtd, in nuc900_nand_write_buf() 125 static int nuc900_nand_devready(struct mtd_info *mtd) in nuc900_nand_devready() 136 static void nuc900_nand_command_lp(struct mtd_info *mtd, unsigned int command, in nuc900_nand_command_lp()
|
D | mxc_nand.c | 176 struct mtd_info mtd; member 533 static void send_page_v3(struct mtd_info *mtd, unsigned int ops) in send_page_v3() 549 static void send_page_v2(struct mtd_info *mtd, unsigned int ops) in send_page_v2() 563 static void send_page_v1(struct mtd_info *mtd, unsigned int ops) in send_page_v1() 646 static int mxc_nand_dev_ready(struct mtd_info *mtd) in mxc_nand_dev_ready() 655 static void mxc_nand_enable_hwecc(struct mtd_info *mtd, int mode) in mxc_nand_enable_hwecc() 663 static int mxc_nand_correct_data_v1(struct mtd_info *mtd, u_char *dat, in mxc_nand_correct_data_v1() 684 static int mxc_nand_correct_data_v2_v3(struct mtd_info *mtd, u_char *dat, in mxc_nand_correct_data_v2_v3() 717 static int mxc_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in mxc_nand_calculate_ecc() 723 static u_char mxc_nand_read_byte(struct mtd_info *mtd) in mxc_nand_read_byte() [all …]
|
D | sunxi_nand.c | 237 struct mtd_info mtd; member 351 static int sunxi_nfc_dev_ready(struct mtd_info *mtd) in sunxi_nfc_dev_ready() 389 static void sunxi_nfc_select_chip(struct mtd_info *mtd, int chip) in sunxi_nfc_select_chip() 434 static void sunxi_nfc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in sunxi_nfc_read_buf() 466 static void sunxi_nfc_write_buf(struct mtd_info *mtd, const uint8_t *buf, in sunxi_nfc_write_buf() 498 static uint8_t sunxi_nfc_read_byte(struct mtd_info *mtd) in sunxi_nfc_read_byte() 507 static void sunxi_nfc_cmd_ctrl(struct mtd_info *mtd, int dat, in sunxi_nfc_cmd_ctrl() 542 static void sunxi_nfc_hw_ecc_enable(struct mtd_info *mtd) in sunxi_nfc_hw_ecc_enable() 557 static void sunxi_nfc_hw_ecc_disable(struct mtd_info *mtd) in sunxi_nfc_hw_ecc_disable() 574 static int sunxi_nfc_hw_ecc_read_chunk(struct mtd_info *mtd, in sunxi_nfc_hw_ecc_read_chunk() [all …]
|
D | denali.c | 868 static int write_oob_data(struct mtd_info *mtd, uint8_t *buf, int page) in write_oob_data() 897 static void read_oob_data(struct mtd_info *mtd, uint8_t *buf, int page) in read_oob_data() 1060 static int write_page(struct mtd_info *mtd, struct nand_chip *chip, in write_page() 1116 static int denali_write_page(struct mtd_info *mtd, struct nand_chip *chip, in denali_write_page() 1131 static int denali_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in denali_write_page_raw() 1142 static int denali_write_oob(struct mtd_info *mtd, struct nand_chip *chip, in denali_write_oob() 1148 static int denali_read_oob(struct mtd_info *mtd, struct nand_chip *chip, in denali_read_oob() 1156 static int denali_read_page(struct mtd_info *mtd, struct nand_chip *chip, in denali_read_page() 1209 static int denali_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in denali_read_page_raw() 1245 static uint8_t denali_read_byte(struct mtd_info *mtd) in denali_read_byte() [all …]
|
D | xway_nand.c | 73 static void xway_select_chip(struct mtd_info *mtd, int chip) in xway_select_chip() 90 static void xway_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in xway_cmd_ctrl() 114 static int xway_dev_ready(struct mtd_info *mtd) in xway_dev_ready() 119 static unsigned char xway_read_byte(struct mtd_info *mtd) in xway_read_byte()
|
D | nand_bch.c | 52 int nand_bch_calculate_ecc(struct mtd_info *mtd, const unsigned char *buf, in nand_bch_calculate_ecc() 79 int nand_bch_correct_data(struct mtd_info *mtd, unsigned char *buf, in nand_bch_correct_data() 127 nand_bch_init(struct mtd_info *mtd, unsigned int eccsize, unsigned int eccbytes, in nand_bch_init()
|
D | sm_common.c | 41 static int sm_block_markbad(struct mtd_info *mtd, loff_t ofs) in sm_block_markbad() 103 int sm_register_device(struct mtd_info *mtd, int smartmedia) in sm_register_device()
|
D | pxa3xx_nand.c | 175 struct mtd_info *mtd; member 540 struct mtd_info *mtd) in pxa3xx_set_datasize() 898 struct mtd_info *mtd = host->mtd; in prepare_start_command() local 948 struct mtd_info *mtd; in prepare_set_command() local 1118 static void nand_cmdfunc(struct mtd_info *mtd, unsigned command, in nand_cmdfunc() 1165 static void nand_cmdfunc_extended(struct mtd_info *mtd, in nand_cmdfunc_extended() 1275 static int pxa3xx_nand_write_page_hwecc(struct mtd_info *mtd, in pxa3xx_nand_write_page_hwecc() 1285 static int pxa3xx_nand_read_page_hwecc(struct mtd_info *mtd, in pxa3xx_nand_read_page_hwecc() 1313 static uint8_t pxa3xx_nand_read_byte(struct mtd_info *mtd) in pxa3xx_nand_read_byte() 1326 static u16 pxa3xx_nand_read_word(struct mtd_info *mtd) in pxa3xx_nand_read_word() [all …]
|
D | nand_ecc.c | 423 int nand_calculate_ecc(struct mtd_info *mtd, const unsigned char *buf, in nand_calculate_ecc() 523 int nand_correct_data(struct mtd_info *mtd, unsigned char *buf, in nand_correct_data()
|
D | gpio.c | 72 static void gpio_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in gpio_nand_cmd_ctrl() 91 static int gpio_nand_devready(struct mtd_info *mtd) in gpio_nand_devready()
|
D | nandsim.c | 667 static int init_nandsim(struct mtd_info *mtd) in init_nandsim() 815 static int parse_badblocks(struct nandsim *ns, struct mtd_info *mtd) in parse_badblocks() 1014 static int setup_wear_reporting(struct mtd_info *mtd) in setup_wear_reporting() 1909 static u_char ns_nand_read_byte(struct mtd_info *mtd) in ns_nand_read_byte() 1970 static void ns_nand_write_byte(struct mtd_info *mtd, u_char byte) in ns_nand_write_byte() 2124 static void ns_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int bitmask) in ns_hwcontrol() 2136 static int ns_device_ready(struct mtd_info *mtd) in ns_device_ready() 2142 static uint16_t ns_nand_read_word(struct mtd_info *mtd) in ns_nand_read_word() 2151 static void ns_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in ns_nand_write_buf() 2178 static void ns_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in ns_nand_read_buf()
|
D | plat_nand.c | 23 struct mtd_info mtd; member
|
D | r852.h | 111 struct mtd_info *mtd; /* mtd backpointer */ member
|
D | denali.h | 453 struct mtd_info mtd; member
|
/linux-4.4.14/drivers/mtd/onenand/ |
D | onenand_base.c | 349 int flexonenand_region(struct mtd_info *mtd, loff_t addr) in flexonenand_region() 370 static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, size_t len) in onenand_command() 525 static int onenand_wait(struct mtd_info *mtd, int state) in onenand_wait() 623 static int onenand_interrupt_wait(struct mtd_info *mtd, int state) in onenand_interrupt_wait() 639 static int onenand_try_interrupt_wait(struct mtd_info *mtd, int state) in onenand_try_interrupt_wait() 670 static void onenand_setup_wait(struct mtd_info *mtd) in onenand_setup_wait() 705 static inline int onenand_bufferram_offset(struct mtd_info *mtd, int area) in onenand_bufferram_offset() 730 static int onenand_read_bufferram(struct mtd_info *mtd, int area, in onenand_read_bufferram() 766 static int onenand_sync_read_bufferram(struct mtd_info *mtd, int area, in onenand_sync_read_bufferram() 806 static int onenand_write_bufferram(struct mtd_info *mtd, int area, in onenand_write_bufferram() [all …]
|
D | omap2.c | 55 struct mtd_info mtd; member 106 static int omap2_onenand_wait(struct mtd_info *mtd, int state) in omap2_onenand_wait() 280 static inline int omap2_onenand_bufferram_offset(struct mtd_info *mtd, int area) in omap2_onenand_bufferram_offset() 296 static int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area, in omap3_onenand_read_bufferram() 374 static int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area, in omap3_onenand_write_bufferram() 447 static int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area, in omap3_onenand_read_bufferram() 454 static int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area, in omap3_onenand_write_bufferram() 465 static int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area, in omap2_onenand_read_bufferram() 510 static int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area, in omap2_onenand_write_bufferram() 557 static int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area, in omap2_onenand_read_bufferram() [all …]
|
D | onenand_bbt.c | 57 static int create_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *bd, int chip) in create_bbt() 132 static inline int onenand_memory_bbt (struct mtd_info *mtd, struct nand_bbt_descr *bd) in onenand_memory_bbt() 145 static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) in onenand_isbad_bbt() 182 int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) in onenand_scan_bbt() 233 int onenand_default_bbt(struct mtd_info *mtd) in onenand_default_bbt()
|
D | samsung.c | 128 struct mtd_info *mtd; member 318 static int s3c_onenand_wait(struct mtd_info *mtd, int state) in s3c_onenand_wait() 384 static int s3c_onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, in s3c_onenand_command() 482 static unsigned char *s3c_get_bufferram(struct mtd_info *mtd, int area) in s3c_get_bufferram() 501 static int onenand_read_bufferram(struct mtd_info *mtd, int area, in onenand_read_bufferram() 512 static int onenand_write_bufferram(struct mtd_info *mtd, int area, in onenand_write_bufferram() 623 static int s5pc110_read_bufferram(struct mtd_info *mtd, int area, in s5pc110_read_bufferram() 695 static int s5pc110_chip_probe(struct mtd_info *mtd) in s5pc110_chip_probe() 701 static int s3c_onenand_bbt_wait(struct mtd_info *mtd, int state) in s3c_onenand_bbt_wait() 734 static void s3c_onenand_check_lock_status(struct mtd_info *mtd) in s3c_onenand_check_lock_status() [all …]
|
D | generic.c | 33 struct mtd_info mtd; member
|
/linux-4.4.14/drivers/mtd/chips/ |
D | map_absent.c | 46 struct mtd_info *mtd; in map_absent_probe() local 71 static int map_absent_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *b… in map_absent_read() 76 static int map_absent_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_ch… in map_absent_write() 81 static int map_absent_erase(struct mtd_info *mtd, struct erase_info *instr) in map_absent_erase() 86 static void map_absent_sync(struct mtd_info *mtd) in map_absent_sync() 91 static void map_absent_destroy(struct mtd_info *mtd) in map_absent_destroy()
|
D | map_rom.c | 43 struct mtd_info *mtd; in map_rom_probe() local 74 static unsigned long maprom_unmapped_area(struct mtd_info *mtd, in maprom_unmapped_area() 83 static int maprom_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in maprom_read() 92 static void maprom_nop(struct mtd_info *mtd) in maprom_nop() 97 static int maprom_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in maprom_write() 102 static int maprom_erase (struct mtd_info *mtd, struct erase_info *info) in maprom_erase()
|
D | map_ram.c | 35 struct mtd_info *mtd; in map_ram_probe() local 90 static unsigned long mapram_unmapped_area(struct mtd_info *mtd, in mapram_unmapped_area() 99 static int mapram_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in mapram_read() 108 static int mapram_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in mapram_write() 117 static int mapram_erase (struct mtd_info *mtd, struct erase_info *instr) in mapram_erase() 133 static void mapram_nop(struct mtd_info *mtd) in mapram_nop()
|
D | cfi_cmdset_0002.c | 156 static void fixup_amd_bootblock(struct mtd_info *mtd) in fixup_amd_bootblock() 205 static void fixup_use_write_buffers(struct mtd_info *mtd) in fixup_use_write_buffers() 216 static void fixup_convert_atmel_pri(struct mtd_info *mtd) in fixup_convert_atmel_pri() 247 static void fixup_use_secsi(struct mtd_info *mtd) in fixup_use_secsi() 254 static void fixup_use_erase_chip(struct mtd_info *mtd) in fixup_use_erase_chip() 269 static void fixup_use_atmel_lock(struct mtd_info *mtd) in fixup_use_atmel_lock() 276 static void fixup_old_sst_eraseregion(struct mtd_info *mtd) in fixup_old_sst_eraseregion() 290 static void fixup_sst39vf(struct mtd_info *mtd) in fixup_sst39vf() 301 static void fixup_sst39vf_rev_b(struct mtd_info *mtd) in fixup_sst39vf_rev_b() 314 static void fixup_sst38vf640x_sectorsize(struct mtd_info *mtd) in fixup_sst38vf640x_sectorsize() [all …]
|
D | cfi_cmdset_0001.c | 169 static void fixup_convert_atmel_pri(struct mtd_info *mtd) in fixup_convert_atmel_pri() 209 static void fixup_at49bv640dx_lock(struct mtd_info *mtd) in fixup_at49bv640dx_lock() 221 static void fixup_intel_strataflash(struct mtd_info *mtd) in fixup_intel_strataflash() 234 static void fixup_no_write_suspend(struct mtd_info *mtd) in fixup_no_write_suspend() 247 static void fixup_st_m28w320ct(struct mtd_info *mtd) in fixup_st_m28w320ct() 256 static void fixup_st_m28w320cb(struct mtd_info *mtd) in fixup_st_m28w320cb() 276 static void fixup_LH28F640BF(struct mtd_info *mtd) in fixup_LH28F640BF() 296 static void fixup_use_point(struct mtd_info *mtd) in fixup_use_point() 305 static void fixup_use_write_buffers(struct mtd_info *mtd) in fixup_use_write_buffers() 319 static void fixup_unlock_powerup_lock(struct mtd_info *mtd) in fixup_unlock_powerup_lock() [all …]
|
D | cfi_cmdset_0020.c | 169 struct mtd_info *mtd; in cfi_staa_setup() local 382 static int cfi_staa_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *bu… in cfi_staa_read() 605 static int cfi_staa_write_buffers (struct mtd_info *mtd, loff_t to, in cfi_staa_write_buffers() 662 cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs, in cfi_staa_writev() 889 static int cfi_staa_erase_varsize(struct mtd_info *mtd, in cfi_staa_erase_varsize() 974 static void cfi_staa_sync (struct mtd_info *mtd) in cfi_staa_sync() 1127 static int cfi_staa_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in cfi_staa_lock() 1273 static int cfi_staa_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in cfi_staa_unlock() 1312 static int cfi_staa_suspend(struct mtd_info *mtd) in cfi_staa_suspend() 1368 static void cfi_staa_resume(struct mtd_info *mtd) in cfi_staa_resume() [all …]
|
D | fwh_lock.h | 79 static int fwh_lock_varsize(struct mtd_info *mtd, loff_t ofs, uint64_t len) in fwh_lock_varsize() 90 static int fwh_unlock_varsize(struct mtd_info *mtd, loff_t ofs, uint64_t len) in fwh_unlock_varsize() 100 static void fixup_use_fwh_lock(struct mtd_info *mtd) in fixup_use_fwh_lock()
|
D | gen_probe.c | 23 struct mtd_info *mtd = NULL; in mtd_do_chip_probe() local 217 struct mtd_info *mtd; in cfi_cmdset_unknown() local
|
D | chipreg.c | 85 void map_destroy(struct mtd_info *mtd) in map_destroy()
|
D | cfi_util.c | 336 void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup *fixups) in cfi_fixup() 352 int cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob, in cfi_varsize_frob()
|
/linux-4.4.14/drivers/mtd/devices/ |
D | mtdram.c | 35 static int check_offs_len(struct mtd_info *mtd, loff_t ofs, uint64_t len) in check_offs_len() 54 static int ram_erase(struct mtd_info *mtd, struct erase_info *instr) in ram_erase() 64 static int ram_point(struct mtd_info *mtd, loff_t from, size_t len, in ram_point() 72 static int ram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in ram_unpoint() 82 static unsigned long ram_get_unmapped_area(struct mtd_info *mtd, in ram_get_unmapped_area() 90 static int ram_read(struct mtd_info *mtd, loff_t from, size_t len, in ram_read() 98 static int ram_write(struct mtd_info *mtd, loff_t to, size_t len, in ram_write() 115 int mtdram_init_device(struct mtd_info *mtd, void *mapped_address, in mtdram_init_device()
|
D | powernv_flash.c | 40 struct mtd_info mtd; member 50 static int powernv_flash_async_op(struct mtd_info *mtd, enum flash_op op, in powernv_flash_async_op() 119 static int powernv_flash_read(struct mtd_info *mtd, loff_t from, size_t len, in powernv_flash_read() 135 static int powernv_flash_write(struct mtd_info *mtd, loff_t to, size_t len, in powernv_flash_write() 147 static int powernv_flash_erase(struct mtd_info *mtd, struct erase_info *erase) in powernv_flash_erase() 173 struct mtd_info *mtd) in powernv_flash_set_driver_info()
|
D | bcm47xxsflash.c | 67 static int bcm47xxsflash_erase(struct mtd_info *mtd, struct erase_info *erase) in bcm47xxsflash_erase() 103 static int bcm47xxsflash_read(struct mtd_info *mtd, loff_t from, size_t len, in bcm47xxsflash_read() 119 static int bcm47xxsflash_write_st(struct mtd_info *mtd, u32 offset, size_t len, in bcm47xxsflash_write_st() 164 static int bcm47xxsflash_write_at(struct mtd_info *mtd, u32 offset, size_t len, in bcm47xxsflash_write_at() 207 static int bcm47xxsflash_write(struct mtd_info *mtd, loff_t to, size_t len, in bcm47xxsflash_write() 243 struct mtd_info *mtd = &b47s->mtd; in bcm47xxsflash_fill_mtd() local
|
D | phram.c | 30 struct mtd_info mtd; member 36 static int phram_erase(struct mtd_info *mtd, struct erase_info *instr) in phram_erase() 52 static int phram_point(struct mtd_info *mtd, loff_t from, size_t len, in phram_point() 60 static int phram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in phram_unpoint() 65 static int phram_read(struct mtd_info *mtd, loff_t from, size_t len, in phram_read() 75 static int phram_write(struct mtd_info *mtd, loff_t to, size_t len, in phram_write()
|
D | pmc551.c | 139 static int pmc551_erase(struct mtd_info *mtd, struct erase_info *instr) in pmc551_erase() 196 static int pmc551_point(struct mtd_info *mtd, loff_t from, size_t len, in pmc551_point() 222 static int pmc551_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in pmc551_unpoint() 230 static int pmc551_read(struct mtd_info *mtd, loff_t from, size_t len, in pmc551_read() 287 static int pmc551_write(struct mtd_info *mtd, loff_t to, size_t len, in pmc551_write() 665 struct mtd_info *mtd; in init_pmc551() local 832 struct mtd_info *mtd; in cleanup_pmc551() local
|
D | ms02-nv.c | 57 static int ms02nv_read(struct mtd_info *mtd, loff_t from, in ms02nv_read() 67 static int ms02nv_write(struct mtd_info *mtd, loff_t to, in ms02nv_write() 110 struct mtd_info *mtd; in ms02nv_init_one() local 252 struct mtd_info *mtd = root_ms02nv_mtd; in ms02nv_remove_one() local
|
D | slram.c | 82 static int slram_erase(struct mtd_info *mtd, struct erase_info *instr) in slram_erase() 96 static int slram_point(struct mtd_info *mtd, loff_t from, size_t len, in slram_point() 106 static int slram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in slram_unpoint() 111 static int slram_read(struct mtd_info *mtd, loff_t from, size_t len, in slram_read() 121 static int slram_write(struct mtd_info *mtd, loff_t to, size_t len, in slram_write()
|
D | mtd_dataflash.c | 96 struct mtd_info mtd; member 149 static int dataflash_erase(struct mtd_info *mtd, struct erase_info *instr) in dataflash_erase() 235 static int dataflash_read(struct mtd_info *mtd, loff_t from, size_t len, in dataflash_read() 300 static int dataflash_write(struct mtd_info *mtd, loff_t to, size_t len, in dataflash_write() 443 static int dataflash_get_otp_info(struct mtd_info *mtd, size_t len, in dataflash_get_otp_info() 502 static int dataflash_read_fact_otp(struct mtd_info *mtd, in dataflash_read_fact_otp() 519 static int dataflash_read_user_otp(struct mtd_info *mtd, in dataflash_read_user_otp() 536 static int dataflash_write_user_otp(struct mtd_info *mtd, in dataflash_write_user_otp()
|
D | block2mtd.c | 38 struct mtd_info mtd; member 84 static int block2mtd_erase(struct mtd_info *mtd, struct erase_info *instr) in block2mtd_erase() 106 static int block2mtd_read(struct mtd_info *mtd, loff_t from, size_t len, in block2mtd_read() 180 static int block2mtd_write(struct mtd_info *mtd, loff_t to, size_t len, in block2mtd_write() 196 static void block2mtd_sync(struct mtd_info *mtd) in block2mtd_sync()
|
D | lart.c | 361 static int flash_erase (struct mtd_info *mtd,struct erase_info *instr) in flash_erase() 434 static int flash_read (struct mtd_info *mtd,loff_t from,size_t len,size_t *retlen,u_char *buf) in flash_read() 509 static int flash_write (struct mtd_info *mtd,loff_t to,size_t len,size_t *retlen,const u_char *buf) in flash_write() 569 static struct mtd_info mtd; variable
|
D | sst25l.c | 53 struct mtd_info mtd; member 170 static int sst25l_erase(struct mtd_info *mtd, struct erase_info *instr) in sst25l_erase() 213 static int sst25l_read(struct mtd_info *mtd, loff_t from, size_t len, in sst25l_read() 256 static int sst25l_write(struct mtd_info *mtd, loff_t to, size_t len, in sst25l_write()
|
D | docg3.c | 857 static int doc_read_oob(struct mtd_info *mtd, loff_t from, in doc_read_oob() 985 static int doc_read(struct mtd_info *mtd, loff_t from, size_t len, in doc_read() 1030 static int doc_block_isbad(struct mtd_info *mtd, loff_t from) in doc_block_isbad() 1201 static int doc_erase(struct mtd_info *mtd, struct erase_info *info) in doc_erase() 1411 static int doc_write_oob(struct mtd_info *mtd, loff_t ofs, in doc_write_oob() 1507 static int doc_write(struct mtd_info *mtd, loff_t to, size_t len, in doc_write() 1828 static int __init doc_set_driver_info(int chip_id, struct mtd_info *mtd) in doc_set_driver_info() 1887 struct mtd_info *mtd; in doc_probe_device() local 1952 static void doc_release_device(struct mtd_info *mtd) in doc_release_device() 1973 struct mtd_info **docg3_floors, *mtd; in docg3_resume() local [all …]
|
D | spear_smi.c | 199 struct mtd_info mtd; member 208 static inline struct spear_snor_flash *get_flash_data(struct mtd_info *mtd) in get_flash_data() 494 static int spear_mtd_erase(struct mtd_info *mtd, struct erase_info *e_info) in spear_mtd_erase() 548 static int spear_mtd_read(struct mtd_info *mtd, loff_t from, size_t len, in spear_mtd_read() 641 static int spear_mtd_write(struct mtd_info *mtd, loff_t to, size_t len, in spear_mtd_write()
|
D | bcm47xxsflash.h | 73 struct mtd_info mtd; member
|
D | st_spi_fsm.c | 263 struct mtd_info mtd; member 1674 static int stfsm_mtd_read(struct mtd_info *mtd, loff_t from, size_t len, in stfsm_mtd_read() 1750 static int stfsm_mtd_write(struct mtd_info *mtd, loff_t to, size_t len, in stfsm_mtd_write() 1796 static int stfsm_mtd_erase(struct mtd_info *mtd, struct erase_info *instr) in stfsm_mtd_erase()
|
/linux-4.4.14/drivers/staging/goldfish/ |
D | goldfish_nand.c | 39 struct mtd_info mtd[0]; member 42 static u32 goldfish_nand_cmd_with_params(struct mtd_info *mtd, in goldfish_nand_cmd_with_params() 77 static u32 goldfish_nand_cmd(struct mtd_info *mtd, enum nand_cmd cmd, in goldfish_nand_cmd() 98 static int goldfish_nand_erase(struct mtd_info *mtd, struct erase_info *instr) in goldfish_nand_erase() 132 static int goldfish_nand_read_oob(struct mtd_info *mtd, loff_t ofs, in goldfish_nand_read_oob() 164 static int goldfish_nand_write_oob(struct mtd_info *mtd, loff_t ofs, in goldfish_nand_write_oob() 196 static int goldfish_nand_read(struct mtd_info *mtd, loff_t from, size_t len, in goldfish_nand_read() 218 static int goldfish_nand_write(struct mtd_info *mtd, loff_t to, size_t len, in goldfish_nand_write() 240 static int goldfish_nand_block_isbad(struct mtd_info *mtd, loff_t ofs) in goldfish_nand_block_isbad() 261 static int goldfish_nand_block_markbad(struct mtd_info *mtd, loff_t ofs) in goldfish_nand_block_markbad() [all …]
|
/linux-4.4.14/drivers/mtd/tests/ |
D | mtd_test.c | 9 int mtdtest_erase_eraseblock(struct mtd_info *mtd, unsigned int ebnum) in mtdtest_erase_eraseblock() 33 static int is_block_bad(struct mtd_info *mtd, unsigned int ebnum) in is_block_bad() 45 int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt, in mtdtest_scan_for_bad_eraseblocks() 65 int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt, in mtdtest_erase_good_eraseblocks() 83 int mtdtest_read(struct mtd_info *mtd, loff_t addr, size_t size, void *buf) in mtdtest_read() 100 int mtdtest_write(struct mtd_info *mtd, loff_t addr, size_t size, in mtdtest_write()
|
D | readtest.c | 38 static struct mtd_info *mtd; variable
|
D | stresstest.c | 44 static struct mtd_info *mtd; variable
|
D | pagetest.c | 40 static struct mtd_info *mtd; variable
|
D | subpagetest.c | 39 static struct mtd_info *mtd; variable
|
D | nandbiterrs.c | 80 static struct mtd_info *mtd; /* MTD device */ variable
|
D | speedtest.c | 45 static struct mtd_info *mtd; variable
|
D | torturetest.c | 69 static struct mtd_info *mtd; variable
|
D | oobtest.c | 43 static struct mtd_info *mtd; variable
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | gluebi.c | 57 struct mtd_info mtd; member 97 static int gluebi_get_device(struct mtd_info *mtd) in gluebi_get_device() 147 static void gluebi_put_device(struct mtd_info *mtd) in gluebi_put_device() 171 static int gluebi_read(struct mtd_info *mtd, loff_t from, size_t len, in gluebi_read() 211 static int gluebi_write(struct mtd_info *mtd, loff_t to, size_t len, in gluebi_write() 252 static int gluebi_erase(struct mtd_info *mtd, struct erase_info *instr) in gluebi_erase() 303 struct mtd_info *mtd; in gluebi_create() local 372 struct mtd_info *mtd; in gluebi_remove() local 504 struct mtd_info *mtd = &gluebi->mtd; in ubi_gluebi_exit() local
|
D | build.c | 851 int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, in ubi_attach_mtd_dev() 1183 struct mtd_info *mtd; in open_mtd_device() local 1244 struct mtd_info *mtd; in ubi_init() local
|
D | io.c | 612 struct mtd_info *mtd = ubi->mtd; in ubi_io_is_bad() local 642 struct mtd_info *mtd = ubi->mtd; in ubi_io_mark_bad() local
|
D | cdev.c | 989 struct mtd_info *mtd; in ctrl_cdev_ioctl() local
|
D | ubi.h | 620 struct mtd_info *mtd; member
|
/linux-4.4.14/drivers/mtd/nand/bcm47xxnflash/ |
D | ops_bcm4706.c | 89 static void bcm47xxnflash_ops_bcm4706_read(struct mtd_info *mtd, uint8_t *buf, in bcm47xxnflash_ops_bcm4706_read() 139 static void bcm47xxnflash_ops_bcm4706_write(struct mtd_info *mtd, in bcm47xxnflash_ops_bcm4706_write() 173 static void bcm47xxnflash_ops_bcm4706_cmd_ctrl(struct mtd_info *mtd, int cmd, in bcm47xxnflash_ops_bcm4706_cmd_ctrl() 194 static void bcm47xxnflash_ops_bcm4706_select_chip(struct mtd_info *mtd, in bcm47xxnflash_ops_bcm4706_select_chip() 200 static int bcm47xxnflash_ops_bcm4706_dev_ready(struct mtd_info *mtd) in bcm47xxnflash_ops_bcm4706_dev_ready() 215 static void bcm47xxnflash_ops_bcm4706_cmdfunc(struct mtd_info *mtd, in bcm47xxnflash_ops_bcm4706_cmdfunc() 313 static u8 bcm47xxnflash_ops_bcm4706_read_byte(struct mtd_info *mtd) in bcm47xxnflash_ops_bcm4706_read_byte() 341 static void bcm47xxnflash_ops_bcm4706_read_buf(struct mtd_info *mtd, in bcm47xxnflash_ops_bcm4706_read_buf() 357 static void bcm47xxnflash_ops_bcm4706_write_buf(struct mtd_info *mtd, in bcm47xxnflash_ops_bcm4706_write_buf()
|
D | bcm47xxnflash.h | 15 struct mtd_info mtd; member
|
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-nand.c | 110 struct mtd_info *mtd = &this->mtd; in get_ecc_strength() local 142 struct mtd_info *mtd = &this->mtd; in set_geometry_by_ecc_info() local 260 struct mtd_info *mtd = &this->mtd; in legacy_set_geometry() local 807 struct mtd_info *mtd = &this->mtd; in gpmi_alloc_dma_buffer() local 857 static void gpmi_cmd_ctrl(struct mtd_info *mtd, int data, unsigned int ctrl) in gpmi_cmd_ctrl() 891 static int gpmi_dev_ready(struct mtd_info *mtd) in gpmi_dev_ready() 899 static void gpmi_select_chip(struct mtd_info *mtd, int chipnr) in gpmi_select_chip() 912 static void gpmi_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in gpmi_read_buf() 924 static void gpmi_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in gpmi_write_buf() 936 static uint8_t gpmi_read_byte(struct mtd_info *mtd) in gpmi_read_byte() [all …]
|
D | gpmi-nand.h | 163 struct mtd_info mtd; member
|
D | gpmi-lib.c | 922 struct mtd_info *mtd = &this->mtd; in enable_edo_mode() local
|
/linux-4.4.14/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 53 struct mtd_info *mtd; in lpddr_cmdset() local 470 static int do_erase_oneblock(struct mtd_info *mtd, loff_t adr) in do_erase_oneblock() 497 static int lpddr_read(struct mtd_info *mtd, loff_t adr, size_t len, in lpddr_read() 521 static int lpddr_point(struct mtd_info *mtd, loff_t adr, size_t len, in lpddr_point() 574 static int lpddr_unpoint (struct mtd_info *mtd, loff_t adr, size_t len) in lpddr_unpoint() 619 static int lpddr_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, in lpddr_write_buffers() 631 static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs, in lpddr_writev() 678 static int lpddr_erase(struct mtd_info *mtd, struct erase_info *instr) in lpddr_erase() 704 static int do_xxlock(struct mtd_info *mtd, loff_t adr, uint32_t len, int thunk) in do_xxlock() 739 static int lpddr_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in lpddr_lock() [all …]
|
D | lpddr2_nvm.c | 242 static int lpddr2_nvm_do_block_op(struct mtd_info *mtd, loff_t start_add, in lpddr2_nvm_do_block_op() 307 static int lpddr2_nvm_read(struct mtd_info *mtd, loff_t start_add, in lpddr2_nvm_read() 325 static int lpddr2_nvm_write(struct mtd_info *mtd, loff_t start_add, in lpddr2_nvm_write() 381 static int lpddr2_nvm_erase(struct mtd_info *mtd, struct erase_info *instr) in lpddr2_nvm_erase() 396 static int lpddr2_nvm_unlock(struct mtd_info *mtd, loff_t start_add, in lpddr2_nvm_unlock() 405 static int lpddr2_nvm_lock(struct mtd_info *mtd, loff_t start_add, in lpddr2_nvm_lock() 417 struct mtd_info *mtd; in lpddr2_nvm_probe() local
|
D | qinfo_probe.c | 200 struct mtd_info *mtd = NULL; in lpddr_probe() local
|
/linux-4.4.14/fs/logfs/ |
D | dev_mtd.c | 19 struct mtd_info *mtd = logfs_super(sb)->s_mtd; in logfs_mtd_read() local 39 struct mtd_info *mtd = super->s_mtd; in loffs_mtd_write() local 93 struct mtd_info *mtd = logfs_super(sb)->s_mtd; in logfs_mtd_erase() local 120 struct mtd_info *mtd = logfs_super(sb)->s_mtd; in logfs_mtd_sync() local 153 struct mtd_info *mtd = super->s_mtd; in logfs_mtd_find_first_sb() local 170 struct mtd_info *mtd = super->s_mtd; in logfs_mtd_find_last_sb() local 266 struct mtd_info *mtd = get_mtd_device(NULL, mtdnr); in logfs_get_sb_mtd() local
|
D | super.c | 134 struct mtd_info *mtd = super->s_mtd; in logfs_sb_test() local
|
/linux-4.4.14/include/linux/mtd/ |
D | nand_bch.h | 48 nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in nand_bch_calculate_ecc() 55 nand_bch_correct_data(struct mtd_info *mtd, unsigned char *buf, in nand_bch_correct_data() 62 nand_bch_init(struct mtd_info *mtd, unsigned int eccsize, in nand_bch_init()
|
D | mtd.h | 46 struct mtd_info *mtd; member 272 static inline int mtd_write_oob(struct mtd_info *mtd, loff_t to, in mtd_write_oob() 298 static inline void mtd_sync(struct mtd_info *mtd) in mtd_sync() 311 static inline int mtd_suspend(struct mtd_info *mtd) in mtd_suspend() 316 static inline void mtd_resume(struct mtd_info *mtd) in mtd_resume() 322 static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_eb() 330 static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_mod_by_eb() 337 static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_ws() 345 static inline uint32_t mtd_mod_by_ws(uint64_t sz, struct mtd_info *mtd) in mtd_mod_by_ws() 352 static inline int mtd_has_oob(const struct mtd_info *mtd) in mtd_has_oob() [all …]
|
D | blktrans.h | 37 struct mtd_info *mtd; member
|
D | spi-nor.h | 155 struct mtd_info mtd; member
|
D | sh_flctl.h | 146 struct mtd_info mtd; member
|
D | nand.h | 912 struct platform_nand_chip *get_platform_nandchip(struct mtd_info *mtd) in get_platform_nandchip()
|
/linux-4.4.14/drivers/staging/mt29f_spinand/ |
D | mt29f_spinand.c | 32 static inline struct spinand_state *mtd_to_state(struct mtd_info *mtd) in mtd_to_state() 614 static int spinand_write_page_hwecc(struct mtd_info *mtd, in spinand_write_page_hwecc() 628 static int spinand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in spinand_read_page_hwecc() 666 static void spinand_select_chip(struct mtd_info *mtd, int dev) in spinand_select_chip() 670 static u8 spinand_read_byte(struct mtd_info *mtd) in spinand_read_byte() 680 static int spinand_wait(struct mtd_info *mtd, struct nand_chip *chip) in spinand_wait() 709 static void spinand_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in spinand_write_buf() 717 static void spinand_read_buf(struct mtd_info *mtd, u8 *buf, int len) in spinand_read_buf() 744 static void spinand_cmdfunc(struct mtd_info *mtd, unsigned int command, in spinand_cmdfunc() 849 struct mtd_info *mtd; in spinand_probe() local
|
/linux-4.4.14/drivers/mtd/spi-nor/ |
D | spi-nor.c | 179 static inline struct spi_nor *mtd_to_spi_nor(struct mtd_info *mtd) in mtd_to_spi_nor() 319 static int spi_nor_erase(struct mtd_info *mtd, struct erase_info *instr) in spi_nor_erase() 406 struct mtd_info *mtd = &nor->mtd; in stm_get_locked_range() local 461 struct mtd_info *mtd = &nor->mtd; in stm_lock() local 511 struct mtd_info *mtd = &nor->mtd; in stm_unlock() local 570 static int spi_nor_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in spi_nor_lock() 585 static int spi_nor_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in spi_nor_unlock() 600 static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) in spi_nor_is_locked() 875 static int spi_nor_read(struct mtd_info *mtd, loff_t from, size_t len, in spi_nor_read() 893 static int sst_write(struct mtd_info *mtd, loff_t to, size_t len, in sst_write() [all …]
|
D | fsl-quadspi.c | 935 struct mtd_info *mtd; in fsl_qspi_probe() local
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | mtd.c | 19 #define to_efx_mtd_partition(mtd) \ argument 24 static int efx_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) in efx_mtd_erase() 40 static void efx_mtd_sync(struct mtd_info *mtd) in efx_mtd_sync()
|
D | mcdi.c | 1945 int efx_mcdi_mtd_read(struct mtd_info *mtd, loff_t start, in efx_mcdi_mtd_read() 1969 int efx_mcdi_mtd_erase(struct mtd_info *mtd, loff_t start, size_t len) in efx_mcdi_mtd_erase() 1999 int efx_mcdi_mtd_write(struct mtd_info *mtd, loff_t start, in efx_mcdi_mtd_write() 2030 int efx_mcdi_mtd_sync(struct mtd_info *mtd) in efx_mcdi_mtd_sync()
|
D | falcon.c | 652 #define to_falcon_mtd_partition(mtd) \ argument 857 static int falcon_mtd_read(struct mtd_info *mtd, loff_t start, in falcon_mtd_read() 874 static int falcon_mtd_erase(struct mtd_info *mtd, loff_t start, size_t len) in falcon_mtd_erase() 889 static int falcon_mtd_write(struct mtd_info *mtd, loff_t start, in falcon_mtd_write() 906 static int falcon_mtd_sync(struct mtd_info *mtd) in falcon_mtd_sync()
|
D | mcdi.h | 103 #define to_efx_mcdi_mtd_partition(mtd) \ argument
|
D | net_driver.h | 1077 struct mtd_info mtd; member
|
/linux-4.4.14/drivers/mtd/maps/ |
D | vmu-flash.c | 50 struct mtd_info *mtd; member 59 struct mtd_info *mtd, int partition) in ofs_to_block() 112 struct mtd_info *mtd) in maple_vmu_read_block() 229 struct mtd_info *mtd) in maple_vmu_write_block() 305 struct mtd_info *mtd) in vmu_flash_read_char() 352 static int vmu_flash_read(struct mtd_info *mtd, loff_t from, size_t len, in vmu_flash_read() 418 static int vmu_flash_write(struct mtd_info *mtd, loff_t to, size_t len, in vmu_flash_write() 495 static void vmu_flash_sync(struct mtd_info *mtd) in vmu_flash_sync() 719 struct mtd_info *mtd; in vmu_can_unload() local
|
D | uclinux.c | 58 static int uclinux_point(struct mtd_info *mtd, loff_t from, size_t len, in uclinux_point() 73 struct mtd_info *mtd; in uclinux_mtd_init() local
|
D | physmap_of.c | 29 struct mtd_info *mtd; member 82 struct mtd_info *mtd; in obsolete_probe() local
|
D | sa1100-flash.c | 29 struct mtd_info *mtd; member 34 struct mtd_info *mtd; member
|
D | rbtx4939-flash.c | 25 struct mtd_info *mtd; member
|
D | pci.c | 259 struct mtd_info *mtd = NULL; in mtd_pci_probe() local 310 struct mtd_info *mtd = pci_get_drvdata(dev); in mtd_pci_remove() local
|
D | scb2_flash.c | 71 static int scb2_fixup_mtd(struct mtd_info *mtd) in scb2_fixup_mtd()
|
D | sun_uflash.c | 41 struct mtd_info *mtd; /* mtd info */ member
|
D | pxa2xx-flash.c | 43 struct mtd_info *mtd; member
|
D | plat-ram.c | 44 struct mtd_info *mtd; member
|
D | tsunami_flash.c | 76 struct mtd_info *mtd; in cleanup_tsunami_flash() local
|
D | latch-addr-flash.c | 25 struct mtd_info *mtd; member
|
D | lantiq-flash.c | 43 struct mtd_info *mtd; member
|
D | physmap.c | 27 struct mtd_info *mtd[MAX_RESOURCES]; member
|
D | ixp4xx.c | 146 struct mtd_info *mtd; member
|
D | ck804xrom.c | 46 struct mtd_info *mtd; member
|
D | bfin-async-flash.c | 38 struct mtd_info *mtd; member
|
D | amd76xrom.c | 42 struct mtd_info *mtd; member
|
D | ichxrom.c | 47 struct mtd_info *mtd; member
|
D | gpio-addr-flash.c | 44 struct mtd_info *mtd; member
|
D | esb2rom.c | 108 struct mtd_info *mtd; member
|
D | pcmciamtd.c | 466 struct mtd_info *mtd = NULL; in pcmciamtd_config() local
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | mach-qong.c | 132 static void qong_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in qong_nand_cmd_ctrl() 148 static int qong_nand_device_ready(struct mtd_info *mtd) in qong_nand_device_ready() 153 static void qong_nand_select_chip(struct mtd_info *mtd, int chip) in qong_nand_select_chip()
|
/linux-4.4.14/drivers/mtd/nand/brcmnand/ |
D | brcmnand.c | 182 struct mtd_info mtd; member 907 static void brcmnand_wp(struct mtd_info *mtd, int wp) in brcmnand_wp() 1067 static void brcmnand_cmd_ctrl(struct mtd_info *mtd, int dat, in brcmnand_cmd_ctrl() 1073 static int brcmnand_waitfunc(struct mtd_info *mtd, struct nand_chip *this) in brcmnand_waitfunc() 1110 struct mtd_info *mtd = &host->mtd; in brcmnand_low_level_op() local 1146 static void brcmnand_cmdfunc(struct mtd_info *mtd, unsigned command, in brcmnand_cmdfunc() 1247 static uint8_t brcmnand_read_byte(struct mtd_info *mtd) in brcmnand_read_byte() 1305 static void brcmnand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in brcmnand_read_buf() 1313 static void brcmnand_write_buf(struct mtd_info *mtd, const uint8_t *buf, in brcmnand_write_buf() 1424 static int brcmnand_read_by_pio(struct mtd_info *mtd, struct nand_chip *chip, in brcmnand_read_by_pio() [all …]
|
/linux-4.4.14/fs/romfs/ |
D | mmap-nommu.c | 29 struct mtd_info *mtd = inode->i_sb->s_mtd; in romfs_get_unmapped_area() local 75 struct mtd_info *mtd = file_inode(file)->i_sb->s_mtd; in romfs_mmap_capabilities() local
|
/linux-4.4.14/arch/arm/mach-ep93xx/ |
D | snappercl15.c | 49 static void snappercl15_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in snappercl15_nand_cmd_ctrl() 77 static int snappercl15_nand_dev_ready(struct mtd_info *mtd) in snappercl15_nand_dev_ready()
|
D | ts72xx.c | 74 static void ts72xx_nand_hwcontrol(struct mtd_info *mtd, in ts72xx_nand_hwcontrol() 97 static int ts72xx_nand_device_ready(struct mtd_info *mtd) in ts72xx_nand_device_ready()
|
/linux-4.4.14/arch/cris/arch-v32/drivers/mach-fs/ |
D | nandflash.c | 49 static void crisv32_hwcontrol(struct mtd_info *mtd, int cmd, in crisv32_hwcontrol() 91 static int crisv32_device_ready(struct mtd_info *mtd) in crisv32_device_ready()
|
/linux-4.4.14/arch/arm/mach-orion5x/ |
D | ts78xx-setup.c | 176 static void ts78xx_ts_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in ts78xx_ts_nand_cmd_ctrl() 195 static int ts78xx_ts_nand_dev_ready(struct mtd_info *mtd) in ts78xx_ts_nand_dev_ready() 200 static void ts78xx_ts_nand_write_buf(struct mtd_info *mtd, in ts78xx_ts_nand_write_buf() 227 static void ts78xx_ts_nand_read_buf(struct mtd_info *mtd, in ts78xx_ts_nand_read_buf()
|
/linux-4.4.14/arch/cris/arch-v32/drivers/mach-a3/ |
D | nandflash.c | 50 static void crisv32_hwcontrol(struct mtd_info *mtd, int cmd, in crisv32_hwcontrol() 96 static int crisv32_device_ready(struct mtd_info *mtd) in crisv32_device_ready()
|
/linux-4.4.14/arch/mips/rb532/ |
D | devices.c | 144 static int rb532_dev_ready(struct mtd_info *mtd) in rb532_dev_ready() 149 static void rb532_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in rb532_cmd_ctrl()
|
/linux-4.4.14/arch/arm/mach-omap1/ |
D | board-nand.c | 23 void omap1_nand_cmd_ctl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in omap1_nand_cmd_ctl()
|
D | board-perseus2.c | 147 static int nand_dev_ready(struct mtd_info *mtd) in nand_dev_ready()
|
D | board-h2.c | 185 static int h2_nand_dev_ready(struct mtd_info *mtd) in h2_nand_dev_ready()
|
D | board-h3.c | 188 static int nand_dev_ready(struct mtd_info *mtd) in nand_dev_ready()
|
D | board-fsample.c | 189 static int nand_dev_ready(struct mtd_info *mtd) in nand_dev_ready()
|
/linux-4.4.14/arch/sh/boards/mach-migor/ |
D | setup.c | 167 static void migor_nand_flash_cmd_ctl(struct mtd_info *mtd, int cmd, in migor_nand_flash_cmd_ctl() 183 static int migor_nand_flash_ready(struct mtd_info *mtd) in migor_nand_flash_ready()
|
/linux-4.4.14/arch/blackfin/mach-bf561/boards/ |
D | acvilon.c | 267 static void bfin_plat_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in bfin_plat_nand_cmd_ctrl() 282 static int bfin_plat_nand_dev_ready(struct mtd_info *mtd) in bfin_plat_nand_dev_ready()
|
/linux-4.4.14/arch/mips/alchemy/devboards/ |
D | db1550.c | 128 static void au1550_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in au1550_nand_cmd_ctrl() 151 static int au1550_nand_device_ready(struct mtd_info *mtd) in au1550_nand_device_ready()
|
D | db1300.c | 150 static void au1300_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in au1300_nand_cmd_ctrl() 173 static int au1300_nand_device_ready(struct mtd_info *mtd) in au1300_nand_device_ready()
|
D | db1200.c | 200 static void au1200_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in au1200_nand_cmd_ctrl() 223 static int au1200_nand_device_ready(struct mtd_info *mtd) in au1200_nand_device_ready()
|
/linux-4.4.14/arch/arm/mach-pxa/ |
D | balloon3.c | 573 static void balloon3_nand_cmd_ctl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in balloon3_nand_cmd_ctl() 602 static void balloon3_nand_select_chip(struct mtd_info *mtd, int chip) in balloon3_nand_select_chip() 618 static int balloon3_nand_dev_ready(struct mtd_info *mtd) in balloon3_nand_dev_ready()
|
D | palmtx.c | 250 static void palmtx_nand_cmd_ctl(struct mtd_info *mtd, int cmd, in palmtx_nand_cmd_ctl()
|
D | em-x270.c | 289 static void em_x270_nand_cmd_ctl(struct mtd_info *mtd, int dat, in em_x270_nand_cmd_ctl() 321 static int em_x270_nand_device_ready(struct mtd_info *mtd) in em_x270_nand_device_ready()
|
/linux-4.4.14/arch/mips/pnx833x/common/ |
D | platform.c | 181 pnx833x_flash_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in pnx833x_flash_nand_cmd_ctrl()
|
/linux-4.4.14/arch/arm/mach-ixp4xx/ |
D | ixdp425-setup.c | 77 ixdp425_flash_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in ixdp425_flash_nand_cmd_ctrl()
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
D | cobalt-flash.c | 100 struct mtd_info *mtd; in cobalt_flash_probe() local
|
D | cobalt-driver.h | 301 struct mtd_info *mtd; member
|
/linux-4.4.14/arch/mips/netlogic/xlr/ |
D | platform-flash.c | 95 static void xlr_nand_ctrl(struct mtd_info *mtd, int cmd, in xlr_nand_ctrl()
|
/linux-4.4.14/drivers/firmware/broadcom/ |
D | bcm47xx_nvram.c | 147 struct mtd_info *mtd; in nvram_init() local
|
/linux-4.4.14/arch/blackfin/mach-bf537/boards/ |
D | stamp.c | 405 static void bfin_plat_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in bfin_plat_nand_cmd_ctrl() 419 static int bfin_plat_nand_dev_ready(struct mtd_info *mtd) in bfin_plat_nand_dev_ready()
|
/linux-4.4.14/fs/jffs2/ |
D | jffs2_fs_sb.h | 49 struct mtd_info *mtd; member
|
/linux-4.4.14/include/uapi/mtd/ |
D | mtd-abi.h | 279 static inline int mtd_type_is_nand_user(const struct mtd_info_user *mtd) in mtd_type_is_nand_user()
|
/linux-4.4.14/arch/arm/mach-davinci/ |
D | board-da850-evm.c | 129 static void da850_evm_m25p80_notify_add(struct mtd_info *mtd) in da850_evm_m25p80_notify_add()
|
/linux-4.4.14/include/linux/bcma/ |
D | bcma_driver_chipcommon.h | 589 struct mtd_info *mtd; member 601 struct mtd_info *mtd; member
|
/linux-4.4.14/drivers/block/ |
D | skd_main.c | 3107 u32 mtd; in skd_isr_fwstate() local 3311 u32 mtd; in skd_isr_msg_from_dev() local
|