Home
last modified time | relevance | path

Searched refs:nand_pos (Results 1 – 2 of 2) 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);
753 struct nand_pos *pos) in nanddev_offs_to_pos()
777 static inline int nanddev_pos_cmp(const struct nand_pos *a, in nanddev_pos_cmp()
778 const struct nand_pos *b) in nanddev_pos_cmp()
807 const struct nand_pos *pos) in nanddev_pos_to_offs()
832 const struct nand_pos *pos) in nanddev_pos_to_row()
[all …]
/linux/drivers/mtd/nand/spi/
H A Dcore.c658 const struct nand_pos *pos) in spinand_erase_op()
1008 struct nand_pos start_pos, end_pos; in spinand_use_cont_read()
1096 static bool spinand_isbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_isbad()
1128 struct nand_pos pos; in spinand_mtd_block_isbad()
1139 static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_markbad()
1170 struct nand_pos pos; in spinand_mtd_block_markbad()
1181 static int spinand_erase(struct nand_device *nand, const struct nand_pos *pos) in spinand_erase()
1227 struct nand_pos pos; in spinand_mtd_block_isreserved()