/kernel/linux/linux-4.19/drivers/mtd/ |
D | mtdcore.c | 56 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_cls_suspend() local 63 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_cls_resume() local 105 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_release() local 115 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_type_show() local 154 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_flags_show() local 164 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_size_show() local 175 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_erasesize_show() local 185 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_writesize_show() local 195 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_subpagesize_show() local 206 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_oobsize_show() local [all …]
|
D | mtdpart.c | 49 struct mtd_info mtd; member 59 static inline struct mtd_part *mtd_to_part(const struct mtd_info *mtd) in mtd_to_part() 70 static int part_read(struct mtd_info *mtd, loff_t from, size_t len, in part_read() 89 static int part_point(struct mtd_info *mtd, loff_t from, size_t len, in part_point() 98 static int part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in part_unpoint() 105 static int part_read_oob(struct mtd_info *mtd, loff_t from, in part_read_oob() 123 static int part_read_user_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_user_prot_reg() 131 static int part_get_user_prot_info(struct mtd_info *mtd, size_t len, in part_get_user_prot_info() 139 static int part_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_fact_prot_reg() 147 static int part_get_fact_prot_info(struct mtd_info *mtd, size_t len, in part_get_fact_prot_info() [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | mtdcore.c | 43 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_cls_suspend() local 50 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_cls_resume() local 127 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_release() local 137 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_type_show() local 176 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_flags_show() local 185 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_size_show() local 195 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_erasesize_show() local 204 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_writesize_show() local 213 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_subpagesize_show() local 223 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_oobsize_show() local [all …]
|
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 = cxt->mtd; in mtdpstore_panic_block_isbad() local 63 struct mtd_info *mtd = cxt->mtd; in mtdpstore_mark_used() local 73 struct mtd_info *mtd = cxt->mtd; in mtdpstore_mark_unused() local 83 struct mtd_info *mtd = cxt->mtd; in mtdpstore_block_mark_unused() local 110 struct mtd_info *mtd = cxt->mtd; in mtdpstore_block_is_used() local 128 struct mtd_info *mtd = cxt->mtd; in mtdpstore_is_empty() local 142 struct mtd_info *mtd = cxt->mtd; in mtdpstore_mark_removed() local 152 struct mtd_info *mtd = cxt->mtd; in mtdpstore_block_clear_removed() local [all …]
|
D | mtdconcat.c | 30 struct mtd_info mtd; member 54 concat_read(struct mtd_info *mtd, loff_t from, size_t len, in concat_read() 106 concat_panic_write(struct mtd_info *mtd, loff_t to, size_t len, in concat_panic_write() 147 concat_write(struct mtd_info *mtd, loff_t to, size_t len, in concat_write() 185 concat_writev(struct mtd_info *mtd, const struct kvec *vecs, in concat_writev() 260 concat_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) in concat_read_oob() 317 concat_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) in concat_write_oob() 363 static int concat_erase(struct mtd_info *mtd, struct erase_info *instr) in concat_erase() 481 static int concat_xxlock(struct mtd_info *mtd, loff_t ofs, uint64_t len, in concat_xxlock() 519 static int concat_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_lock() [all …]
|
/kernel/linux/linux-4.19/drivers/mtd/nand/raw/ |
D | mpc5121_nfc.c | 134 static inline u16 nfc_read(struct mtd_info *mtd, uint reg) in nfc_read() 143 static inline void nfc_write(struct mtd_info *mtd, uint reg, u16 val) in nfc_write() 152 static inline void nfc_set(struct mtd_info *mtd, uint reg, u16 bits) in nfc_set() 158 static inline void nfc_clear(struct mtd_info *mtd, uint reg, u16 bits) in nfc_clear() 164 static inline void mpc5121_nfc_send_addr(struct mtd_info *mtd, u16 addr) in mpc5121_nfc_send_addr() 172 static inline void mpc5121_nfc_send_cmd(struct mtd_info *mtd, u16 cmd) in mpc5121_nfc_send_cmd() 180 static inline void mpc5121_nfc_send_prog_page(struct mtd_info *mtd) in mpc5121_nfc_send_prog_page() 188 static inline void mpc5121_nfc_send_read_page(struct mtd_info *mtd) in mpc5121_nfc_send_read_page() 196 static inline void mpc5121_nfc_send_read_id(struct mtd_info *mtd) in mpc5121_nfc_send_read_id() 204 static inline void mpc5121_nfc_send_read_status(struct mtd_info *mtd) in mpc5121_nfc_send_read_status() [all …]
|
D | nand_base.c | 57 static int nand_ooblayout_ecc_sp(struct mtd_info *mtd, int section, in nand_ooblayout_ecc_sp() 83 static int nand_ooblayout_free_sp(struct mtd_info *mtd, int section, in nand_ooblayout_free_sp() 112 static int nand_ooblayout_ecc_lp(struct mtd_info *mtd, int section, in nand_ooblayout_ecc_lp() 127 static int nand_ooblayout_free_lp(struct mtd_info *mtd, int section, in nand_ooblayout_free_lp() 152 static int nand_ooblayout_ecc_lp_hamming(struct mtd_info *mtd, int section, in nand_ooblayout_ecc_lp_hamming() 179 static int nand_ooblayout_free_lp_hamming(struct mtd_info *mtd, int section, in nand_ooblayout_free_lp_hamming() 216 static int check_offs_len(struct mtd_info *mtd, in check_offs_len() 243 static void nand_release_device(struct mtd_info *mtd) in nand_release_device() 261 static uint8_t nand_read_byte(struct mtd_info *mtd) in nand_read_byte() 274 static uint8_t nand_read_byte16(struct mtd_info *mtd) in nand_read_byte16() [all …]
|
D | diskonchip.c | 293 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) in doc2000_write_byte() 305 static u_char doc2000_read_byte(struct mtd_info *mtd) in doc2000_read_byte() 320 static void doc2000_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_writebuf() 337 static void doc2000_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf() 352 static void doc2000_readbuf_dword(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf_dword() 373 static uint16_t __init doc200x_ident_chip(struct mtd_info *mtd, int nr) in doc200x_ident_chip() 419 static void __init doc2000_count_chips(struct mtd_info *mtd) in doc2000_count_chips() 441 static int doc200x_wait(struct mtd_info *mtd, struct nand_chip *this) in doc200x_wait() 455 static void doc2001_write_byte(struct mtd_info *mtd, u_char datum) in doc2001_write_byte() 466 static u_char doc2001_read_byte(struct mtd_info *mtd) in doc2001_read_byte() [all …]
|
D | au1550nd.c | 36 static u_char au_read_byte(struct mtd_info *mtd) in au_read_byte() 51 static void au_write_byte(struct mtd_info *mtd, u_char byte) in au_write_byte() 64 static u_char au_read_byte16(struct mtd_info *mtd) in au_read_byte16() 79 static void au_write_byte16(struct mtd_info *mtd, u_char byte) in au_write_byte16() 92 static u16 au_read_word(struct mtd_info *mtd) in au_read_word() 108 static void au_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in au_write_buf() 127 static void au_read_buf(struct mtd_info *mtd, u_char *buf, int len) in au_read_buf() 146 static void au_write_buf16(struct mtd_info *mtd, const u_char *buf, int len) in au_write_buf16() 168 static void au_read_buf16(struct mtd_info *mtd, u_char *buf, int len) in au_read_buf16() 194 static void au1550_hwcontrol(struct mtd_info *mtd, int cmd) in au1550_hwcontrol() [all …]
|
D | sm_common.c | 15 static int oob_sm_ooblayout_ecc(struct mtd_info *mtd, int section, in oob_sm_ooblayout_ecc() 27 static int oob_sm_ooblayout_free(struct mtd_info *mtd, int section, in oob_sm_ooblayout_free() 64 static int oob_sm_small_ooblayout_ecc(struct mtd_info *mtd, int section, in oob_sm_small_ooblayout_ecc() 76 static int oob_sm_small_ooblayout_free(struct mtd_info *mtd, int section, in oob_sm_small_ooblayout_free() 102 static int sm_block_markbad(struct mtd_info *mtd, loff_t ofs) in sm_block_markbad() 165 struct mtd_info *mtd = nand_to_mtd(chip); in sm_attach_chip() local 187 int sm_register_device(struct mtd_info *mtd, int smartmedia) in sm_register_device()
|
D | davinci_nand.c | 77 static inline struct davinci_nand_info *to_davinci_nand(struct mtd_info *mtd) in to_davinci_nand() 100 static void nand_davinci_hwcontrol(struct mtd_info *mtd, int cmd, in nand_davinci_hwcontrol() 121 static void nand_davinci_select_chip(struct mtd_info *mtd, int chip) in nand_davinci_select_chip() 141 static inline uint32_t nand_davinci_readecc_1bit(struct mtd_info *mtd) in nand_davinci_readecc_1bit() 149 static void nand_davinci_hwctl_1bit(struct mtd_info *mtd, int mode) in nand_davinci_hwctl_1bit() 173 static int nand_davinci_calculate_1bit(struct mtd_info *mtd, in nand_davinci_calculate_1bit() 188 static int nand_davinci_correct_1bit(struct mtd_info *mtd, u_char *dat, in nand_davinci_correct_1bit() 234 static void nand_davinci_hwctl_4bit(struct mtd_info *mtd, int mode) in nand_davinci_hwctl_4bit() 269 static int nand_davinci_calculate_4bit(struct mtd_info *mtd, in nand_davinci_calculate_4bit() 306 static int nand_davinci_correct_4bit(struct mtd_info *mtd, in nand_davinci_correct_4bit() [all …]
|
D | fsl_ifc_nand.c | 97 static int fsl_ifc_ooblayout_ecc(struct mtd_info *mtd, int section, in fsl_ifc_ooblayout_ecc() 111 static int fsl_ifc_ooblayout_free(struct mtd_info *mtd, int section, in fsl_ifc_ooblayout_free() 152 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() 176 static int check_read_ecc(struct mtd_info *mtd, struct fsl_ifc_ctrl *ctrl, in check_read_ecc() 185 static void fsl_ifc_run_command(struct mtd_info *mtd) in fsl_ifc_run_command() 265 struct mtd_info *mtd) in fsl_ifc_do_read() 304 static void fsl_ifc_cmdfunc(struct mtd_info *mtd, unsigned int command, in fsl_ifc_cmdfunc() 512 static void fsl_ifc_select_chip(struct mtd_info *mtd, int chip) in fsl_ifc_select_chip() 522 static void fsl_ifc_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in fsl_ifc_write_buf() 548 static uint8_t fsl_ifc_read_byte(struct mtd_info *mtd) in fsl_ifc_read_byte() [all …]
|
D | docg4.c | 79 struct mtd_info *mtd; member 225 static int docg4_ooblayout_ecc(struct mtd_info *mtd, int section, in docg4_ooblayout_ecc() 237 static int docg4_ooblayout_free(struct mtd_info *mtd, int section, in docg4_ooblayout_free() 264 static void docg4_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in docg4_read_buf() 275 static void docg4_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len) in docg4_write_buf16() 319 static int docg4_wait(struct mtd_info *mtd, struct nand_chip *nand) in docg4_wait() 337 static void docg4_select_chip(struct mtd_info *mtd, int chip) in docg4_select_chip() 358 static void reset(struct mtd_info *mtd) in reset() 393 static int correct_data(struct mtd_info *mtd, uint8_t *buf, int page) in correct_data() 487 static uint8_t docg4_read_byte(struct mtd_info *mtd) in docg4_read_byte() [all …]
|
D | s3c2410.c | 88 static int s3c2410_ooblayout_ecc(struct mtd_info *mtd, int section, in s3c2410_ooblayout_ecc() 100 static int s3c2410_ooblayout_free(struct mtd_info *mtd, int section, in s3c2410_ooblayout_free() 205 static struct s3c2410_nand_mtd *s3c2410_nand_mtd_toours(struct mtd_info *mtd) in s3c2410_nand_mtd_toours() 211 static struct s3c2410_nand_info *s3c2410_nand_mtd_toinfo(struct mtd_info *mtd) in s3c2410_nand_mtd_toinfo() 418 static void s3c2410_nand_select_chip(struct mtd_info *mtd, int chip) in s3c2410_nand_select_chip() 460 static void s3c2410_nand_hwcontrol(struct mtd_info *mtd, int cmd, in s3c2410_nand_hwcontrol() 476 static void s3c2440_nand_hwcontrol(struct mtd_info *mtd, int cmd, in s3c2440_nand_hwcontrol() 495 static int s3c2410_nand_devready(struct mtd_info *mtd) in s3c2410_nand_devready() 501 static int s3c2440_nand_devready(struct mtd_info *mtd) in s3c2440_nand_devready() 507 static int s3c2412_nand_devready(struct mtd_info *mtd) in s3c2412_nand_devready() [all …]
|
D | r852.c | 68 static inline struct r852_device *r852_get_dev(struct mtd_info *mtd) in r852_get_dev() 235 static void r852_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in r852_write_buf() 269 static void r852_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in r852_read_buf() 306 static uint8_t r852_read_byte(struct mtd_info *mtd) in r852_read_byte() 320 static void r852_cmdctl(struct mtd_info *mtd, int dat, unsigned int ctrl) in r852_cmdctl() 365 static int r852_wait(struct mtd_info *mtd, struct nand_chip *chip) in r852_wait() 393 static int r852_ready(struct mtd_info *mtd) in r852_ready() 404 static void r852_ecc_hwctl(struct mtd_info *mtd, int mode) in r852_ecc_hwctl() 436 static int r852_ecc_calculate(struct mtd_info *mtd, const uint8_t *dat, in r852_ecc_calculate() 468 static int r852_ecc_correct(struct mtd_info *mtd, uint8_t *dat, in r852_ecc_correct() [all …]
|
/kernel/linux/linux-4.19/drivers/mtd/nand/onenand/ |
D | onenand_base.c | 69 static int flexonenand_ooblayout_ecc(struct mtd_info *mtd, int section, in flexonenand_ooblayout_ecc() 81 static int flexonenand_ooblayout_free(struct mtd_info *mtd, int section, in flexonenand_ooblayout_free() 105 static int onenand_ooblayout_128_ecc(struct mtd_info *mtd, int section, in onenand_ooblayout_128_ecc() 117 static int onenand_ooblayout_128_free(struct mtd_info *mtd, int section, in onenand_ooblayout_128_free() 141 static int onenand_ooblayout_32_64_ecc(struct mtd_info *mtd, int section, in onenand_ooblayout_32_64_ecc() 153 static int onenand_ooblayout_32_64_free(struct mtd_info *mtd, int section, in onenand_ooblayout_32_64_free() 380 int flexonenand_region(struct mtd_info *mtd, loff_t addr) in flexonenand_region() 401 static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, size_t len) in onenand_command() 556 static int onenand_wait(struct mtd_info *mtd, int state) in onenand_wait() 654 static int onenand_interrupt_wait(struct mtd_info *mtd, int state) in onenand_interrupt_wait() [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/ |
D | onenand_base.c | 66 static int flexonenand_ooblayout_ecc(struct mtd_info *mtd, int section, in flexonenand_ooblayout_ecc() 78 static int flexonenand_ooblayout_free(struct mtd_info *mtd, int section, in flexonenand_ooblayout_free() 102 static int onenand_ooblayout_128_ecc(struct mtd_info *mtd, int section, in onenand_ooblayout_128_ecc() 114 static int onenand_ooblayout_128_free(struct mtd_info *mtd, int section, in onenand_ooblayout_128_free() 138 static int onenand_ooblayout_32_64_ecc(struct mtd_info *mtd, int section, in onenand_ooblayout_32_64_ecc() 150 static int onenand_ooblayout_32_64_free(struct mtd_info *mtd, int section, in onenand_ooblayout_32_64_free() 377 int flexonenand_region(struct mtd_info *mtd, loff_t addr) in flexonenand_region() 398 static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, size_t len) in onenand_command() 553 static int onenand_wait(struct mtd_info *mtd, int state) in onenand_wait() 651 static int onenand_interrupt_wait(struct mtd_info *mtd, int state) in onenand_interrupt_wait() [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | mpc5121_nfc.c | 122 static inline u16 nfc_read(struct mtd_info *mtd, uint reg) in nfc_read() 131 static inline void nfc_write(struct mtd_info *mtd, uint reg, u16 val) in nfc_write() 140 static inline void nfc_set(struct mtd_info *mtd, uint reg, u16 bits) in nfc_set() 146 static inline void nfc_clear(struct mtd_info *mtd, uint reg, u16 bits) in nfc_clear() 152 static inline void mpc5121_nfc_send_addr(struct mtd_info *mtd, u16 addr) in mpc5121_nfc_send_addr() 160 static inline void mpc5121_nfc_send_cmd(struct mtd_info *mtd, u16 cmd) in mpc5121_nfc_send_cmd() 168 static inline void mpc5121_nfc_send_prog_page(struct mtd_info *mtd) in mpc5121_nfc_send_prog_page() 176 static inline void mpc5121_nfc_send_read_page(struct mtd_info *mtd) in mpc5121_nfc_send_read_page() 184 static inline void mpc5121_nfc_send_read_id(struct mtd_info *mtd) in mpc5121_nfc_send_read_id() 192 static inline void mpc5121_nfc_send_read_status(struct mtd_info *mtd) in mpc5121_nfc_send_read_status() [all …]
|
D | sm_common.c | 12 static int oob_sm_ooblayout_ecc(struct mtd_info *mtd, int section, in oob_sm_ooblayout_ecc() 24 static int oob_sm_ooblayout_free(struct mtd_info *mtd, int section, in oob_sm_ooblayout_free() 61 static int oob_sm_small_ooblayout_ecc(struct mtd_info *mtd, int section, in oob_sm_small_ooblayout_ecc() 73 static int oob_sm_small_ooblayout_free(struct mtd_info *mtd, int section, in oob_sm_small_ooblayout_free() 101 struct mtd_info *mtd = nand_to_mtd(chip); in sm_block_markbad() local 163 struct mtd_info *mtd = nand_to_mtd(chip); in sm_attach_chip() local 185 int sm_register_device(struct mtd_info *mtd, int smartmedia) in sm_register_device()
|
/kernel/linux/linux-4.19/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 | 45 struct mtd_info *mtd; in map_rom_probe() local 72 static int maprom_point(struct mtd_info *mtd, loff_t from, size_t len, in maprom_point() 86 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in maprom_unpoint() 91 static int maprom_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in maprom_read() 100 static void maprom_nop(struct mtd_info *mtd) in maprom_nop() 105 static int maprom_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in maprom_write() 110 static int maprom_erase (struct mtd_info *mtd, struct erase_info *info) in maprom_erase()
|
D | map_ram.c | 36 struct mtd_info *mtd; in map_ram_probe() local 86 static int mapram_point(struct mtd_info *mtd, loff_t from, size_t len, in mapram_point() 100 static int mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in mapram_unpoint() 105 static int mapram_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in mapram_read() 114 static int mapram_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in mapram_write() 123 static int mapram_erase (struct mtd_info *mtd, struct erase_info *instr) in mapram_erase() 137 static void mapram_nop(struct mtd_info *mtd) in mapram_nop()
|
/kernel/linux/linux-5.10/drivers/mtd/chips/ |
D | map_absent.c | 47 struct mtd_info *mtd; in map_absent_probe() local 72 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() 77 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() 82 static int map_absent_erase(struct mtd_info *mtd, struct erase_info *instr) in map_absent_erase() 87 static void map_absent_sync(struct mtd_info *mtd) in map_absent_sync() 92 static void map_absent_destroy(struct mtd_info *mtd) in map_absent_destroy()
|
D | map_rom.c | 45 struct mtd_info *mtd; in map_rom_probe() local 72 static int maprom_point(struct mtd_info *mtd, loff_t from, size_t len, in maprom_point() 86 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in maprom_unpoint() 91 static int maprom_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in maprom_read() 100 static void maprom_nop(struct mtd_info *mtd) in maprom_nop() 105 static int maprom_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in maprom_write() 110 static int maprom_erase (struct mtd_info *mtd, struct erase_info *info) in maprom_erase()
|
D | map_ram.c | 36 struct mtd_info *mtd; in map_ram_probe() local 86 static int mapram_point(struct mtd_info *mtd, loff_t from, size_t len, in mapram_point() 100 static int mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in mapram_unpoint() 105 static int mapram_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in mapram_read() 114 static int mapram_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in mapram_write() 123 static int mapram_erase (struct mtd_info *mtd, struct erase_info *instr) in mapram_erase() 137 static void mapram_nop(struct mtd_info *mtd) in mapram_nop()
|