/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | spinand.h | 483 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) in nand_to_spinand() argument
|
H A D | nand.h | 362 struct nand_device *nand; global() member 461 nanddev_to_mtd(struct nand_device *nand) nanddev_to_mtd() argument 472 nanddev_bits_per_cell(const struct nand_device *nand) nanddev_bits_per_cell() argument 483 nanddev_page_size(const struct nand_device *nand) nanddev_page_size() argument 495 nanddev_per_page_oobsize(const struct nand_device *nand) nanddev_per_page_oobsize() argument 507 nanddev_pages_per_eraseblock(const struct nand_device *nand) nanddev_pages_per_eraseblock() argument 519 nanddev_pages_per_target(const struct nand_device *nand) nanddev_pages_per_target() argument 532 nanddev_eraseblock_size(const struct nand_device *nand) nanddev_eraseblock_size() argument 544 nanddev_eraseblocks_per_lun(const struct nand_device *nand) nanddev_eraseblocks_per_lun() argument 556 nanddev_eraseblocks_per_target(const struct nand_device *nand) nanddev_eraseblocks_per_target() argument 567 nanddev_target_size(const struct nand_device *nand) nanddev_target_size() argument 581 nanddev_ntargets(const struct nand_device *nand) nanddev_ntargets() argument 592 nanddev_neraseblocks(const struct nand_device *nand) nanddev_neraseblocks() argument 604 nanddev_size(const struct nand_device *nand) nanddev_size() argument 619 nanddev_get_memorg(struct nand_device *nand) nanddev_get_memorg() argument 629 nanddev_get_ecc_conf(struct nand_device *nand) nanddev_get_ecc_conf() argument 639 nanddev_get_ecc_nsteps(struct nand_device *nand) nanddev_get_ecc_nsteps() argument 649 nanddev_get_ecc_bytes_per_step(struct nand_device *nand) nanddev_get_ecc_bytes_per_step() argument 660 nanddev_get_ecc_requirements(struct nand_device *nand) nanddev_get_ecc_requirements() argument 672 nanddev_set_ecc_requirements(struct nand_device *nand, const struct nand_ecc_props *reqs) nanddev_set_ecc_requirements() argument 692 nanddev_register(struct nand_device *nand) nanddev_register() argument 707 nanddev_unregister(struct nand_device *nand) nanddev_unregister() argument 719 nanddev_set_of_node(struct nand_device *nand, struct device_node *np) nanddev_set_of_node() argument 731 nanddev_get_of_node(struct nand_device *nand) nanddev_get_of_node() argument 746 nanddev_offs_to_pos(struct nand_device *nand, loff_t offs, struct nand_pos *pos) nanddev_offs_to_pos() argument 801 nanddev_pos_to_offs(struct nand_device *nand, const struct nand_pos *pos) nanddev_pos_to_offs() argument 826 nanddev_pos_to_row(struct nand_device *nand, const struct nand_pos *pos) nanddev_pos_to_row() argument 842 nanddev_pos_next_target(struct nand_device *nand, struct nand_pos *pos) nanddev_pos_next_target() argument 860 nanddev_pos_next_lun(struct nand_device *nand, struct nand_pos *pos) nanddev_pos_next_lun() argument 880 nanddev_pos_next_eraseblock(struct nand_device *nand, struct nand_pos *pos) nanddev_pos_next_eraseblock() argument 899 nanddev_pos_next_page(struct nand_device *nand, struct nand_pos *pos) nanddev_pos_next_page() argument 918 nanddev_io_iter_init(struct nand_device *nand, enum nand_page_io_req_type reqtype, loff_t offs, struct mtd_oob_ops *req, struct nand_io_iter *iter) nanddev_io_iter_init() argument 949 nanddev_io_iter_next_page(struct nand_device *nand, struct nand_io_iter *iter) nanddev_io_iter_next_page() argument 976 nanddev_io_iter_end(struct nand_device *nand, const struct nand_io_iter *iter) nanddev_io_iter_end() argument 1008 nand_to_ecc_ctx(struct nand_device *nand) nand_to_ecc_ctx() argument 1042 nanddev_bbt_pos_to_entry(struct nand_device *nand, const struct nand_pos *pos) nanddev_bbt_pos_to_entry() argument 1056 nanddev_bbt_is_initialized(struct nand_device *nand) nanddev_bbt_is_initialized() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | fsl_lbc.h | 281 void *nand; member
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | arasan-nand-controller.c | 195 static struct anand *to_anand(struct nand_chip *nand) in to_anand() argument
|
H A D | meson_nand.c | 110 struct nand_chip nand; member 219 static struct meson_nfc_nand_chip *to_meson_nand(struct nand_chip *nand) in to_meson_nand() argument 224 static void meson_nfc_select_chip(struct nand_chip *nand, int chip) in meson_nfc_select_chip() argument 267 static void meson_nfc_cmd_access(struct nand_chip *nand, int raw, bool dir, in meson_nfc_cmd_access() argument 333 meson_nfc_oob_ptr(struct nand_chip *nand, int i) meson_nfc_oob_ptr() argument 343 meson_nfc_data_ptr(struct nand_chip *nand, int i) meson_nfc_data_ptr() argument 354 meson_nfc_get_data_oob(struct nand_chip *nand, u8 *buf, u8 *oobbuf) meson_nfc_get_data_oob() argument 373 meson_nfc_set_data_oob(struct nand_chip *nand, const u8 *buf, u8 *oobbuf) meson_nfc_set_data_oob() argument 420 meson_nfc_set_user_byte(struct nand_chip *nand, u8 *oob_buf) meson_nfc_set_user_byte() argument 433 meson_nfc_get_user_byte(struct nand_chip *nand, u8 *oob_buf) meson_nfc_get_user_byte() argument 446 meson_nfc_ecc_correct(struct nand_chip *nand, u32 *bitflips, u64 *correct_bitmap) meson_nfc_ecc_correct() argument 475 meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, int datalen, void *infobuf, int infolen, enum dma_data_direction dir) meson_nfc_dma_buffer_setup() argument 515 meson_nfc_dma_buffer_release(struct nand_chip *nand, int datalen, int infolen, enum dma_data_direction dir) meson_nfc_dma_buffer_release() argument 528 meson_nfc_read_buf(struct nand_chip *nand, u8 *buf, int len) meson_nfc_read_buf() argument 557 meson_nfc_write_buf(struct nand_chip *nand, u8 *buf, int len) meson_nfc_write_buf() argument 578 meson_nfc_rw_cmd_prepare_and_execute(struct nand_chip *nand, int page, bool in) meson_nfc_rw_cmd_prepare_and_execute() argument 631 meson_nfc_write_page_sub(struct nand_chip *nand, int page, int raw) meson_nfc_write_page_sub() argument 676 meson_nfc_write_page_raw(struct nand_chip *nand, const u8 *buf, int oob_required, int page) meson_nfc_write_page_raw() argument 686 meson_nfc_write_page_hwecc(struct nand_chip *nand, const u8 *buf, int oob_required, int page) meson_nfc_write_page_hwecc() argument 700 meson_nfc_check_ecc_pages_valid(struct meson_nfc *nfc, struct nand_chip *nand, int raw) meson_nfc_check_ecc_pages_valid() argument 720 meson_nfc_read_page_sub(struct nand_chip *nand, int page, int raw) meson_nfc_read_page_sub() argument 761 meson_nfc_read_page_raw(struct nand_chip *nand, u8 *buf, int oob_required, int page) meson_nfc_read_page_raw() argument 776 meson_nfc_read_page_hwecc(struct nand_chip *nand, u8 *buf, int oob_required, int page) meson_nfc_read_page_hwecc() argument 830 meson_nfc_read_oob_raw(struct nand_chip *nand, int page) meson_nfc_read_oob_raw() argument 835 meson_nfc_read_oob(struct nand_chip *nand, int page) meson_nfc_read_oob() argument 902 meson_nfc_exec_op(struct nand_chip *nand, const struct nand_operation *op, bool check_only) meson_nfc_exec_op() argument 968 struct nand_chip *nand = mtd_to_nand(mtd); meson_ooblayout_ecc() local 982 struct nand_chip *nand = mtd_to_nand(mtd); meson_ooblayout_free() local 1080 meson_nfc_free_buffer(struct nand_chip *nand) meson_nfc_free_buffer() argument 1088 meson_chip_buffer_init(struct nand_chip *nand) meson_chip_buffer_init() argument 1113 meson_nfc_setup_interface(struct nand_chip *nand, int csline, const struct nand_interface_config *conf) meson_nfc_setup_interface() argument 1155 meson_nand_bch_mode(struct nand_chip *nand) meson_nand_bch_mode() argument 1173 meson_nand_detach_chip(struct nand_chip *nand) meson_nand_detach_chip() argument 1178 meson_nand_attach_chip(struct nand_chip *nand) meson_nand_attach_chip() argument 1246 struct nand_chip *nand; meson_nfc_nand_chip_init() local [all...] |
H A D | fsmc_nand.c | 146 struct nand_chip nand; member 347 static int fsmc_setup_interface(struct nand_chip *nand, int csline, in fsmc_setup_interface() argument 853 fsmc_nand_probe_config_dt(struct platform_device *pdev, struct fsmc_nand_data *host, struct nand_chip *nand) fsmc_nand_probe_config_dt() argument 898 fsmc_nand_attach_chip(struct nand_chip *nand) fsmc_nand_attach_chip() argument 1013 struct nand_chip *nand; fsmc_nand_probe() local [all...] |
H A D | mtk_nand.c | 127 struct nand_chip nand; member 179 static inline struct mtk_nfc_nand_chip *to_mtk_nand(struct nand_chip *nand) in to_mtk_nand() argument 500 static void mtk_nfc_select_target(struct nand_chip *nand, unsigned int cs) in mtk_nfc_select_target() argument 662 struct mtk_nfc_nand_chip *nand in mtk_nfc_bad_mark_swap() local 1191 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_set_fdm() local 1210 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_set_bad_mark_ctl() local 1223 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_set_spare_per_sector() local 1255 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_ecc_init() local 1370 struct nand_chip *nand; mtk_nfc_nand_chip_init() local 1643 struct nand_chip *nand; mtk_nfc_resume() local [all...] |
H A D | tegra_nand.c | 460 struct tegra_nand_chip *nand = to_tegra_chip(chip); in tegra_nand_select_target() local 480 struct tegra_nand_chip *nand = to_tegra_chip(chip); in tegra_nand_hw_ecc() local 657 struct tegra_nand_chip *nand = to_tegra_chip(chip); in tegra_nand_read_page_hwecc() local 916 struct tegra_nand_chip *nand = to_tegra_chip(chip); in tegra_nand_attach_chip() local 1070 struct tegra_nand_chip *nand; tegra_nand_chips_init() local [all...] |
H A D | omap2.c | 145 struct nand_chip nand; member 273 struct nand_chip *nand = mtd_to_nand(mtd); in omap_read_buf8() local 307 struct nand_chip *nand = mtd_to_nand(mtd); in omap_read_buf16() local [all...] |
H A D | mxc_nand.c | 163 struct nand_chip nand; member [all...] |
H A D | sunxi_nand.c | 193 struct nand_chip nand; member 201 static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand) in to_sunxi_nand() argument 405 static void sunxi_nfc_select_chip(struct nand_chip *nand, unsigned int cs) in sunxi_nfc_select_chip() argument 436 sunxi_nfc_read_buf(struct nand_chip *nand, uint8_t *buf, int len) sunxi_nfc_read_buf() argument 473 sunxi_nfc_write_buf(struct nand_chip *nand, const uint8_t *buf, int len) sunxi_nfc_write_buf() argument 592 sunxi_nfc_randomizer_state(struct nand_chip *nand, int page, bool ecc) sunxi_nfc_randomizer_state() argument 612 sunxi_nfc_randomizer_config(struct nand_chip *nand, int page, bool ecc) sunxi_nfc_randomizer_config() argument 628 sunxi_nfc_randomizer_enable(struct nand_chip *nand) sunxi_nfc_randomizer_enable() argument 639 sunxi_nfc_randomizer_disable(struct nand_chip *nand) sunxi_nfc_randomizer_disable() argument 650 sunxi_nfc_randomize_bbm(struct nand_chip *nand, int page, u8 *bbm) sunxi_nfc_randomize_bbm() argument 658 sunxi_nfc_randomizer_write_buf(struct nand_chip *nand, const uint8_t *buf, int len, bool ecc, int page) sunxi_nfc_randomizer_write_buf() argument 668 sunxi_nfc_randomizer_read_buf(struct nand_chip *nand, uint8_t *buf, int len, bool ecc, int page) sunxi_nfc_randomizer_read_buf() argument 677 sunxi_nfc_hw_ecc_enable(struct nand_chip *nand) sunxi_nfc_hw_ecc_enable() argument 695 sunxi_nfc_hw_ecc_disable(struct nand_chip *nand) sunxi_nfc_hw_ecc_disable() argument 716 sunxi_nfc_hw_ecc_get_prot_oob_bytes(struct nand_chip *nand, u8 *oob, int step, bool bbm, int page) sunxi_nfc_hw_ecc_get_prot_oob_bytes() argument 729 sunxi_nfc_hw_ecc_set_prot_oob_bytes(struct nand_chip *nand, const u8 *oob, int step, bool bbm, int page) sunxi_nfc_hw_ecc_set_prot_oob_bytes() argument 747 sunxi_nfc_hw_ecc_update_stats(struct nand_chip *nand, unsigned int *max_bitflips, int ret) sunxi_nfc_hw_ecc_update_stats() argument 760 sunxi_nfc_hw_ecc_correct(struct nand_chip *nand, u8 *data, u8 *oob, int step, u32 status, bool *erased) sunxi_nfc_hw_ecc_correct() argument 796 sunxi_nfc_hw_ecc_read_chunk(struct nand_chip *nand, u8 *data, int data_off, u8 *oob, int oob_off, int *cur_off, unsigned int *max_bitflips, bool bbm, bool oob_required, int page) sunxi_nfc_hw_ecc_read_chunk() argument 877 sunxi_nfc_hw_ecc_read_extra_oob(struct nand_chip *nand, u8 *oob, int *cur_off, bool randomize, int page) sunxi_nfc_hw_ecc_read_extra_oob() argument 903 sunxi_nfc_hw_ecc_read_chunks_dma(struct nand_chip *nand, uint8_t *buf, int oob_required, int page, int nchunks) sunxi_nfc_hw_ecc_read_chunks_dma() argument 1026 sunxi_nfc_hw_ecc_write_chunk(struct nand_chip *nand, const u8 *data, int data_off, const u8 *oob, int oob_off, int *cur_off, bool bbm, int page) sunxi_nfc_hw_ecc_write_chunk() argument 1065 sunxi_nfc_hw_ecc_write_extra_oob(struct nand_chip *nand, u8 *oob, int *cur_off, int page) sunxi_nfc_hw_ecc_write_extra_oob() argument 1087 sunxi_nfc_hw_ecc_read_page(struct nand_chip *nand, uint8_t *buf, int oob_required, int page) sunxi_nfc_hw_ecc_read_page() argument 1127 sunxi_nfc_hw_ecc_read_page_dma(struct nand_chip *nand, u8 *buf, int oob_required, int page) sunxi_nfc_hw_ecc_read_page_dma() argument 1145 sunxi_nfc_hw_ecc_read_subpage(struct nand_chip *nand, u32 data_offs, u32 readlen, u8 *bufpoi, int page) sunxi_nfc_hw_ecc_read_subpage() argument 1181 sunxi_nfc_hw_ecc_read_subpage_dma(struct nand_chip *nand, u32 data_offs, u32 readlen, u8 *buf, int page) sunxi_nfc_hw_ecc_read_subpage_dma() argument 1201 sunxi_nfc_hw_ecc_write_page(struct nand_chip *nand, const uint8_t *buf, int oob_required, int page) sunxi_nfc_hw_ecc_write_page() argument 1237 sunxi_nfc_hw_ecc_write_subpage(struct nand_chip *nand, u32 data_offs, u32 data_len, const u8 *buf, int oob_required, int page) sunxi_nfc_hw_ecc_write_subpage() argument 1271 sunxi_nfc_hw_ecc_write_page_dma(struct nand_chip *nand, const u8 *buf, int oob_required, int page) sunxi_nfc_hw_ecc_write_page_dma() argument 1336 sunxi_nfc_hw_ecc_read_oob(struct nand_chip *nand, int page) sunxi_nfc_hw_ecc_read_oob() argument 1343 sunxi_nfc_hw_ecc_write_oob(struct nand_chip *nand, int page) sunxi_nfc_hw_ecc_write_oob() argument 1379 sunxi_nfc_setup_interface(struct nand_chip *nand, int csline, const struct nand_interface_config *conf) sunxi_nfc_setup_interface() argument 1552 struct nand_chip *nand = mtd_to_nand(mtd); sunxi_nand_ooblayout_ecc() local 1567 struct nand_chip *nand = mtd_to_nand(mtd); sunxi_nand_ooblayout_free() local 1605 sunxi_nand_hw_ecc_ctrl_init(struct nand_chip *nand, struct nand_ecc_ctrl *ecc, struct device_node *np) sunxi_nand_hw_ecc_ctrl_init() argument 1734 sunxi_nand_attach_chip(struct nand_chip *nand) sunxi_nand_attach_chip() argument 1774 sunxi_nfc_exec_subop(struct nand_chip *nand, const struct nand_subop *subop) sunxi_nfc_exec_subop() argument 1870 sunxi_nfc_soft_waitrdy(struct nand_chip *nand, const struct nand_subop *subop) sunxi_nfc_soft_waitrdy() argument 1907 sunxi_nfc_exec_op(struct nand_chip *nand, const struct nand_operation *op, bool check_only) sunxi_nfc_exec_op() argument 1935 struct nand_chip *nand; sunxi_nand_chip_init() local [all...] |
H A D | stm32_fmc2_nand.c | 246 struct stm32_fmc2_nand nand; member 282 struct stm32_fmc2_nand *nand = to_fmc2_nand(chip); in stm32_fmc2_nfc_timings_init() local 337 struct stm32_fmc2_nand *nand = to_fmc2_nand(chip); in stm32_fmc2_nfc_select_chip() local 1393 struct stm32_fmc2_nand *nand in stm32_fmc2_nfc_calc_timings() local 1754 struct stm32_fmc2_nand *nand = &nfc->nand; stm32_fmc2_nfc_parse_child() local 1854 struct stm32_fmc2_nand *nand; stm32_fmc2_nfc_probe() local 2000 struct stm32_fmc2_nand *nand = &nfc->nand; stm32_fmc2_nfc_remove() local 2037 struct stm32_fmc2_nand *nand = &nfc->nand; stm32_fmc2_nfc_resume() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | fsl_lbc.h | 281 void *nand; member
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | tegra_nand.c | 463 struct tegra_nand_chip *nand = to_tegra_chip(chip); in tegra_nand_select_target() local 483 struct tegra_nand_chip *nand = to_tegra_chip(chip); in tegra_nand_hw_ecc() local 660 struct tegra_nand_chip *nand = to_tegra_chip(chip); in tegra_nand_read_page_hwecc() local 919 struct tegra_nand_chip *nand = to_tegra_chip(chip); in tegra_nand_attach_chip() local 1073 struct tegra_nand_chip *nand; tegra_nand_chips_init() local [all...] |
H A D | arasan-nand-controller.c | 224 static struct anand *to_anand(struct nand_chip *nand) in to_anand() argument
|
H A D | fsmc_nand.c | 146 struct nand_chip nand; member 347 static int fsmc_setup_interface(struct nand_chip *nand, int csline, in fsmc_setup_interface() argument 864 fsmc_nand_probe_config_dt(struct platform_device *pdev, struct fsmc_nand_data *host, struct nand_chip *nand) fsmc_nand_probe_config_dt() argument 909 fsmc_nand_attach_chip(struct nand_chip *nand) fsmc_nand_attach_chip() argument 1025 struct nand_chip *nand; fsmc_nand_probe() local [all...] |
H A D | mtk_nand.c | 126 struct nand_chip nand; member 178 static inline struct mtk_nfc_nand_chip *to_mtk_nand(struct nand_chip *nand) in to_mtk_nand() argument 499 static void mtk_nfc_select_target(struct nand_chip *nand, unsigned int cs) in mtk_nfc_select_target() argument 661 struct mtk_nfc_nand_chip *nand = to_mtk_nand(chip); mtk_nfc_bad_mark_swap() local 1164 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_set_fdm() local 1183 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_set_bad_mark_ctl() local 1196 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_set_spare_per_sector() local 1228 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_ecc_init() local 1343 struct nand_chip *nand; mtk_nfc_nand_chip_init() local 1605 struct nand_chip *nand; mtk_nfc_resume() local [all...] |
H A D | intel-nand-controller.c | 581 struct nand_chip *nand; in ebu_nand_probe() local
|
H A D | sunxi_nand.c | 194 struct nand_chip nand; member 203 static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand) in to_sunxi_nand() argument 415 static void sunxi_nfc_select_chip(struct nand_chip *nand, unsigned int cs) in sunxi_nfc_select_chip() argument 446 sunxi_nfc_read_buf(struct nand_chip *nand, uint8_t *buf, int len) sunxi_nfc_read_buf() argument 483 sunxi_nfc_write_buf(struct nand_chip *nand, const uint8_t *buf, int len) sunxi_nfc_write_buf() argument 602 sunxi_nfc_randomizer_state(struct nand_chip *nand, int page, bool ecc) sunxi_nfc_randomizer_state() argument 622 sunxi_nfc_randomizer_config(struct nand_chip *nand, int page, bool ecc) sunxi_nfc_randomizer_config() argument 638 sunxi_nfc_randomizer_enable(struct nand_chip *nand) sunxi_nfc_randomizer_enable() argument 649 sunxi_nfc_randomizer_disable(struct nand_chip *nand) sunxi_nfc_randomizer_disable() argument 660 sunxi_nfc_randomize_bbm(struct nand_chip *nand, int page, u8 *bbm) sunxi_nfc_randomize_bbm() argument 668 sunxi_nfc_randomizer_write_buf(struct nand_chip *nand, const uint8_t *buf, int len, bool ecc, int page) sunxi_nfc_randomizer_write_buf() argument 678 sunxi_nfc_randomizer_read_buf(struct nand_chip *nand, uint8_t *buf, int len, bool ecc, int page) sunxi_nfc_randomizer_read_buf() argument 687 sunxi_nfc_hw_ecc_enable(struct nand_chip *nand) sunxi_nfc_hw_ecc_enable() argument 695 sunxi_nfc_hw_ecc_disable(struct nand_chip *nand) sunxi_nfc_hw_ecc_disable() argument 715 sunxi_nfc_hw_ecc_get_prot_oob_bytes(struct nand_chip *nand, u8 *oob, int step, bool bbm, int page) sunxi_nfc_hw_ecc_get_prot_oob_bytes() argument 728 sunxi_nfc_hw_ecc_set_prot_oob_bytes(struct nand_chip *nand, const u8 *oob, int step, bool bbm, int page) sunxi_nfc_hw_ecc_set_prot_oob_bytes() argument 746 sunxi_nfc_hw_ecc_update_stats(struct nand_chip *nand, unsigned int *max_bitflips, int ret) sunxi_nfc_hw_ecc_update_stats() argument 759 sunxi_nfc_hw_ecc_correct(struct nand_chip *nand, u8 *data, u8 *oob, int step, u32 status, bool *erased) sunxi_nfc_hw_ecc_correct() argument 795 sunxi_nfc_hw_ecc_read_chunk(struct nand_chip *nand, u8 *data, int data_off, u8 *oob, int oob_off, int *cur_off, unsigned int *max_bitflips, bool bbm, bool oob_required, int page) sunxi_nfc_hw_ecc_read_chunk() argument 876 sunxi_nfc_hw_ecc_read_extra_oob(struct nand_chip *nand, u8 *oob, int *cur_off, bool randomize, int page) sunxi_nfc_hw_ecc_read_extra_oob() argument 902 sunxi_nfc_hw_ecc_read_chunks_dma(struct nand_chip *nand, uint8_t *buf, int oob_required, int page, int nchunks) sunxi_nfc_hw_ecc_read_chunks_dma() argument 1030 sunxi_nfc_hw_ecc_write_chunk(struct nand_chip *nand, const u8 *data, int data_off, const u8 *oob, int oob_off, int *cur_off, bool bbm, int page) sunxi_nfc_hw_ecc_write_chunk() argument 1069 sunxi_nfc_hw_ecc_write_extra_oob(struct nand_chip *nand, u8 *oob, int *cur_off, int page) sunxi_nfc_hw_ecc_write_extra_oob() argument 1091 sunxi_nfc_hw_ecc_read_page(struct nand_chip *nand, uint8_t *buf, int oob_required, int page) sunxi_nfc_hw_ecc_read_page() argument 1131 sunxi_nfc_hw_ecc_read_page_dma(struct nand_chip *nand, u8 *buf, int oob_required, int page) sunxi_nfc_hw_ecc_read_page_dma() argument 1149 sunxi_nfc_hw_ecc_read_subpage(struct nand_chip *nand, u32 data_offs, u32 readlen, u8 *bufpoi, int page) sunxi_nfc_hw_ecc_read_subpage() argument 1185 sunxi_nfc_hw_ecc_read_subpage_dma(struct nand_chip *nand, u32 data_offs, u32 readlen, u8 *buf, int page) sunxi_nfc_hw_ecc_read_subpage_dma() argument 1205 sunxi_nfc_hw_ecc_write_page(struct nand_chip *nand, const uint8_t *buf, int oob_required, int page) sunxi_nfc_hw_ecc_write_page() argument 1241 sunxi_nfc_hw_ecc_write_subpage(struct nand_chip *nand, u32 data_offs, u32 data_len, const u8 *buf, int oob_required, int page) sunxi_nfc_hw_ecc_write_subpage() argument 1275 sunxi_nfc_hw_ecc_write_page_dma(struct nand_chip *nand, const u8 *buf, int oob_required, int page) sunxi_nfc_hw_ecc_write_page_dma() argument 1346 sunxi_nfc_hw_ecc_read_oob(struct nand_chip *nand, int page) sunxi_nfc_hw_ecc_read_oob() argument 1353 sunxi_nfc_hw_ecc_write_oob(struct nand_chip *nand, int page) sunxi_nfc_hw_ecc_write_oob() argument 1389 sunxi_nfc_setup_interface(struct nand_chip *nand, int csline, const struct nand_interface_config *conf) sunxi_nfc_setup_interface() argument 1562 struct nand_chip *nand = mtd_to_nand(mtd); sunxi_nand_ooblayout_ecc() local 1577 struct nand_chip *nand = mtd_to_nand(mtd); sunxi_nand_ooblayout_free() local 1617 sunxi_nand_hw_ecc_ctrl_init(struct nand_chip *nand, struct nand_ecc_ctrl *ecc, struct device_node *np) sunxi_nand_hw_ecc_ctrl_init() argument 1724 sunxi_nand_attach_chip(struct nand_chip *nand) sunxi_nand_attach_chip() argument 1764 sunxi_nfc_exec_subop(struct nand_chip *nand, const struct nand_subop *subop) sunxi_nfc_exec_subop() argument 1860 sunxi_nfc_soft_waitrdy(struct nand_chip *nand, const struct nand_subop *subop) sunxi_nfc_soft_waitrdy() argument 1897 sunxi_nfc_exec_op(struct nand_chip *nand, const struct nand_operation *op, bool check_only) sunxi_nfc_exec_op() argument 1943 struct nand_chip *nand; sunxi_nand_chip_init() local [all...] |
H A D | stm32_fmc2_nand.c | 248 struct stm32_fmc2_nand nand; member 284 struct stm32_fmc2_nand *nand = to_fmc2_nand(chip); in stm32_fmc2_nfc_timings_init() local 339 struct stm32_fmc2_nand *nand = to_fmc2_nand(chip); in stm32_fmc2_nfc_select_chip() local 1399 struct stm32_fmc2_nand *nand in stm32_fmc2_nfc_calc_timings() local 1757 stm32_fmc2_nfc_wp_enable(struct stm32_fmc2_nand *nand) stm32_fmc2_nfc_wp_enable() argument 1763 stm32_fmc2_nfc_wp_disable(struct stm32_fmc2_nand *nand) stm32_fmc2_nfc_wp_disable() argument 1772 struct stm32_fmc2_nand *nand = &nfc->nand; stm32_fmc2_nfc_parse_child() local 1883 struct stm32_fmc2_nand *nand; stm32_fmc2_nfc_probe() local 2023 struct stm32_fmc2_nand *nand = &nfc->nand; stm32_fmc2_nfc_remove() local 2047 struct stm32_fmc2_nand *nand = &nfc->nand; stm32_fmc2_nfc_suspend() local 2061 struct stm32_fmc2_nand *nand = &nfc->nand; stm32_fmc2_nfc_resume() local [all...] |
H A D | renesas-nand-controller.c | 254 static inline unsigned int to_rnandc_cs(struct rnand_chip *nand) in to_rnandc_cs() argument
|
H A D | omap2.c | 145 struct nand_chip nand; member 1776 struct nand_device *nand = mtd_to_nanddev(mtd); omap_sw_ooblayout_ecc() local 1797 struct nand_device *nand = mtd_to_nanddev(mtd); omap_sw_ooblayout_free() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.c | 245 struct nand_device *nand = &chip->base; in gpmi_check_ecc() local [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-mxic.c | 641 static int mxic_spi_mem_ecc_init_ctx(struct nand_device *nand) in mxic_spi_mem_ecc_init_ctx() argument 651 static void mxic_spi_mem_ecc_cleanup_ctx(struct nand_device *nand) in mxic_spi_mem_ecc_cleanup_ctx() argument 661 static int mxic_spi_mem_ecc_prepare_io_req(struct nand_device *nand, in mxic_spi_mem_ecc_prepare_io_req() argument 669 mxic_spi_mem_ecc_finish_io_req(struct nand_device *nand, struct nand_page_io_req *req) mxic_spi_mem_ecc_finish_io_req() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/ |
H A D | nand-controller.c | 471 static void atmel_nand_data_in(struct atmel_nand *nand, void *buf, in atmel_nand_data_in() argument 495 atmel_nand_data_out(struct atmel_nand *nand, const void *buf, unsigned int len, bool force_8bit) atmel_nand_data_out() argument 519 atmel_nand_waitrdy(struct atmel_nand *nand, unsigned int timeout_ms) atmel_nand_waitrdy() argument 528 atmel_hsmc_nand_waitrdy(struct atmel_nand *nand, unsigned int timeout_ms) atmel_hsmc_nand_waitrdy() argument 544 atmel_nand_select_target(struct atmel_nand *nand, unsigned int cs) atmel_nand_select_target() argument 550 atmel_hsmc_nand_select_target(struct atmel_nand *nand, unsigned int cs) atmel_hsmc_nand_select_target() argument 573 atmel_smc_nand_exec_instr(struct atmel_nand *nand, const struct nand_op_instr *instr) atmel_smc_nand_exec_instr() argument 610 atmel_smc_nand_exec_op(struct atmel_nand *nand, const struct nand_operation *op, bool check_only) atmel_smc_nand_exec_op() argument 635 struct atmel_nand *nand = to_atmel_nand(chip); atmel_hsmc_exec_cmd_addr() local 664 struct atmel_nand *nand = to_atmel_nand(chip); atmel_hsmc_exec_rw() local 682 struct atmel_nand *nand = to_atmel_nand(chip); atmel_hsmc_exec_waitrdy() local 700 atmel_hsmc_nand_exec_op(struct atmel_nand *nand, const struct nand_operation *op, bool check_only) atmel_hsmc_nand_exec_op() argument 790 struct atmel_nand *nand = to_atmel_nand(chip); atmel_nand_pmecc_enable() local 809 struct atmel_nand *nand = to_atmel_nand(chip); atmel_nand_pmecc_disable() local 817 struct atmel_nand *nand = to_atmel_nand(chip); atmel_nand_pmecc_generate_eccbytes() local 852 struct atmel_nand *nand = to_atmel_nand(chip); atmel_nand_pmecc_correct_data() local 905 struct atmel_nand *nand = to_atmel_nand(chip); atmel_nand_pmecc_write_pg() local 987 struct atmel_nand *nand = to_atmel_nand(chip); atmel_hsmc_nand_pmecc_write_pg() local 1048 struct atmel_nand *nand = to_atmel_nand(chip); atmel_hsmc_nand_pmecc_read_pg() local 1116 struct atmel_nand *nand = to_atmel_nand(chip); atmel_nand_pmecc_init() local 1239 atmel_smc_nand_prepare_smcconf(struct atmel_nand *nand, const struct nand_interface_config *conf, struct atmel_smc_cs_conf *smcconf) atmel_smc_nand_prepare_smcconf() argument 1469 atmel_smc_nand_setup_interface(struct atmel_nand *nand, int csline, const struct nand_interface_config *conf) atmel_smc_nand_setup_interface() argument 1494 atmel_hsmc_nand_setup_interface(struct atmel_nand *nand, int csline, const struct nand_interface_config *conf) atmel_hsmc_nand_setup_interface() argument 1527 struct atmel_nand *nand = to_atmel_nand(chip); atmel_nand_setup_interface() local 1543 struct atmel_nand *nand = to_atmel_nand(chip); atmel_nand_exec_op() local 1551 atmel_nand_init(struct atmel_nand_controller *nc, struct atmel_nand *nand) atmel_nand_init() argument 1575 atmel_smc_nand_init(struct atmel_nand_controller *nc, struct atmel_nand *nand) atmel_smc_nand_init() argument 1601 atmel_nand_controller_remove_nand(struct atmel_nand *nand) atmel_nand_controller_remove_nand() argument 1621 struct atmel_nand *nand; atmel_nand_create() local 1723 atmel_nand_controller_add_nand(struct atmel_nand_controller *nc, struct atmel_nand *nand) atmel_nand_controller_add_nand() argument 1759 struct atmel_nand *nand, *tmp; atmel_nand_controller_remove_nands() local 1776 struct atmel_nand *nand; atmel_nand_controller_legacy_add_nands() local 1877 struct atmel_nand *nand; atmel_nand_controller_add_nands() local 1978 struct atmel_nand *nand = to_atmel_nand(chip); atmel_nand_attach_chip() local 2636 struct atmel_nand *nand; atmel_nand_controller_resume() local [all...] |