Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/linux/drivers/mtd/
H A Dmtdcore.c45 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_cls_suspend() local
52 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_cls_resume() local
93 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_release() local
108 struct mtd_info *mtd = container_of(kref, struct mtd_info, refcnt); in mtd_device_release() local
138 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_type_show() local
177 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_flags_show() local
186 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
[all …]
H A Dmtdpstore.c16 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 …]
H A Dmtdconcat.c30 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 …]
H A Dmtdchar.c35 struct mtd_info *mtd; member
50 struct mtd_info *mtd; in mtdchar_open() local
94 struct mtd_info *mtd = mfi->mtd; in mtdchar_close() local
131 struct mtd_info *mtd = mfi->mtd; in mtdchar_read() local
221 struct mtd_info *mtd = mfi->mtd; in mtdchar_write() local
312 struct mtd_info *mtd = mfi->mtd; in otp_select_filemode() local
340 static int mtdchar_writeoob(struct file *file, struct mtd_info *mtd, in mtdchar_writeoob()
382 static int mtdchar_readoob(struct file *file, struct mtd_info *mtd, in mtdchar_readoob()
443 static int shrink_ecclayout(struct mtd_info *mtd, in shrink_ecclayout()
491 static int get_oobinfo(struct mtd_info *mtd, struct nand_oobinfo *to) in get_oobinfo()
[all …]
/openbmc/u-boot/drivers/mtd/
H A Dmtdcore.c183 struct mtd_info __maybe_unused *mtd = dev_get_drvdata(dev); in mtd_release() local
193 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_cls_suspend() local
200 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_cls_resume() local
210 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_type_show() local
249 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_flags_show() local
259 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_size_show() local
270 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_erasesize_show() local
280 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_writesize_show() local
290 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_subpagesize_show() local
301 struct mtd_info *mtd = dev_get_drvdata(dev); in mtd_oobsize_show() local
[all …]
H A Dmtdpart.c289 static int part_read(struct mtd_info *mtd, loff_t from, size_t len, in part_read()
308 static int part_point(struct mtd_info *mtd, loff_t from, size_t len, in part_point()
315 static int part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in part_unpoint()
321 static unsigned long part_get_unmapped_area(struct mtd_info *mtd, in part_get_unmapped_area()
330 static int part_read_oob(struct mtd_info *mtd, loff_t from, in part_read_oob()
367 static int part_read_user_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_user_prot_reg()
374 static int part_get_user_prot_info(struct mtd_info *mtd, size_t len, in part_get_user_prot_info()
381 static int part_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_fact_prot_reg()
388 static int part_get_fact_prot_info(struct mtd_info *mtd, size_t len, in part_get_fact_prot_info()
395 static int part_write(struct mtd_info *mtd, loff_t to, size_t len, in part_write()
[all …]
H A Dmtdconcat.c37 struct mtd_info mtd; member
61 concat_read(struct mtd_info *mtd, loff_t from, size_t len, in concat_read()
117 concat_write(struct mtd_info *mtd, loff_t to, size_t len, in concat_write()
160 concat_writev(struct mtd_info *mtd, const struct kvec *vecs, in concat_writev()
236 concat_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) in concat_read_oob()
293 concat_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) in concat_write_oob()
346 static int concat_dev_erase(struct mtd_info *mtd, struct erase_info *erase) in concat_dev_erase()
380 static int concat_erase(struct mtd_info *mtd, struct erase_info *instr) in concat_erase()
503 static int concat_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_lock()
537 static int concat_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_unlock()
[all …]
H A Dcfi_mtd.c23 static int cfi_mtd_erase(struct mtd_info *mtd, struct erase_info *instr) in cfi_mtd_erase()
67 static int cfi_mtd_read(struct mtd_info *mtd, loff_t from, size_t len, in cfi_mtd_read()
79 static int cfi_mtd_write(struct mtd_info *mtd, loff_t to, size_t len, in cfi_mtd_write()
98 static void cfi_mtd_sync(struct mtd_info *mtd) in cfi_mtd_sync()
107 static int cfi_mtd_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in cfi_mtd_lock()
119 static int cfi_mtd_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in cfi_mtd_unlock()
131 static int cfi_mtd_set_erasesize(struct mtd_info *mtd, flash_info_t *fi) in cfi_mtd_set_erasesize()
204 struct mtd_info *mtd; in cfi_mtd_init() local
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_base.c106 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()
147 uint8_t nand_read_byte(struct mtd_info *mtd) in nand_read_byte()
160 static uint8_t nand_read_byte16(struct mtd_info *mtd) in nand_read_byte16()
172 static u16 nand_read_word(struct mtd_info *mtd) in nand_read_word()
185 static void nand_select_chip(struct mtd_info *mtd, int chipnr) in nand_select_chip()
208 static void nand_write_byte(struct mtd_info *mtd, uint8_t byte) in nand_write_byte()
222 static void nand_write_byte16(struct mtd_info *mtd, uint8_t byte) in nand_write_byte16()
287 void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in nand_write_buf()
302 void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in nand_read_buf()
[all …]
H A Ddavinci_nand.c54 static void nand_davinci_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in nand_davinci_read_buf()
98 static void nand_davinci_write_buf(struct mtd_info *mtd, const uint8_t *buf, in nand_davinci_write_buf()
143 static void nand_davinci_hwcontrol(struct mtd_info *mtd, int cmd, in nand_davinci_hwcontrol()
165 static u_int32_t nand_davinci_readecc(struct mtd_info *mtd) in nand_davinci_readecc()
175 static void nand_davinci_enable_hwecc(struct mtd_info *mtd, int mode) in nand_davinci_enable_hwecc()
188 static int nand_davinci_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in nand_davinci_calculate_ecc()
222 static int nand_davinci_correct_data(struct mtd_info *mtd, u_char *dat, in nand_davinci_correct_data()
362 static int nand_davinci_write_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_davinci_write_page()
421 static int nand_davinci_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_davinci_read_page_hwecc()
473 static void nand_davinci_4bit_enable_hwecc(struct mtd_info *mtd, int mode) in nand_davinci_4bit_enable_hwecc()
[all …]
H A Dmxs_nand_spl.c11 static struct mtd_info *mtd; variable
14 static void mxs_nand_command(struct mtd_info *mtd, unsigned int command, in mxs_nand_command()
55 static int mxs_flash_full_ident(struct mtd_info *mtd) in mxs_flash_full_ident()
74 static int mxs_flash_onfi_ident(struct mtd_info *mtd) in mxs_flash_onfi_ident()
136 static int mxs_flash_ident(struct mtd_info *mtd) in mxs_flash_ident()
147 static int mxs_read_page_ecc(struct mtd_info *mtd, void *buf, unsigned int page) in mxs_read_page_ecc()
161 static int is_badblock(struct mtd_info *mtd, loff_t offs, int allowbbt) in is_badblock()
253 int nand_default_bbt(struct mtd_info *mtd) in nand_default_bbt()
H A Dnand_bbt.c169 static int read_bbt(struct mtd_info *mtd, uint8_t *buf, int page, int num, in read_bbt()
262 static int read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) in read_abs_bbt()
288 static int scan_read_data(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_data()
312 static int scan_read_oob(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_oob()
342 static int scan_read(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read()
352 static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len, in scan_write_bbt()
367 static u32 bbt_get_ver_offs(struct mtd_info *mtd, struct nand_bbt_descr *td) in bbt_get_ver_offs()
386 static void read_abs_bbts(struct mtd_info *mtd, uint8_t *buf, in read_abs_bbts()
411 static int scan_block_fast(struct mtd_info *mtd, struct nand_bbt_descr *bd, in scan_block_fast()
452 static int create_bbt(struct mtd_info *mtd, uint8_t *buf, in create_bbt()
[all …]
H A Dmxs_nand.c164 struct mtd_info *mtd, in mxs_nand_calc_ecc_layout_by_info()
198 struct mtd_info *mtd) in mxs_nand_calc_ecc_layout()
265 static void mxs_nand_cmd_ctrl(struct mtd_info *mtd, int data, unsigned int ctrl) in mxs_nand_cmd_ctrl()
344 static int mxs_nand_device_ready(struct mtd_info *mtd) in mxs_nand_device_ready()
359 static void mxs_nand_select_chip(struct mtd_info *mtd, int chip) in mxs_nand_select_chip()
406 static void mxs_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int length) in mxs_nand_read_buf()
489 static void mxs_nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, in mxs_nand_write_buf()
543 static uint8_t mxs_nand_read_byte(struct mtd_info *mtd) in mxs_nand_read_byte()
553 static int mxs_nand_ecc_read_page(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_read_page()
704 static int mxs_nand_ecc_write_page(struct mtd_info *mtd, in mxs_nand_ecc_write_page()
[all …]
H A Dvf610_nfc.c197 static inline u32 vf610_nfc_read(struct mtd_info *mtd, uint reg) in vf610_nfc_read()
204 static inline void vf610_nfc_write(struct mtd_info *mtd, uint reg, u32 val) in vf610_nfc_write()
211 static inline void vf610_nfc_set(struct mtd_info *mtd, uint reg, u32 bits) in vf610_nfc_set()
216 static inline void vf610_nfc_clear(struct mtd_info *mtd, uint reg, u32 bits) in vf610_nfc_clear()
221 static inline void vf610_nfc_set_field(struct mtd_info *mtd, u32 reg, in vf610_nfc_set_field()
251 static void vf610_nfc_done(struct mtd_info *mtd) in vf610_nfc_done()
276 static u8 vf610_nfc_get_id(struct mtd_info *mtd, int col) in vf610_nfc_get_id()
291 static u8 vf610_nfc_get_status(struct mtd_info *mtd) in vf610_nfc_get_status()
325 static void vf610_nfc_addr_cycle(struct mtd_info *mtd, int column, int page) in vf610_nfc_addr_cycle()
339 static inline void vf610_nfc_ecc_mode(struct mtd_info *mtd, int ecc_mode) in vf610_nfc_ecc_mode()
[all …]
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c66 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 …]
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_base.c293 int flexonenand_region(struct mtd_info *mtd, loff_t addr) in flexonenand_region()
325 static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, in onenand_command()
468 static int onenand_wait(struct mtd_info *mtd, int state) in onenand_wait()
515 static inline int onenand_bufferram_offset(struct mtd_info *mtd, int area) in onenand_bufferram_offset()
539 static int onenand_read_bufferram(struct mtd_info *mtd, loff_t addr, int area, in onenand_read_bufferram()
564 static int onenand_sync_read_bufferram(struct mtd_info *mtd, loff_t addr, int area, in onenand_sync_read_bufferram()
593 static int onenand_write_bufferram(struct mtd_info *mtd, loff_t addr, int area, in onenand_write_bufferram()
616 static int onenand_get_2x_blockpage(struct mtd_info *mtd, loff_t addr) in onenand_get_2x_blockpage()
640 static int onenand_check_bufferram(struct mtd_info *mtd, loff_t addr) in onenand_check_bufferram()
682 static int onenand_update_bufferram(struct mtd_info *mtd, loff_t addr, in onenand_update_bufferram()
[all …]
/openbmc/u-boot/cmd/
H A Dmtd.c22 struct mtd_info *mtd; in get_mtd_by_name() local
34 static uint mtd_len_to_pages(struct mtd_info *mtd, u64 len) in mtd_len_to_pages()
41 static bool mtd_is_aligned_with_min_io_size(struct mtd_info *mtd, u64 size) in mtd_is_aligned_with_min_io_size()
46 static bool mtd_is_aligned_with_block_size(struct mtd_info *mtd, u64 size) in mtd_is_aligned_with_block_size()
68 static void mtd_dump_device_buf(struct mtd_info *mtd, u64 start_off, in mtd_dump_device_buf()
101 static void mtd_show_parts(struct mtd_info *mtd, int level) in mtd_show_parts()
116 static void mtd_show_device(struct mtd_info *mtd) in mtd_show_device()
199 struct mtd_info *mtd; in do_mtd_list() local
221 static int mtd_special_write_oob(struct mtd_info *mtd, u64 off, in mtd_special_write_oob()
248 struct mtd_info *mtd; in do_mtd_io() local
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Dmpc5121_nfc.c122 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 …]
H A Dsm_common.c12 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()
/openbmc/linux/drivers/mtd/chips/
H A Dmap_absent.c47 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()
H A Dmap_rom.c46 struct mtd_info *mtd; in map_rom_probe() local
73 static int maprom_point(struct mtd_info *mtd, loff_t from, size_t len, in maprom_point()
87 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in maprom_unpoint()
92 static int maprom_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in maprom_read()
101 static void maprom_nop(struct mtd_info *mtd) in maprom_nop()
106 static int maprom_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in maprom_write()
111 static int maprom_erase (struct mtd_info *mtd, struct erase_info *info) in maprom_erase()
H A Dmap_ram.c37 struct mtd_info *mtd; in map_ram_probe() local
87 static int mapram_point(struct mtd_info *mtd, loff_t from, size_t len, in mapram_point()
101 static int mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in mapram_unpoint()
106 static int mapram_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in mapram_read()
115 static int mapram_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in mapram_write()
124 static int mapram_erase (struct mtd_info *mtd, struct erase_info *instr) in mapram_erase()
138 static void mapram_nop(struct mtd_info *mtd) in mapram_nop()
/openbmc/linux/include/linux/mtd/
H A Dmtd.h403 static inline struct mtd_info *mtd_get_master(struct mtd_info *mtd) in mtd_get_master()
411 static inline u64 mtd_get_master_ofs(struct mtd_info *mtd, u64 ofs) in mtd_get_master_ofs()
421 static inline bool mtd_is_partition(const struct mtd_info *mtd) in mtd_is_partition()
426 static inline bool mtd_has_partitions(const struct mtd_info *mtd) in mtd_has_partitions()
449 static inline void mtd_set_ooblayout(struct mtd_info *mtd, in mtd_set_ooblayout()
455 static inline void mtd_set_pairing_scheme(struct mtd_info *mtd, in mtd_set_pairing_scheme()
461 static inline void mtd_set_of_node(struct mtd_info *mtd, in mtd_set_of_node()
469 static inline struct device_node *mtd_get_of_node(struct mtd_info *mtd) in mtd_get_of_node()
474 static inline u32 mtd_oobavail(struct mtd_info *mtd, struct mtd_oob_ops *ops) in mtd_oobavail()
479 static inline int mtd_max_bad_blocks(struct mtd_info *mtd, in mtd_max_bad_blocks()
[all …]
/openbmc/linux/drivers/mtd/devices/
H A Dmtdram.c37 static int check_offs_len(struct mtd_info *mtd, loff_t ofs, uint64_t len) in check_offs_len()
56 static int ram_erase(struct mtd_info *mtd, struct erase_info *instr) in ram_erase()
65 static int ram_point(struct mtd_info *mtd, loff_t from, size_t len, in ram_point()
94 static int ram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in ram_unpoint()
99 static int ram_read(struct mtd_info *mtd, loff_t from, size_t len, in ram_read()
107 static int ram_write(struct mtd_info *mtd, loff_t to, size_t len, in ram_write()
124 int mtdram_init_device(struct mtd_info *mtd, void *mapped_address, in mtdram_init_device()
/openbmc/linux/drivers/mtd/tests/
H A Dmtd_test.c10 int mtdtest_erase_eraseblock(struct mtd_info *mtd, unsigned int ebnum) in mtdtest_erase_eraseblock()
30 static int is_block_bad(struct mtd_info *mtd, unsigned int ebnum) in is_block_bad()
42 int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt, in mtdtest_scan_for_bad_eraseblocks()
63 int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt, in mtdtest_erase_good_eraseblocks()
82 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()

12345678910>>...12