Home
last modified time | relevance | path

Searched defs:mtd (Results 1 – 25 of 209) sorted by relevance

123456789

/Linux-v4.19/drivers/mtd/
Dmtdcore.c56 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 …]
Dmtdpart.c49 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 …]
Dmtdconcat.c44 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()
336 static int concat_erase(struct mtd_info *mtd, struct erase_info *instr) in concat_erase()
454 static int concat_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_lock()
488 static int concat_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_unlock()
522 static void concat_sync(struct mtd_info *mtd) in concat_sync()
[all …]
/Linux-v4.19/drivers/mtd/nand/raw/
Dnand_base.c57 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 …]
Dmpc5121_nfc.c134 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 …]
Ddiskonchip.c293 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 …]
Dau1550nd.c36 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 …]
Dsm_common.c15 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()
Ddavinci_nand.c77 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 …]
Dfsl_ifc_nand.c96 static int fsl_ifc_ooblayout_ecc(struct mtd_info *mtd, int section, in fsl_ifc_ooblayout_ecc()
110 static int fsl_ifc_ooblayout_free(struct mtd_info *mtd, int section, in fsl_ifc_ooblayout_free()
151 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr()
175 static int check_read_ecc(struct mtd_info *mtd, struct fsl_ifc_ctrl *ctrl, in check_read_ecc()
184 static void fsl_ifc_run_command(struct mtd_info *mtd) in fsl_ifc_run_command()
264 struct mtd_info *mtd) in fsl_ifc_do_read()
303 static void fsl_ifc_cmdfunc(struct mtd_info *mtd, unsigned int command, in fsl_ifc_cmdfunc()
511 static void fsl_ifc_select_chip(struct mtd_info *mtd, int chip) in fsl_ifc_select_chip()
521 static void fsl_ifc_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in fsl_ifc_write_buf()
547 static uint8_t fsl_ifc_read_byte(struct mtd_info *mtd) in fsl_ifc_read_byte()
[all …]
Ddocg4.c79 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 …]
Dsocrates_nand.c41 static void socrates_nand_write_buf(struct mtd_info *mtd, in socrates_nand_write_buf()
61 static void socrates_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in socrates_nand_read_buf()
81 static uint8_t socrates_nand_read_byte(struct mtd_info *mtd) in socrates_nand_read_byte()
92 static uint16_t socrates_nand_read_word(struct mtd_info *mtd) in socrates_nand_read_word()
102 static void socrates_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in socrates_nand_cmd_ctrl()
128 static int socrates_nand_device_ready(struct mtd_info *mtd) in socrates_nand_device_ready()
144 struct mtd_info *mtd; in socrates_nand_probe() local
209 struct mtd_info *mtd = nand_to_mtd(&host->nand_chip); in socrates_nand_remove() local
Dfsl_elbc_nand.c82 static int fsl_elbc_ooblayout_ecc(struct mtd_info *mtd, int section, in fsl_elbc_ooblayout_ecc()
100 static int fsl_elbc_ooblayout_free(struct mtd_info *mtd, int section, in fsl_elbc_ooblayout_free()
165 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr()
216 static int fsl_elbc_run_command(struct mtd_info *mtd) in fsl_elbc_run_command()
320 static void fsl_elbc_cmdfunc(struct mtd_info *mtd, unsigned int command, in fsl_elbc_cmdfunc()
536 static void fsl_elbc_select_chip(struct mtd_info *mtd, int chip) in fsl_elbc_select_chip()
546 static void fsl_elbc_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in fsl_elbc_write_buf()
584 static u8 fsl_elbc_read_byte(struct mtd_info *mtd) in fsl_elbc_read_byte()
601 static void fsl_elbc_read_buf(struct mtd_info *mtd, u8 *buf, int len) in fsl_elbc_read_buf()
626 static int fsl_elbc_wait(struct mtd_info *mtd, struct nand_chip *chip) in fsl_elbc_wait()
[all …]
Ds3c2410.c88 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 …]
Dr852.c68 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 …]
Dndfc.c47 static void ndfc_select_chip(struct mtd_info *mtd, int chip) in ndfc_select_chip()
62 static void ndfc_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) in ndfc_hwcontrol()
76 static int ndfc_ready(struct mtd_info *mtd) in ndfc_ready()
84 static void ndfc_enable_hwecc(struct mtd_info *mtd, int mode) in ndfc_enable_hwecc()
96 static int ndfc_calculate_ecc(struct mtd_info *mtd, in ndfc_calculate_ecc()
121 static void ndfc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in ndfc_read_buf()
131 static void ndfc_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in ndfc_write_buf()
149 struct mtd_info *mtd = nand_to_mtd(chip); in ndfc_chip_init() local
259 struct mtd_info *mtd = nand_to_mtd(&ndfc->chip); in ndfc_remove() local
Dnand_bbt.c171 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 …]
Ddenali.c54 static inline struct denali_nand_info *mtd_to_denali(struct mtd_info *mtd) in mtd_to_denali()
225 static void denali_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in denali_read_buf()
235 static void denali_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in denali_write_buf()
245 static void denali_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len) in denali_read_buf16()
256 static void denali_write_buf16(struct mtd_info *mtd, const uint8_t *buf, in denali_write_buf16()
268 static uint8_t denali_read_byte(struct mtd_info *mtd) in denali_read_byte()
277 static void denali_write_byte(struct mtd_info *mtd, uint8_t byte) in denali_write_byte()
282 static uint16_t denali_read_word(struct mtd_info *mtd) in denali_read_word()
291 static void denali_cmd_ctrl(struct mtd_info *mtd, int dat, unsigned int ctrl) in denali_cmd_ctrl()
313 static int denali_dev_ready(struct mtd_info *mtd) in denali_dev_ready()
[all …]
Dsh_flctl.c45 static int flctl_4secc_ooblayout_sp_ecc(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_sp_ecc()
59 static int flctl_4secc_ooblayout_sp_free(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_sp_free()
76 static int flctl_4secc_ooblayout_lp_ecc(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_lp_ecc()
90 static int flctl_4secc_ooblayout_lp_free(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_lp_free()
238 static void set_addr(struct mtd_info *mtd, int column, int page_addr) in set_addr()
552 static void set_cmd_regs(struct mtd_info *mtd, uint32_t cmd, uint32_t flcmcdr_val) in set_cmd_regs()
614 static int flctl_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in flctl_read_page_hwecc()
623 static int flctl_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in flctl_write_page_hwecc()
632 static void execmd_read_page_sector(struct mtd_info *mtd, int page_addr) in execmd_read_page_sector()
681 static void execmd_read_oob(struct mtd_info *mtd, int page_addr) in execmd_read_oob()
[all …]
Dams-delta.c66 static void ams_delta_write_byte(struct mtd_info *mtd, u_char byte) in ams_delta_write_byte()
78 static u_char ams_delta_read_byte(struct mtd_info *mtd) in ams_delta_read_byte()
93 static void ams_delta_write_buf(struct mtd_info *mtd, const u_char *buf, in ams_delta_write_buf()
102 static void ams_delta_read_buf(struct mtd_info *mtd, u_char *buf, int len) in ams_delta_read_buf()
118 static void ams_delta_hwcontrol(struct mtd_info *mtd, int cmd, in ams_delta_hwcontrol()
135 static int ams_delta_nand_ready(struct mtd_info *mtd) in ams_delta_nand_ready()
/Linux-v4.19/drivers/mtd/nand/onenand/
Donenand_base.c69 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 …]
/Linux-v4.19/drivers/mtd/chips/
Dmap_absent.c46 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()
Dmap_rom.c45 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()
Dmap_ram.c36 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()
/Linux-v4.19/drivers/mtd/devices/
Dmtdram.c39 static int check_offs_len(struct mtd_info *mtd, loff_t ofs, uint64_t len) in check_offs_len()
58 static int ram_erase(struct mtd_info *mtd, struct erase_info *instr) in ram_erase()
67 static int ram_point(struct mtd_info *mtd, loff_t from, size_t len, in ram_point()
96 static int ram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in ram_unpoint()
101 static int ram_read(struct mtd_info *mtd, loff_t from, size_t len, in ram_read()
109 static int ram_write(struct mtd_info *mtd, loff_t to, size_t len, in ram_write()
126 int mtdram_init_device(struct mtd_info *mtd, void *mapped_address, in mtdram_init_device()

123456789