Home
last modified time | relevance | path

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

/linux/include/linux/mtd/
H A Dnand.h77 struct nand_pos { struct
116 struct nand_pos pos;
229 int (*erase)(struct nand_device *nand, const struct nand_pos *pos);
230 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos);
231 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos);
751 struct nand_pos *pos) in nanddev_offs_to_pos()
775 static inline int nanddev_pos_cmp(const struct nand_pos *a, in nanddev_pos_cmp()
776 const struct nand_pos *b) in nanddev_pos_cmp()
805 const struct nand_pos *pos) in nanddev_pos_to_offs()
830 const struct nand_pos *pos) in nanddev_pos_to_row()
[all …]
/linux/drivers/mtd/nand/
H A Dcore.c153 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad()
195 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad()
236 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isreserved()
260 static int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos) in nanddev_erase()
289 struct nand_pos pos, last; in nanddev_mtd_erase()
325 struct nand_pos pos, end; in nanddev_mtd_max_bad_blocks()
/linux/drivers/mtd/nand/spi/
H A Dcore.c617 const struct nand_pos *pos) in spinand_erase_op()
959 struct nand_pos start_pos, end_pos; in spinand_use_cont_read()
1060 static bool spinand_isbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_isbad()
1092 struct nand_pos pos; in spinand_mtd_block_isbad()
1103 static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_markbad()
1134 struct nand_pos pos; in spinand_mtd_block_markbad()
1145 static int spinand_erase(struct nand_device *nand, const struct nand_pos *pos) in spinand_erase()
1191 struct nand_pos pos; in spinand_mtd_block_isreserved()
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c6135 static int rawnand_erase(struct nand_device *nand, const struct nand_pos *pos) in rawnand_erase()
6152 const struct nand_pos *pos) in rawnand_markbad()
6160 static bool rawnand_isbad(struct nand_device *nand, const struct nand_pos *pos) in rawnand_isbad()