Lines Matching defs:nand

365 	struct nand_device *nand;  member
464 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd()
475 static inline unsigned int nanddev_bits_per_cell(const struct nand_device *nand) in nanddev_bits_per_cell()
486 static inline size_t nanddev_page_size(const struct nand_device *nand) in nanddev_page_size()
498 nanddev_per_page_oobsize(const struct nand_device *nand) in nanddev_per_page_oobsize()
510 nanddev_pages_per_eraseblock(const struct nand_device *nand) in nanddev_pages_per_eraseblock()
522 nanddev_pages_per_target(const struct nand_device *nand) in nanddev_pages_per_target()
535 static inline size_t nanddev_eraseblock_size(const struct nand_device *nand) in nanddev_eraseblock_size()
547 nanddev_eraseblocks_per_lun(const struct nand_device *nand) in nanddev_eraseblocks_per_lun()
559 nanddev_eraseblocks_per_target(const struct nand_device *nand) in nanddev_eraseblocks_per_target()
570 static inline u64 nanddev_target_size(const struct nand_device *nand) in nanddev_target_size()
584 static inline unsigned int nanddev_ntargets(const struct nand_device *nand) in nanddev_ntargets()
595 static inline unsigned int nanddev_neraseblocks(const struct nand_device *nand) in nanddev_neraseblocks()
607 static inline u64 nanddev_size(const struct nand_device *nand) in nanddev_size()
622 nanddev_get_memorg(struct nand_device *nand) in nanddev_get_memorg()
632 nanddev_get_ecc_conf(struct nand_device *nand) in nanddev_get_ecc_conf()
642 nanddev_get_ecc_nsteps(struct nand_device *nand) in nanddev_get_ecc_nsteps()
652 nanddev_get_ecc_bytes_per_step(struct nand_device *nand) in nanddev_get_ecc_bytes_per_step()
663 nanddev_get_ecc_requirements(struct nand_device *nand) in nanddev_get_ecc_requirements()
675 nanddev_set_ecc_requirements(struct nand_device *nand, in nanddev_set_ecc_requirements()
695 static inline int nanddev_register(struct nand_device *nand) in nanddev_register()
710 static inline int nanddev_unregister(struct nand_device *nand) in nanddev_unregister()
722 static inline void nanddev_set_of_node(struct nand_device *nand, in nanddev_set_of_node()
734 static inline struct device_node *nanddev_get_of_node(struct nand_device *nand) in nanddev_get_of_node()
749 static inline unsigned int nanddev_offs_to_pos(struct nand_device *nand, in nanddev_offs_to_pos()
804 static inline loff_t nanddev_pos_to_offs(struct nand_device *nand, in nanddev_pos_to_offs()
829 static inline unsigned int nanddev_pos_to_row(struct nand_device *nand, in nanddev_pos_to_row()
845 static inline void nanddev_pos_next_target(struct nand_device *nand, in nanddev_pos_next_target()
863 static inline void nanddev_pos_next_lun(struct nand_device *nand, in nanddev_pos_next_lun()
883 static inline void nanddev_pos_next_eraseblock(struct nand_device *nand, in nanddev_pos_next_eraseblock()
902 static inline void nanddev_pos_next_page(struct nand_device *nand, in nanddev_pos_next_page()
921 static inline void nanddev_io_page_iter_init(struct nand_device *nand, in nanddev_io_page_iter_init()
958 static inline void nanddev_io_block_iter_init(struct nand_device *nand, in nanddev_io_block_iter_init()
989 static inline void nanddev_io_iter_next_page(struct nand_device *nand, in nanddev_io_iter_next_page()
1013 static inline void nanddev_io_iter_next_block(struct nand_device *nand, in nanddev_io_iter_next_block()
1035 static inline bool nanddev_io_iter_end(struct nand_device *nand, in nanddev_io_iter_end()
1054 #define nanddev_io_for_each_page(nand, type, start, req, iter) \ argument
1069 #define nanddev_io_for_each_block(nand, type, start, req, iter) \ argument
1082 static inline void *nand_to_ecc_ctx(struct nand_device *nand) in nand_to_ecc_ctx()
1116 static inline unsigned int nanddev_bbt_pos_to_entry(struct nand_device *nand, in nanddev_bbt_pos_to_entry()
1130 static inline bool nanddev_bbt_is_initialized(struct nand_device *nand) in nanddev_bbt_is_initialized()