Home
last modified time | relevance | path

Searched refs:nand_pos (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/include/linux/mtd/
Dnand.h77 struct nand_pos { struct
114 struct nand_pos pos;
226 int (*erase)(struct nand_device *nand, const struct nand_pos *pos);
227 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos);
228 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos);
748 struct nand_pos *pos) in nanddev_offs_to_pos()
772 static inline int nanddev_pos_cmp(const struct nand_pos *a, in nanddev_pos_cmp()
773 const struct nand_pos *b) in nanddev_pos_cmp()
802 const struct nand_pos *pos) in nanddev_pos_to_offs()
827 const struct nand_pos *pos) in nanddev_pos_to_row()
[all …]
/linux-6.1.9/drivers/mtd/nand/
Dcore.c22 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad()
64 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad()
105 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isreserved()
129 int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos) in nanddev_erase()
159 struct nand_pos pos, last; in nanddev_mtd_erase()
195 struct nand_pos pos, end; in nanddev_mtd_max_bad_blocks()
/linux-6.1.9/drivers/mtd/nand/spi/
Dcore.c490 const struct nand_pos *pos) in spinand_erase_op()
724 static bool spinand_isbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_isbad()
748 struct nand_pos pos; in spinand_mtd_block_isbad()
759 static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_markbad()
787 struct nand_pos pos; in spinand_mtd_block_markbad()
798 static int spinand_erase(struct nand_device *nand, const struct nand_pos *pos) in spinand_erase()
844 struct nand_pos pos; in spinand_mtd_block_isreserved()
/linux-6.1.9/drivers/mtd/nand/raw/
Dnand_base.c6010 static int rawnand_erase(struct nand_device *nand, const struct nand_pos *pos) in rawnand_erase()
6027 const struct nand_pos *pos) in rawnand_markbad()
6035 static bool rawnand_isbad(struct nand_device *nand, const struct nand_pos *pos) in rawnand_isbad()