Home
last modified time | relevance | path

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

1234567

/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.c42 struct mtd_info mtd; member
52 static inline struct mtd_part *mtd_to_part(const struct mtd_info *mtd) in mtd_to_part()
63 static int part_read(struct mtd_info *mtd, loff_t from, size_t len, in part_read()
82 static int part_point(struct mtd_info *mtd, loff_t from, size_t len, in part_point()
91 static int part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in part_unpoint()
98 static unsigned long part_get_unmapped_area(struct mtd_info *mtd, in part_get_unmapped_area()
110 static int part_read_oob(struct mtd_info *mtd, loff_t from, in part_read_oob()
145 static int part_read_user_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_user_prot_reg()
153 static int part_get_user_prot_info(struct mtd_info *mtd, size_t len, in part_get_user_prot_info()
161 static int part_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_fact_prot_reg()
[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()
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 …]
/drivers/mtd/nand/
Dnand_base.c56 static int nand_ooblayout_ecc_sp(struct mtd_info *mtd, int section, in nand_ooblayout_ecc_sp()
82 static int nand_ooblayout_free_sp(struct mtd_info *mtd, int section, in nand_ooblayout_free_sp()
111 static int nand_ooblayout_ecc_lp(struct mtd_info *mtd, int section, in nand_ooblayout_ecc_lp()
126 static int nand_ooblayout_free_lp(struct mtd_info *mtd, int section, in nand_ooblayout_free_lp()
151 static int nand_ooblayout_ecc_lp_hamming(struct mtd_info *mtd, int section, in nand_ooblayout_ecc_lp_hamming()
178 static int nand_ooblayout_free_lp_hamming(struct mtd_info *mtd, int section, in nand_ooblayout_free_lp_hamming()
215 static int check_offs_len(struct mtd_info *mtd, in check_offs_len()
242 static void nand_release_device(struct mtd_info *mtd) in nand_release_device()
260 static uint8_t nand_read_byte(struct mtd_info *mtd) in nand_read_byte()
273 static uint8_t nand_read_byte16(struct mtd_info *mtd) in nand_read_byte16()
[all …]
Dmpc5121_nfc.c135 static inline u16 nfc_read(struct mtd_info *mtd, uint reg) in nfc_read()
144 static inline void nfc_write(struct mtd_info *mtd, uint reg, u16 val) in nfc_write()
153 static inline void nfc_set(struct mtd_info *mtd, uint reg, u16 bits) in nfc_set()
159 static inline void nfc_clear(struct mtd_info *mtd, uint reg, u16 bits) in nfc_clear()
165 static inline void mpc5121_nfc_send_addr(struct mtd_info *mtd, u16 addr) in mpc5121_nfc_send_addr()
173 static inline void mpc5121_nfc_send_cmd(struct mtd_info *mtd, u16 cmd) in mpc5121_nfc_send_cmd()
181 static inline void mpc5121_nfc_send_prog_page(struct mtd_info *mtd) in mpc5121_nfc_send_prog_page()
189 static inline void mpc5121_nfc_send_read_page(struct mtd_info *mtd) in mpc5121_nfc_send_read_page()
197 static inline void mpc5121_nfc_send_read_id(struct mtd_info *mtd) in mpc5121_nfc_send_read_id()
205 static inline void mpc5121_nfc_send_read_status(struct mtd_info *mtd) in mpc5121_nfc_send_read_status()
[all …]
Dbf5xx_nand.c112 static int bootrom_ooblayout_ecc(struct mtd_info *mtd, int section, in bootrom_ooblayout_ecc()
124 static int bootrom_ooblayout_free(struct mtd_info *mtd, int section, in bootrom_ooblayout_free()
165 static struct bf5xx_nand_info *mtd_to_nand_info(struct mtd_info *mtd) in mtd_to_nand_info()
190 static void bf5xx_nand_hwcontrol(struct mtd_info *mtd, int cmd, in bf5xx_nand_hwcontrol()
211 static int bf5xx_nand_devready(struct mtd_info *mtd) in bf5xx_nand_devready()
230 static int bf5xx_nand_correct_data_256(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data_256()
309 static int bf5xx_nand_correct_data(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data()
336 static void bf5xx_nand_enable_hwecc(struct mtd_info *mtd, int mode) in bf5xx_nand_enable_hwecc()
341 static int bf5xx_nand_calculate_ecc(struct mtd_info *mtd, in bf5xx_nand_calculate_ecc()
381 static void bf5xx_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in bf5xx_nand_read_buf()
[all …]
Ddiskonchip.c296 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) in doc2000_write_byte()
308 static u_char doc2000_read_byte(struct mtd_info *mtd) in doc2000_read_byte()
323 static void doc2000_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_writebuf()
340 static void doc2000_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf()
355 static void doc2000_readbuf_dword(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf_dword()
376 static uint16_t __init doc200x_ident_chip(struct mtd_info *mtd, int nr) in doc200x_ident_chip()
422 static void __init doc2000_count_chips(struct mtd_info *mtd) in doc2000_count_chips()
444 static int doc200x_wait(struct mtd_info *mtd, struct nand_chip *this) in doc200x_wait()
458 static void doc2001_write_byte(struct mtd_info *mtd, u_char datum) in doc2001_write_byte()
469 static u_char doc2001_read_byte(struct mtd_info *mtd) in doc2001_read_byte()
[all …]
Dau1550nd.c39 static u_char au_read_byte(struct mtd_info *mtd) in au_read_byte()
54 static void au_write_byte(struct mtd_info *mtd, u_char byte) in au_write_byte()
67 static u_char au_read_byte16(struct mtd_info *mtd) in au_read_byte16()
82 static void au_write_byte16(struct mtd_info *mtd, u_char byte) in au_write_byte16()
95 static u16 au_read_word(struct mtd_info *mtd) in au_read_word()
111 static void au_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in au_write_buf()
130 static void au_read_buf(struct mtd_info *mtd, u_char *buf, int len) in au_read_buf()
149 static void au_write_buf16(struct mtd_info *mtd, const u_char *buf, int len) in au_write_buf16()
171 static void au_read_buf16(struct mtd_info *mtd, u_char *buf, int len) in au_read_buf16()
197 static void au1550_hwcontrol(struct mtd_info *mtd, int cmd) in au1550_hwcontrol()
[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()
174 static int is_blank(struct mtd_info *mtd, unsigned int bufnum) in is_blank()
203 static int check_read_ecc(struct mtd_info *mtd, struct fsl_ifc_ctrl *ctrl, in check_read_ecc()
212 static void fsl_ifc_run_command(struct mtd_info *mtd) in fsl_ifc_run_command()
294 struct mtd_info *mtd) in fsl_ifc_do_read()
333 static void fsl_ifc_cmdfunc(struct mtd_info *mtd, unsigned int command, in fsl_ifc_cmdfunc()
538 static void fsl_ifc_select_chip(struct mtd_info *mtd, int chip) in fsl_ifc_select_chip()
548 static void fsl_ifc_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in fsl_ifc_write_buf()
[all …]
Ddavinci_nand.c80 static inline struct davinci_nand_info *to_davinci_nand(struct mtd_info *mtd) in to_davinci_nand()
103 static void nand_davinci_hwcontrol(struct mtd_info *mtd, int cmd, in nand_davinci_hwcontrol()
124 static void nand_davinci_select_chip(struct mtd_info *mtd, int chip) in nand_davinci_select_chip()
144 static inline uint32_t nand_davinci_readecc_1bit(struct mtd_info *mtd) in nand_davinci_readecc_1bit()
152 static void nand_davinci_hwctl_1bit(struct mtd_info *mtd, int mode) in nand_davinci_hwctl_1bit()
176 static int nand_davinci_calculate_1bit(struct mtd_info *mtd, in nand_davinci_calculate_1bit()
191 static int nand_davinci_correct_1bit(struct mtd_info *mtd, u_char *dat, in nand_davinci_correct_1bit()
237 static void nand_davinci_hwctl_4bit(struct mtd_info *mtd, int mode) in nand_davinci_hwctl_4bit()
272 static int nand_davinci_calculate_4bit(struct mtd_info *mtd, in nand_davinci_calculate_4bit()
309 static int nand_davinci_correct_4bit(struct mtd_info *mtd, in nand_davinci_correct_4bit()
[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 …]
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 …]
Dr852.c65 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 …]
Dsocrates_nand.c43 static void socrates_nand_write_buf(struct mtd_info *mtd, in socrates_nand_write_buf()
63 static void socrates_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in socrates_nand_read_buf()
83 static uint8_t socrates_nand_read_byte(struct mtd_info *mtd) in socrates_nand_read_byte()
94 static uint16_t socrates_nand_read_word(struct mtd_info *mtd) in socrates_nand_read_word()
104 static void socrates_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, in socrates_nand_cmd_ctrl()
130 static int socrates_nand_device_ready(struct mtd_info *mtd) in socrates_nand_device_ready()
146 struct mtd_info *mtd; in socrates_nand_probe() local
219 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 …]
Dcafe_nand.c102 static int cafe_device_ready(struct mtd_info *mtd) in cafe_device_ready()
119 static void cafe_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in cafe_write_buf()
135 static void cafe_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in cafe_read_buf()
150 static uint8_t cafe_read_byte(struct mtd_info *mtd) in cafe_read_byte()
162 static void cafe_nand_cmdfunc(struct mtd_info *mtd, unsigned command, in cafe_nand_cmdfunc()
319 static void cafe_select_chip(struct mtd_info *mtd, int chipnr) in cafe_select_chip()
336 struct mtd_info *mtd = id; in cafe_nand_interrupt() local
348 static void cafe_nand_bug(struct mtd_info *mtd) in cafe_nand_bug()
353 static int cafe_nand_write_oob(struct mtd_info *mtd, in cafe_nand_write_oob()
367 static int cafe_nand_read_oob(struct mtd_info *mtd, struct nand_chip *chip, in cafe_nand_read_oob()
[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 …]
Ds3c2410.c87 static int s3c2410_ooblayout_ecc(struct mtd_info *mtd, int section, in s3c2410_ooblayout_ecc()
99 static int s3c2410_ooblayout_free(struct mtd_info *mtd, int section, in s3c2410_ooblayout_free()
190 static struct s3c2410_nand_mtd *s3c2410_nand_mtd_toours(struct mtd_info *mtd) in s3c2410_nand_mtd_toours()
196 static struct s3c2410_nand_info *s3c2410_nand_mtd_toinfo(struct mtd_info *mtd) in s3c2410_nand_mtd_toinfo()
403 static void s3c2410_nand_select_chip(struct mtd_info *mtd, int chip) in s3c2410_nand_select_chip()
445 static void s3c2410_nand_hwcontrol(struct mtd_info *mtd, int cmd, in s3c2410_nand_hwcontrol()
461 static void s3c2440_nand_hwcontrol(struct mtd_info *mtd, int cmd, in s3c2440_nand_hwcontrol()
480 static int s3c2410_nand_devready(struct mtd_info *mtd) in s3c2410_nand_devready()
486 static int s3c2440_nand_devready(struct mtd_info *mtd) in s3c2440_nand_devready()
492 static int s3c2412_nand_devready(struct mtd_info *mtd) in s3c2412_nand_devready()
[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()
164 int sm_register_device(struct mtd_info *mtd, int smartmedia) in sm_register_device()
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
/drivers/mtd/onenand/
Donenand_base.c71 static int flexonenand_ooblayout_ecc(struct mtd_info *mtd, int section, in flexonenand_ooblayout_ecc()
83 static int flexonenand_ooblayout_free(struct mtd_info *mtd, int section, in flexonenand_ooblayout_free()
107 static int onenand_ooblayout_128_ecc(struct mtd_info *mtd, int section, in onenand_ooblayout_128_ecc()
119 static int onenand_ooblayout_128_free(struct mtd_info *mtd, int section, in onenand_ooblayout_128_free()
143 static int onenand_ooblayout_32_64_ecc(struct mtd_info *mtd, int section, in onenand_ooblayout_32_64_ecc()
155 static int onenand_ooblayout_32_64_free(struct mtd_info *mtd, int section, in onenand_ooblayout_32_64_free()
382 int flexonenand_region(struct mtd_info *mtd, loff_t addr) in flexonenand_region()
403 static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, size_t len) in onenand_command()
558 static int onenand_wait(struct mtd_info *mtd, int state) in onenand_wait()
656 static int onenand_interrupt_wait(struct mtd_info *mtd, int state) in onenand_interrupt_wait()
[all …]
/drivers/mtd/devices/
Dmtdram.c38 static int check_offs_len(struct mtd_info *mtd, loff_t ofs, uint64_t len) in check_offs_len()
57 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()
75 static int ram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in ram_unpoint()
85 static unsigned long ram_get_unmapped_area(struct mtd_info *mtd, in ram_get_unmapped_area()
93 static int ram_read(struct mtd_info *mtd, loff_t from, size_t len, in ram_read()
101 static int ram_write(struct mtd_info *mtd, loff_t to, size_t len, in ram_write()
118 int mtdram_init_device(struct mtd_info *mtd, void *mapped_address, in mtdram_init_device()
/drivers/staging/goldfish/
Dgoldfish_nand.c40 struct mtd_info mtd[0]; member
43 static u32 goldfish_nand_cmd_with_params(struct mtd_info *mtd, in goldfish_nand_cmd_with_params()
78 static u32 goldfish_nand_cmd(struct mtd_info *mtd, enum nand_cmd cmd, in goldfish_nand_cmd()
99 static int goldfish_nand_erase(struct mtd_info *mtd, struct erase_info *instr) in goldfish_nand_erase()
133 static int goldfish_nand_read_oob(struct mtd_info *mtd, loff_t ofs, in goldfish_nand_read_oob()
165 static int goldfish_nand_write_oob(struct mtd_info *mtd, loff_t ofs, in goldfish_nand_write_oob()
197 static int goldfish_nand_read(struct mtd_info *mtd, loff_t from, size_t len, in goldfish_nand_read()
219 static int goldfish_nand_write(struct mtd_info *mtd, loff_t to, size_t len, in goldfish_nand_write()
241 static int goldfish_nand_block_isbad(struct mtd_info *mtd, loff_t ofs) in goldfish_nand_block_isbad()
262 static int goldfish_nand_block_markbad(struct mtd_info *mtd, loff_t ofs) in goldfish_nand_block_markbad()
[all …]
/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()
Dcfi_cmdset_0002.c156 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 …]

1234567