Lines Matching defs:nand
223 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd()
234 static inline unsigned int nanddev_bits_per_cell(const struct nand_device *nand) in nanddev_bits_per_cell()
245 static inline size_t nanddev_page_size(const struct nand_device *nand) in nanddev_page_size()
257 nanddev_per_page_oobsize(const struct nand_device *nand) in nanddev_per_page_oobsize()
269 nanddev_pages_per_eraseblock(const struct nand_device *nand) in nanddev_pages_per_eraseblock()
280 static inline size_t nanddev_eraseblock_size(const struct nand_device *nand) in nanddev_eraseblock_size()
292 nanddev_eraseblocks_per_lun(const struct nand_device *nand) in nanddev_eraseblocks_per_lun()
303 static inline u64 nanddev_target_size(const struct nand_device *nand) in nanddev_target_size()
317 static inline unsigned int nanddev_ntargets(const struct nand_device *nand) in nanddev_ntargets()
328 static inline unsigned int nanddev_neraseblocks(const struct nand_device *nand) in nanddev_neraseblocks()
341 static inline u64 nanddev_size(const struct nand_device *nand) in nanddev_size()
356 nanddev_get_memorg(struct nand_device *nand) in nanddev_get_memorg()
375 static inline int nanddev_register(struct nand_device *nand) in nanddev_register()
390 static inline int nanddev_unregister(struct nand_device *nand) in nanddev_unregister()
403 static inline void nanddev_set_of_node(struct nand_device *nand, in nanddev_set_of_node()
415 static inline const struct device_node *nanddev_get_of_node(struct nand_device *nand) in nanddev_get_of_node()
427 static inline void nanddev_set_ofnode(struct nand_device *nand, ofnode node) in nanddev_set_ofnode()
443 static inline unsigned int nanddev_offs_to_pos(struct nand_device *nand, in nanddev_offs_to_pos()
498 static inline loff_t nanddev_pos_to_offs(struct nand_device *nand, in nanddev_pos_to_offs()
523 static inline unsigned int nanddev_pos_to_row(struct nand_device *nand, in nanddev_pos_to_row()
539 static inline void nanddev_pos_next_target(struct nand_device *nand, in nanddev_pos_next_target()
557 static inline void nanddev_pos_next_lun(struct nand_device *nand, in nanddev_pos_next_lun()
577 static inline void nanddev_pos_next_eraseblock(struct nand_device *nand, in nanddev_pos_next_eraseblock()
596 static inline void nanddev_pos_next_page(struct nand_device *nand, in nanddev_pos_next_page()
615 static inline void nanddev_io_iter_init(struct nand_device *nand, in nanddev_io_iter_init()
644 static inline void nanddev_io_iter_next_page(struct nand_device *nand, in nanddev_io_iter_next_page()
671 static inline bool nanddev_io_iter_end(struct nand_device *nand, in nanddev_io_iter_end()
690 #define nanddev_io_for_each_page(nand, start, req, iter) \ argument
728 static inline unsigned int nanddev_bbt_pos_to_entry(struct nand_device *nand, in nanddev_bbt_pos_to_entry()
742 static inline bool nanddev_bbt_is_initialized(struct nand_device *nand) in nanddev_bbt_is_initialized()