Lines Matching refs:nand_pos
77 struct nand_pos { struct
114 struct nand_pos pos;
238 int (*erase)(struct nand_device *nand, const struct nand_pos *pos);
239 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos);
240 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos);
642 struct nand_pos *pos) in nanddev_offs_to_pos()
666 static inline int nanddev_pos_cmp(const struct nand_pos *a, in nanddev_pos_cmp()
667 const struct nand_pos *b) in nanddev_pos_cmp()
696 const struct nand_pos *pos) in nanddev_pos_to_offs()
721 const struct nand_pos *pos) in nanddev_pos_to_row()
737 struct nand_pos *pos) in nanddev_pos_next_target()
755 struct nand_pos *pos) in nanddev_pos_next_lun()
775 struct nand_pos *pos) in nanddev_pos_next_eraseblock()
794 struct nand_pos *pos) in nanddev_pos_next_page()
894 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos);
895 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos);
896 int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos);
897 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos);
929 const struct nand_pos *pos) in nanddev_bbt_pos_to_entry()