Searched defs:nand (Results 26 - 48 of 48) sorted by relevance

12

/linux-master/include/linux/mtd/
H A Dspinand.h484 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) argument
H A Dnand.h362 struct nand_device *nand; member in struct:nand_ecc_req_tweak_ctx
461 nanddev_to_mtd(struct nand_device *nand) argument
472 nanddev_bits_per_cell(const struct nand_device *nand) argument
483 nanddev_page_size(const struct nand_device *nand) argument
495 nanddev_per_page_oobsize(const struct nand_device *nand) argument
507 nanddev_pages_per_eraseblock(const struct nand_device *nand) argument
519 nanddev_pages_per_target(const struct nand_device *nand) argument
532 nanddev_eraseblock_size(const struct nand_device *nand) argument
544 nanddev_eraseblocks_per_lun(const struct nand_device *nand) argument
556 nanddev_eraseblocks_per_target(const struct nand_device *nand) argument
567 nanddev_target_size(const struct nand_device *nand) argument
581 nanddev_ntargets(const struct nand_device *nand) argument
592 nanddev_neraseblocks(const struct nand_device *nand) argument
604 nanddev_size(const struct nand_device *nand) argument
619 nanddev_get_memorg(struct nand_device *nand) argument
629 nanddev_get_ecc_conf(struct nand_device *nand) argument
639 nanddev_get_ecc_nsteps(struct nand_device *nand) argument
649 nanddev_get_ecc_bytes_per_step(struct nand_device *nand) argument
660 nanddev_get_ecc_requirements(struct nand_device *nand) argument
672 nanddev_set_ecc_requirements(struct nand_device *nand, const struct nand_ecc_props *reqs) argument
692 nanddev_register(struct nand_device *nand) argument
707 nanddev_unregister(struct nand_device *nand) argument
719 nanddev_set_of_node(struct nand_device *nand, struct device_node *np) argument
731 nanddev_get_of_node(struct nand_device *nand) argument
746 nanddev_offs_to_pos(struct nand_device *nand, loff_t offs, struct nand_pos *pos) argument
801 nanddev_pos_to_offs(struct nand_device *nand, const struct nand_pos *pos) argument
826 nanddev_pos_to_row(struct nand_device *nand, const struct nand_pos *pos) argument
842 nanddev_pos_next_target(struct nand_device *nand, struct nand_pos *pos) argument
860 nanddev_pos_next_lun(struct nand_device *nand, struct nand_pos *pos) argument
880 nanddev_pos_next_eraseblock(struct nand_device *nand, struct nand_pos *pos) argument
899 nanddev_pos_next_page(struct nand_device *nand, struct nand_pos *pos) 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) argument
949 nanddev_io_iter_next_page(struct nand_device *nand, struct nand_io_iter *iter) argument
976 nanddev_io_iter_end(struct nand_device *nand, const struct nand_io_iter *iter) argument
1008 nand_to_ecc_ctx(struct nand_device *nand) argument
1042 nanddev_bbt_pos_to_entry(struct nand_device *nand, const struct nand_pos *pos) argument
1056 nanddev_bbt_is_initialized(struct nand_device *nand) argument
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Ddiskonchip.c1301 struct nand_chip *nand = NULL; local
1527 struct nand_chip *nand; local
[all...]
H A Dfsmc_nand.c146 struct nand_chip nand; member in struct:fsmc_nand_data
347 static int fsmc_setup_interface(struct nand_chip *nand, int csline, argument
864 fsmc_nand_probe_config_dt(struct platform_device *pdev, struct fsmc_nand_data *host, struct nand_chip *nand) argument
909 fsmc_nand_attach_chip(struct nand_chip *nand) argument
1025 struct nand_chip *nand; local
[all...]
H A Dtegra_nand.c463 struct tegra_nand_chip *nand = to_tegra_chip(chip); local
483 struct tegra_nand_chip *nand = to_tegra_chip(chip); local
660 struct tegra_nand_chip *nand = to_tegra_chip(chip); local
919 struct tegra_nand_chip *nand = to_tegra_chip(chip); local
1073 struct tegra_nand_chip *nand; local
[all...]
H A Darasan-nand-controller.c224 static struct anand *to_anand(struct nand_chip *nand) argument
H A Dintel-nand-controller.c581 struct nand_chip *nand; local
H A Dmtk_nand.c126 struct nand_chip nand; member in struct:mtk_nfc_nand_chip
178 static inline struct mtk_nfc_nand_chip *to_mtk_nand(struct nand_chip *nand) argument
499 static void mtk_nfc_select_target(struct nand_chip *nand, unsigned int cs) argument
661 struct mtk_nfc_nand_chip *nand = to_mtk_nand(chip); local
1164 struct nand_chip *nand = mtd_to_nand(mtd); local
1183 struct nand_chip *nand = mtd_to_nand(mtd); local
1196 struct nand_chip *nand = mtd_to_nand(mtd); local
1228 struct nand_chip *nand = mtd_to_nand(mtd); local
1343 struct nand_chip *nand; local
1605 struct nand_chip *nand; local
[all...]
H A Dmxc_nand.c161 struct nand_chip nand; member in struct:mxc_nand_host
[all...]
H A Dsunxi_nand.c194 struct nand_chip nand; member in struct:sunxi_nand_chip
203 static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand) argument
415 static void sunxi_nfc_select_chip(struct nand_chip *nand, unsigned int cs) argument
446 sunxi_nfc_read_buf(struct nand_chip *nand, uint8_t *buf, int len) argument
483 sunxi_nfc_write_buf(struct nand_chip *nand, const uint8_t *buf, int len) argument
602 sunxi_nfc_randomizer_state(struct nand_chip *nand, int page, bool ecc) argument
622 sunxi_nfc_randomizer_config(struct nand_chip *nand, int page, bool ecc) argument
638 sunxi_nfc_randomizer_enable(struct nand_chip *nand) argument
649 sunxi_nfc_randomizer_disable(struct nand_chip *nand) argument
660 sunxi_nfc_randomize_bbm(struct nand_chip *nand, int page, u8 *bbm) argument
668 sunxi_nfc_randomizer_write_buf(struct nand_chip *nand, const uint8_t *buf, int len, bool ecc, int page) argument
678 sunxi_nfc_randomizer_read_buf(struct nand_chip *nand, uint8_t *buf, int len, bool ecc, int page) argument
687 sunxi_nfc_hw_ecc_enable(struct nand_chip *nand) argument
695 sunxi_nfc_hw_ecc_disable(struct nand_chip *nand) argument
715 sunxi_nfc_hw_ecc_get_prot_oob_bytes(struct nand_chip *nand, u8 *oob, int step, bool bbm, int page) argument
728 sunxi_nfc_hw_ecc_set_prot_oob_bytes(struct nand_chip *nand, const u8 *oob, int step, bool bbm, int page) argument
746 sunxi_nfc_hw_ecc_update_stats(struct nand_chip *nand, unsigned int *max_bitflips, int ret) argument
759 sunxi_nfc_hw_ecc_correct(struct nand_chip *nand, u8 *data, u8 *oob, int step, u32 status, bool *erased) 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) argument
876 sunxi_nfc_hw_ecc_read_extra_oob(struct nand_chip *nand, u8 *oob, int *cur_off, bool randomize, int page) argument
902 sunxi_nfc_hw_ecc_read_chunks_dma(struct nand_chip *nand, uint8_t *buf, int oob_required, int page, int nchunks) 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) argument
1069 sunxi_nfc_hw_ecc_write_extra_oob(struct nand_chip *nand, u8 *oob, int *cur_off, int page) argument
1091 sunxi_nfc_hw_ecc_read_page(struct nand_chip *nand, uint8_t *buf, int oob_required, int page) argument
1131 sunxi_nfc_hw_ecc_read_page_dma(struct nand_chip *nand, u8 *buf, int oob_required, int page) argument
1149 sunxi_nfc_hw_ecc_read_subpage(struct nand_chip *nand, u32 data_offs, u32 readlen, u8 *bufpoi, int page) argument
1185 sunxi_nfc_hw_ecc_read_subpage_dma(struct nand_chip *nand, u32 data_offs, u32 readlen, u8 *buf, int page) argument
1205 sunxi_nfc_hw_ecc_write_page(struct nand_chip *nand, const uint8_t *buf, int oob_required, int 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) argument
1275 sunxi_nfc_hw_ecc_write_page_dma(struct nand_chip *nand, const u8 *buf, int oob_required, int page) argument
1346 sunxi_nfc_hw_ecc_read_oob(struct nand_chip *nand, int page) argument
1353 sunxi_nfc_hw_ecc_write_oob(struct nand_chip *nand, int page) argument
1389 sunxi_nfc_setup_interface(struct nand_chip *nand, int csline, const struct nand_interface_config *conf) argument
1562 struct nand_chip *nand = mtd_to_nand(mtd); local
1577 struct nand_chip *nand = mtd_to_nand(mtd); local
1617 sunxi_nand_hw_ecc_ctrl_init(struct nand_chip *nand, struct nand_ecc_ctrl *ecc, struct device_node *np) argument
1724 sunxi_nand_attach_chip(struct nand_chip *nand) argument
1764 sunxi_nfc_exec_subop(struct nand_chip *nand, const struct nand_subop *subop) argument
1860 sunxi_nfc_soft_waitrdy(struct nand_chip *nand, const struct nand_subop *subop) argument
1897 sunxi_nfc_exec_op(struct nand_chip *nand, const struct nand_operation *op, bool check_only) argument
1943 struct nand_chip *nand; local
[all...]
H A Domap2.c145 struct nand_chip nand; member in struct:omap_nand_info
1776 struct nand_device *nand = mtd_to_nanddev(mtd); local
1797 struct nand_device *nand = mtd_to_nanddev(mtd); local
[all...]
H A Drenesas-nand-controller.c254 static inline unsigned int to_rnandc_cs(struct rnand_chip *nand) argument
H A Dmeson_nand.c121 struct nand_chip nand; member in struct:meson_nfc_nand_chip
253 static struct meson_nfc_nand_chip *to_meson_nand(struct nand_chip *nand) argument
258 static void meson_nfc_select_chip(struct nand_chip *nand, int chip) argument
301 static void meson_nfc_cmd_access(struct nand_chip *nand, int raw, bool dir, argument
367 meson_nfc_oob_ptr(struct nand_chip *nand, int i) argument
377 meson_nfc_data_ptr(struct nand_chip *nand, int i) argument
388 meson_nfc_get_data_oob(struct nand_chip *nand, u8 *buf, u8 *oobbuf) argument
407 meson_nfc_set_data_oob(struct nand_chip *nand, const u8 *buf, u8 *oobbuf) argument
426 meson_nfc_wait_no_rb_pin(struct nand_chip *nand, int timeout_ms, bool need_cmd_read0) argument
485 meson_nfc_queue_rb(struct nand_chip *nand, int timeout_ms, bool need_cmd_read0) argument
508 meson_nfc_set_user_byte(struct nand_chip *nand, u8 *oob_buf) argument
521 meson_nfc_get_user_byte(struct nand_chip *nand, u8 *oob_buf) argument
534 meson_nfc_ecc_correct(struct nand_chip *nand, u32 *bitflips, u64 *correct_bitmap) argument
563 meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, int datalen, void *infobuf, int infolen, enum dma_data_direction dir) argument
603 meson_nfc_dma_buffer_release(struct nand_chip *nand, int datalen, int infolen, enum dma_data_direction dir) argument
616 meson_nfc_read_buf(struct nand_chip *nand, u8 *buf, int len) argument
645 meson_nfc_write_buf(struct nand_chip *nand, u8 *buf, int len) argument
666 meson_nfc_rw_cmd_prepare_and_execute(struct nand_chip *nand, int page, bool in) argument
719 meson_nfc_write_page_sub(struct nand_chip *nand, int page, int raw) argument
764 meson_nfc_write_page_raw(struct nand_chip *nand, const u8 *buf, int oob_required, int page) argument
774 meson_nfc_write_page_hwecc(struct nand_chip *nand, const u8 *buf, int oob_required, int page) argument
788 meson_nfc_check_ecc_pages_valid(struct meson_nfc *nfc, struct nand_chip *nand, int raw) argument
808 meson_nfc_read_page_sub(struct nand_chip *nand, int page, int raw) argument
849 meson_nfc_read_page_raw(struct nand_chip *nand, u8 *buf, int oob_required, int page) argument
864 meson_nfc_read_page_hwecc(struct nand_chip *nand, u8 *buf, int oob_required, int page) argument
918 meson_nfc_read_oob_raw(struct nand_chip *nand, int page) argument
923 meson_nfc_read_oob(struct nand_chip *nand, int page) argument
1015 meson_nfc_exec_op(struct nand_chip *nand, const struct nand_operation *op, bool check_only) argument
1087 struct nand_chip *nand = mtd_to_nand(mtd); local
1101 struct nand_chip *nand = mtd_to_nand(mtd); local
1202 meson_nfc_free_buffer(struct nand_chip *nand) argument
1210 meson_chip_buffer_init(struct nand_chip *nand) argument
1235 meson_nfc_setup_interface(struct nand_chip *nand, int csline, const struct nand_interface_config *conf) argument
1277 meson_nand_bch_mode(struct nand_chip *nand) argument
1296 meson_nand_detach_chip(struct nand_chip *nand) argument
1301 meson_nand_attach_chip(struct nand_chip *nand) argument
1377 struct nand_chip *nand; local
[all...]
H A Dstm32_fmc2_nand.c256 struct stm32_fmc2_nand nand; member in struct:stm32_fmc2_nfc
295 struct stm32_fmc2_nand *nand = to_fmc2_nand(chip); local
350 struct stm32_fmc2_nand *nand = to_fmc2_nand(chip); local
1416 struct stm32_fmc2_nand *nand local
1785 stm32_fmc2_nfc_wp_enable(struct stm32_fmc2_nand *nand) argument
1791 stm32_fmc2_nfc_wp_disable(struct stm32_fmc2_nand *nand) argument
1800 struct stm32_fmc2_nand *nand = &nfc->nand; local
1911 struct stm32_fmc2_nand *nand; local
2059 struct stm32_fmc2_nand *nand = &nfc->nand; local
2083 struct stm32_fmc2_nand *nand = &nfc->nand; local
2097 struct stm32_fmc2_nand *nand = &nfc->nand; local
[all...]
H A Dmarvell_nand.c356 to_nand_sel(struct marvell_nand_chip *nand) argument
[all...]
H A Dnand_base.c5610 struct nand_device *nand = mtd_to_nanddev(nand_to_mtd(chip)); local
6249 rawnand_erase(struct nand_device *nand, const struct nand_pos *pos) argument
6265 rawnand_markbad(struct nand_device *nand, const struct nand_pos *pos) argument
6274 rawnand_isbad(struct nand_device *nand, const struct nand_pos *pos) argument
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dfsl_lbc.h281 void *nand; member in struct:fsl_lbc_ctrl
/linux-master/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c245 struct nand_device *nand = &chip->base; local
[all...]
/linux-master/drivers/spi/
H A Dspi-mxic.c641 static int mxic_spi_mem_ecc_init_ctx(struct nand_device *nand) argument
651 static void mxic_spi_mem_ecc_cleanup_ctx(struct nand_device *nand) argument
661 static int mxic_spi_mem_ecc_prepare_io_req(struct nand_device *nand, argument
669 mxic_spi_mem_ecc_finish_io_req(struct nand_device *nand, struct nand_page_io_req *req) argument
[all...]
H A Dspi-mtk-snfi.c321 static struct mtk_snand *nand_to_mtk_snand(struct nand_device *nand) argument
644 struct nand_device *nand = mtd_to_nanddev(mtd); local
660 static int mtk_snand_ecc_init_ctx(struct nand_device *nand) argument
739 mtk_snand_ecc_cleanup_ctx(struct nand_device *nand) argument
746 mtk_snand_ecc_prepare_io_req(struct nand_device *nand, struct nand_page_io_req *req) argument
762 mtk_snand_ecc_finish_io_req(struct nand_device *nand, struct nand_page_io_req *req) argument
[all...]
/linux-master/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c471 static void atmel_nand_data_in(struct atmel_nand *nand, void *buf, argument
495 atmel_nand_data_out(struct atmel_nand *nand, const void *buf, unsigned int len, bool force_8bit) argument
519 atmel_nand_waitrdy(struct atmel_nand *nand, unsigned int timeout_ms) argument
528 atmel_hsmc_nand_waitrdy(struct atmel_nand *nand, unsigned int timeout_ms) argument
544 atmel_nand_select_target(struct atmel_nand *nand, unsigned int cs) argument
550 atmel_hsmc_nand_select_target(struct atmel_nand *nand, unsigned int cs) argument
573 atmel_smc_nand_exec_instr(struct atmel_nand *nand, const struct nand_op_instr *instr) argument
610 atmel_smc_nand_exec_op(struct atmel_nand *nand, const struct nand_operation *op, bool check_only) argument
635 struct atmel_nand *nand = to_atmel_nand(chip); local
664 struct atmel_nand *nand = to_atmel_nand(chip); local
682 struct atmel_nand *nand = to_atmel_nand(chip); local
700 atmel_hsmc_nand_exec_op(struct atmel_nand *nand, const struct nand_operation *op, bool check_only) argument
790 struct atmel_nand *nand = to_atmel_nand(chip); local
809 struct atmel_nand *nand = to_atmel_nand(chip); local
817 struct atmel_nand *nand = to_atmel_nand(chip); local
852 struct atmel_nand *nand = to_atmel_nand(chip); local
905 struct atmel_nand *nand = to_atmel_nand(chip); local
987 struct atmel_nand *nand = to_atmel_nand(chip); local
1048 struct atmel_nand *nand = to_atmel_nand(chip); local
1116 struct atmel_nand *nand = to_atmel_nand(chip); local
1239 atmel_smc_nand_prepare_smcconf(struct atmel_nand *nand, const struct nand_interface_config *conf, struct atmel_smc_cs_conf *smcconf) argument
1469 atmel_smc_nand_setup_interface(struct atmel_nand *nand, int csline, const struct nand_interface_config *conf) argument
1494 atmel_hsmc_nand_setup_interface(struct atmel_nand *nand, int csline, const struct nand_interface_config *conf) argument
1527 struct atmel_nand *nand = to_atmel_nand(chip); local
1548 struct atmel_nand *nand = to_atmel_nand(chip); local
1556 atmel_nand_init(struct atmel_nand_controller *nc, struct atmel_nand *nand) argument
1580 atmel_smc_nand_init(struct atmel_nand_controller *nc, struct atmel_nand *nand) argument
1606 atmel_nand_controller_remove_nand(struct atmel_nand *nand) argument
1626 struct atmel_nand *nand; local
1726 atmel_nand_controller_add_nand(struct atmel_nand_controller *nc, struct atmel_nand *nand) argument
1762 struct atmel_nand *nand, *tmp; local
1779 struct atmel_nand *nand; local
1879 struct atmel_nand *nand; local
1980 struct atmel_nand *nand = to_atmel_nand(chip); local
2638 struct atmel_nand *nand; local
[all...]
/linux-master/include/linux/
H A Dfsl_ifc.h842 void *nand; member in struct:fsl_ifc_ctrl
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-mio-defs.h502 uint64_t nand:1; member in struct:cvmx_mio_boot_pin_defs::cvmx_mio_boot_pin_defs_s
526 uint64_t nand:1; member in struct:cvmx_mio_boot_pin_defs::cvmx_mio_boot_pin_defs_cn52xx
571 uint64_t nand:1; member in struct:cvmx_mio_boot_pin_defs::cvmx_mio_boot_pin_defs_cn61xx

Completed in 620 milliseconds

12