Home
last modified time | relevance | path

Searched defs:nand (Results 1 – 25 of 69) sorted by relevance

123

/linux/drivers/mtd/nand/
A Dcore.c22 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() local
191 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_max_bad_blocks() local
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 Decc.c106 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() local
220 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp() local
235 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp() local
265 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp_hamming() local
292 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp_hamming() local
485 struct nand_device *nand) in nand_ecc_init_req_tweaking()
[all …]
A Decc-sw-bch.c23 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 Dbbt.c23 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 Decc-sw-hamming.c362 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/include/linux/mtd/
A Dnand.h318 struct nand_device *nand; member
451 nanddev_per_page_oobsize(const struct nand_device *nand) in nanddev_per_page_oobsize()
463 nanddev_pages_per_eraseblock(const struct nand_device *nand) in nanddev_pages_per_eraseblock()
475 nanddev_pages_per_target(const struct nand_device *nand) in nanddev_pages_per_target()
500 nanddev_eraseblocks_per_lun(const struct nand_device *nand) in nanddev_eraseblocks_per_lun()
575 nanddev_get_memorg(struct nand_device *nand) in nanddev_get_memorg()
585 nanddev_get_ecc_conf(struct nand_device *nand) in nanddev_get_ecc_conf()
595 nanddev_get_ecc_nsteps(struct nand_device *nand) in nanddev_get_ecc_nsteps()
605 nanddev_get_ecc_bytes_per_step(struct nand_device *nand) in nanddev_get_ecc_bytes_per_step()
616 nanddev_get_ecc_requirements(struct nand_device *nand) in nanddev_get_ecc_requirements()
[all …]
A Dnand-ecc-sw-bch.h47 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 Dnand-ecc-sw-hamming.h50 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()
/linux/drivers/mtd/nand/spi/
A Dcore.c53 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg() local
65 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg() local
119 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target() local
143 struct nand_device *nand = spinand_to_nand(spinand); in spinand_read_cfg() local
167 struct nand_device *nand = spinand_to_nand(spinand); in spinand_init_cfg_cache() local
631 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_read() local
677 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_write() local
730 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isbad() local
769 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_markbad() local
827 struct nand_device *nand = mtd_to_nanddev(mtd); in spinand_mtd_block_isreserved() local
[all …]
A Dtoshiba.c74 struct nand_device *nand = spinand_to_nand(spinand); in tx58cxgxsxraix_ecc_get_status() local
/linux/drivers/mtd/nand/raw/
A Dmeson_nand.c109 struct nand_chip nand; member
331 static u8 *meson_nfc_oob_ptr(struct nand_chip *nand, int i) in meson_nfc_oob_ptr()
352 static void meson_nfc_get_data_oob(struct nand_chip *nand, in meson_nfc_get_data_oob()
371 static void meson_nfc_set_data_oob(struct nand_chip *nand, in meson_nfc_set_data_oob()
696 struct nand_chip *nand, int raw) in meson_nfc_check_ecc_pages_valid()
892 static int meson_nfc_exec_op(struct nand_chip *nand, in meson_nfc_exec_op()
958 struct nand_chip *nand = mtd_to_nand(mtd); in meson_ooblayout_ecc() local
972 struct nand_chip *nand = mtd_to_nand(mtd); in meson_ooblayout_free() local
1070 static void meson_nfc_free_buffer(struct nand_chip *nand) in meson_nfc_free_buffer()
1145 static int meson_nand_bch_mode(struct nand_chip *nand) in meson_nand_bch_mode()
[all …]
A Dsunxi_nand.c195 struct nand_chip nand; member
688 static void sunxi_nfc_hw_ecc_enable(struct nand_chip *nand) in sunxi_nfc_hw_ecc_enable()
706 static void sunxi_nfc_hw_ecc_disable(struct nand_chip *nand) in sunxi_nfc_hw_ecc_disable()
807 static int sunxi_nfc_hw_ecc_read_chunk(struct nand_chip *nand, in sunxi_nfc_hw_ecc_read_chunk()
1574 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nand_ooblayout_ecc() local
1589 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nand_ooblayout_free() local
1757 static int sunxi_nand_attach_chip(struct nand_chip *nand) in sunxi_nand_attach_chip()
1797 static int sunxi_nfc_exec_subop(struct nand_chip *nand, in sunxi_nfc_exec_subop()
1893 static int sunxi_nfc_soft_waitrdy(struct nand_chip *nand, in sunxi_nfc_soft_waitrdy()
1930 static int sunxi_nfc_exec_op(struct nand_chip *nand, in sunxi_nfc_exec_op()
[all …]
A Dmtk_nand.c127 struct nand_chip nand; member
179 static inline struct mtk_nfc_nand_chip *to_mtk_nand(struct nand_chip *nand) in to_mtk_nand()
500 static void mtk_nfc_select_target(struct nand_chip *nand, unsigned int cs) in mtk_nfc_select_target()
662 struct mtk_nfc_nand_chip *nand = to_mtk_nand(chip); in mtk_nfc_bad_mark_swap() local
1191 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_fdm() local
1210 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_bad_mark_ctl() local
1223 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_spare_per_sector() local
1255 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_ecc_init() local
1370 struct nand_chip *nand; in mtk_nfc_nand_chip_init() local
1641 struct nand_chip *nand; in mtk_nfc_resume() local
A Dfsmc_nand.c146 struct nand_chip nand; member
347 static int fsmc_setup_interface(struct nand_chip *nand, int csline, in fsmc_setup_interface()
866 struct nand_chip *nand) in fsmc_nand_probe_config_dt()
909 static int fsmc_nand_attach_chip(struct nand_chip *nand) in fsmc_nand_attach_chip()
1025 struct nand_chip *nand; in fsmc_nand_probe() local
A Dmpc5121_nfc.c254 static void mpc5121_nfc_select_chip(struct nand_chip *nand, int chip) in mpc5121_nfc_select_chip()
292 static void ads5121_select_chip(struct nand_chip *nand, int chip) in ads5121_select_chip()
311 static int mpc5121_nfc_dev_ready(struct nand_chip *nand) in mpc5121_nfc_dev_ready()
397 struct nand_chip *nand = mtd_to_nand(mtd); in mpc5121_nfc_copy_spare() local
/linux/drivers/mtd/nand/raw/atmel/
A Dnand-controller.c634 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_hsmc_exec_cmd_addr() local
663 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_hsmc_exec_rw() local
681 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_hsmc_exec_waitrdy() local
1556 struct atmel_nand *nand) in atmel_nand_init()
1580 struct atmel_nand *nand) in atmel_smc_nand_init()
1625 struct atmel_nand *nand; in atmel_nand_create() local
1726 struct atmel_nand *nand) in atmel_nand_controller_add_nand()
1761 struct atmel_nand *nand, *tmp; in atmel_nand_controller_remove_nands() local
1778 struct atmel_nand *nand; in atmel_nand_controller_legacy_add_nands() local
1879 struct atmel_nand *nand; in atmel_nand_controller_add_nands() local
[all …]
/linux/drivers/mtd/nand/raw/ingenic/
A Dingenic_nand_drv.c143 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_hwctl() local
151 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_calculate() local
172 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_correct() local
258 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_exec_instr() local
312 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_exec_op() local
347 struct ingenic_nand *nand; in ingenic_nand_init_chip() local
/linux/arch/arm/boot/dts/
A Dat91-linea.dtsi61 nand: nand@3 { label
A Dat91-wb50n.dtsi121 nand: nand@3 { label
A Darmada-385-linksys.dtsi147 nand: nand@0 { label
A Daks-cdu.dts66 nand: nand@3 { label
A Dethernut5.dts77 nand: nand@3 { label
A Dat91-som60.dtsi171 nand: nand@3 { label
/linux/drivers/watchdog/
A Drc32434_wdt.c68 #define SET_BITS(addr, or, nand) \ argument
89 u32 or, nand; in rc32434_wdt_start() local
/linux/arch/arm64/boot/dts/freescale/
A Dfsl-ls1088a-ten64.dts338 nand: flash@1 { label

Completed in 55 milliseconds

123