/linux/include/linux/mtd/ |
A D | nand.h | 15 struct nand_device; 258 int (*init_ctx)(struct nand_device *nand); 259 void (*cleanup_ctx)(struct nand_device *nand); 260 int (*prepare_io_req)(struct nand_device *nand, 262 int (*finish_io_req)(struct nand_device *nand, 275 int nand_ecc_init_ctx(struct nand_device *nand); 318 struct nand_device *nand; 328 struct nand_device *nand); 373 struct nand_device { struct 575 nanddev_get_memorg(struct nand_device *nand) in nanddev_get_memorg() [all …]
|
A D | nand-ecc-sw-bch.h | 37 int nand_ecc_sw_bch_calculate(struct nand_device *nand, 39 int nand_ecc_sw_bch_correct(struct nand_device *nand, unsigned char *buf, 41 int nand_ecc_sw_bch_init_ctx(struct nand_device *nand); 42 void nand_ecc_sw_bch_cleanup_ctx(struct nand_device *nand); 47 static inline int nand_ecc_sw_bch_calculate(struct nand_device *nand, in nand_ecc_sw_bch_calculate() 54 static inline int nand_ecc_sw_bch_correct(struct nand_device *nand, in nand_ecc_sw_bch_correct() 62 static inline int nand_ecc_sw_bch_init_ctx(struct nand_device *nand) in nand_ecc_sw_bch_init_ctx() 67 static inline void nand_ecc_sw_bch_cleanup_ctx(struct nand_device *nand) {} in nand_ecc_sw_bch_cleanup_ctx()
|
A D | nand-ecc-sw-hamming.h | 34 int nand_ecc_sw_hamming_init_ctx(struct nand_device *nand); 35 void nand_ecc_sw_hamming_cleanup_ctx(struct nand_device *nand); 38 int nand_ecc_sw_hamming_calculate(struct nand_device *nand, 44 int nand_ecc_sw_hamming_correct(struct nand_device *nand, unsigned char *buf, 50 static inline int nand_ecc_sw_hamming_init_ctx(struct nand_device *nand) in nand_ecc_sw_hamming_init_ctx() 55 static inline void nand_ecc_sw_hamming_cleanup_ctx(struct nand_device *nand) {} in nand_ecc_sw_hamming_cleanup_ctx() 64 static inline int nand_ecc_sw_hamming_calculate(struct nand_device *nand, in nand_ecc_sw_hamming_calculate() 79 static inline int nand_ecc_sw_hamming_correct(struct nand_device *nand, in nand_ecc_sw_hamming_correct()
|
A D | spinand.h | 421 struct nand_device base; 477 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) in nand_to_spinand() 488 static inline struct nand_device *
|
A D | rawnand.h | 1256 struct nand_device base;
|
/linux/drivers/mtd/nand/ |
A D | core.c | 22 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad() 61 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad() 126 int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos) in nanddev_erase() 155 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_erase() 191 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_max_bad_blocks() 214 static int nanddev_get_ecc_engine(struct nand_device *nand) in nanddev_get_ecc_engine() 251 static int nanddev_put_ecc_engine(struct nand_device *nand) in nanddev_put_ecc_engine() 271 static int nanddev_find_ecc_configuration(struct nand_device *nand) in nanddev_find_ecc_configuration() 293 int nanddev_ecc_engine_init(struct nand_device *nand) in nanddev_ecc_engine_init() 325 void nanddev_ecc_engine_cleanup(struct nand_device *nand) in nanddev_ecc_engine_cleanup() [all …]
|
A D | ecc.c | 106 int nand_ecc_init_ctx(struct nand_device *nand) in nand_ecc_init_ctx() 119 void nand_ecc_cleanup_ctx(struct nand_device *nand) in nand_ecc_cleanup_ctx() 131 int nand_ecc_prepare_io_req(struct nand_device *nand, in nand_ecc_prepare_io_req() 146 int nand_ecc_finish_io_req(struct nand_device *nand, in nand_ecc_finish_io_req() 160 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_sp() 220 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp() 235 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp() 265 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp_hamming() 292 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp_hamming() 485 struct nand_device *nand) in nand_ecc_init_req_tweaking() [all …]
|
A D | bbt.c | 23 int nanddev_bbt_init(struct nand_device *nand) in nanddev_bbt_init() 45 void nanddev_bbt_cleanup(struct nand_device *nand) in nanddev_bbt_cleanup() 60 int nanddev_bbt_update(struct nand_device *nand) in nanddev_bbt_update() 74 int nanddev_bbt_get_block_status(const struct nand_device *nand, in nanddev_bbt_get_block_status() 107 int nanddev_bbt_set_block_status(struct nand_device *nand, unsigned int entry, in nanddev_bbt_set_block_status()
|
A D | ecc-sw-bch.c | 23 int nand_ecc_sw_bch_calculate(struct nand_device *nand, in nand_ecc_sw_bch_calculate() 49 int nand_ecc_sw_bch_correct(struct nand_device *nand, unsigned char *buf, in nand_ecc_sw_bch_correct() 82 static void nand_ecc_sw_bch_cleanup(struct nand_device *nand) in nand_ecc_sw_bch_cleanup() 108 static int nand_ecc_sw_bch_init(struct nand_device *nand) in nand_ecc_sw_bch_init() 170 int nand_ecc_sw_bch_init_ctx(struct nand_device *nand) in nand_ecc_sw_bch_init_ctx() 277 void nand_ecc_sw_bch_cleanup_ctx(struct nand_device *nand) in nand_ecc_sw_bch_cleanup_ctx() 291 static int nand_ecc_sw_bch_prepare_io_req(struct nand_device *nand, in nand_ecc_sw_bch_prepare_io_req() 328 static int nand_ecc_sw_bch_finish_io_req(struct nand_device *nand, in nand_ecc_sw_bch_finish_io_req()
|
A D | ecc-sw-hamming.c | 362 int nand_ecc_sw_hamming_calculate(struct nand_device *nand, in nand_ecc_sw_hamming_calculate() 454 int nand_ecc_sw_hamming_correct(struct nand_device *nand, unsigned char *buf, in nand_ecc_sw_hamming_correct() 467 int nand_ecc_sw_hamming_init_ctx(struct nand_device *nand) in nand_ecc_sw_hamming_init_ctx() 532 void nand_ecc_sw_hamming_cleanup_ctx(struct nand_device *nand) in nand_ecc_sw_hamming_cleanup_ctx() 545 static int nand_ecc_sw_hamming_prepare_io_req(struct nand_device *nand, in nand_ecc_sw_hamming_prepare_io_req() 582 static int nand_ecc_sw_hamming_finish_io_req(struct nand_device *nand, in nand_ecc_sw_hamming_finish_io_req()
|
/linux/drivers/mtd/nand/spi/ |
A D | core.c | 53 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg() 65 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg() 119 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target() 143 struct nand_device *nand = spinand_to_nand(spinand); in spinand_read_cfg() 167 struct nand_device *nand = spinand_to_nand(spinand); in spinand_init_cfg_cache() 631 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_read() 677 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_write() 730 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isbad() 769 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_markbad() 827 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isreserved() [all …]
|
A D | winbond.c | 101 struct nand_device *nand = spinand_to_nand(spinand); in winbond_spinand_init()
|
A D | toshiba.c | 74 struct nand_device *nand = spinand_to_nand(spinand); in tx58cxgxsxraix_ecc_get_status()
|
A D | macronix.c | 70 struct nand_device *nand = spinand_to_nand(spinand); in mx35lf1ge4ab_ecc_get_status()
|
/linux/arch/arm/mach-omap1/ |
A D | board-perseus2.c | 166 static struct platform_device nand_device = { variable 219 &nand_device,
|
A D | board-fsample.c | 208 static struct platform_device nand_device = { variable 260 &nand_device,
|
A D | board-h3.c | 209 static struct platform_device nand_device = { variable 354 &nand_device,
|
/linux/drivers/mtd/nand/raw/ |
A D | nand_esmt.c | 13 struct nand_device *base = &chip->base; in esmt_nand_decode_id()
|
A D | nand_onfi.c | 37 struct nand_device *base = &chip->base; in nand_flash_detect_ext_param_page() 146 struct nand_device *base = &chip->base; in nand_onfi_detect()
|
A D | nand_samsung.c | 13 struct nand_device *base = &chip->base; in samsung_nand_decode_id()
|
A D | nand_jedec.c | 26 struct nand_device *base = &chip->base; in nand_jedec_detect()
|
A D | nand_base.c | 4824 struct nand_device *base = &chip->base; in find_full_id_nand() 5444 struct nand_device *base = &chip->base; in rawnand_sw_hamming_init() 5475 struct nand_device *base = &chip->base; in rawnand_sw_hamming_calculate() 5486 struct nand_device *base = &chip->base; in rawnand_sw_hamming_correct() 5494 struct nand_device *base = &chip->base; in rawnand_sw_hamming_cleanup() 5502 struct nand_device *base = &chip->base; in rawnand_sw_bch_init() 5529 struct nand_device *base = &chip->base; in rawnand_sw_bch_calculate() 5537 struct nand_device *base = &chip->base; in rawnand_sw_bch_correct() 5545 struct nand_device *base = &chip->base; in rawnand_sw_bch_cleanup() 5613 struct nand_device *nanddev = mtd_to_nanddev(mtd); in nand_set_ecc_soft_ops() [all …]
|
A D | nand_toshiba.c | 148 struct nand_device *base = &chip->base; in toshiba_nand_decode_id()
|
A D | nand_micron.c | 479 struct nand_device *base = &chip->base; in micron_nand_init()
|
A D | nand_hynix.c | 498 struct nand_device *base = &chip->base; in hynix_nand_extract_ecc_requirements()
|