Lines Matching refs:nand_pos
72 struct nand_pos { struct
97 struct nand_pos pos; argument
163 int (*erase)(struct nand_device *nand, const struct nand_pos *pos);
164 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos);
165 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos);
438 struct nand_pos *pos) in nanddev_offs_to_pos()
462 static inline int nanddev_pos_cmp(const struct nand_pos *a, in nanddev_pos_cmp()
463 const struct nand_pos *b) in nanddev_pos_cmp()
492 const struct nand_pos *pos) in nanddev_pos_to_offs()
517 const struct nand_pos *pos) in nanddev_pos_to_row()
533 struct nand_pos *pos) in nanddev_pos_next_target()
551 struct nand_pos *pos) in nanddev_pos_next_lun()
571 struct nand_pos *pos) in nanddev_pos_next_eraseblock()
590 struct nand_pos *pos) in nanddev_pos_next_page()
688 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos);
689 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos);
690 int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos);
691 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos);
723 const struct nand_pos *pos) in nanddev_bbt_pos_to_entry()