Searched refs:nand_pos (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/include/linux/mtd/ |
D | nand.h | 72 struct nand_pos { struct 97 struct nand_pos pos; argument 152 int (*erase)(struct nand_device *nand, const struct nand_pos *pos); 153 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos); 154 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos); 428 struct nand_pos *pos) in nanddev_offs_to_pos() 452 static inline int nanddev_pos_cmp(const struct nand_pos *a, in nanddev_pos_cmp() 453 const struct nand_pos *b) in nanddev_pos_cmp() 482 const struct nand_pos *pos) in nanddev_pos_to_offs() 507 const struct nand_pos *pos) in nanddev_pos_to_row() [all …]
|
/Linux-v4.19/drivers/mtd/nand/ |
D | core.c | 22 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad() 61 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad() 102 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isreserved() 126 int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos) in nanddev_erase() 156 struct nand_pos pos, last; in nanddev_mtd_erase()
|
/Linux-v4.19/drivers/mtd/nand/spi/ |
D | core.c | 397 const struct nand_pos *pos) in spinand_erase_op() 631 static bool spinand_isbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_isbad() 655 struct nand_pos pos; in spinand_mtd_block_isbad() 666 static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_markbad() 696 struct nand_pos pos; in spinand_mtd_block_markbad() 707 static int spinand_erase(struct nand_device *nand, const struct nand_pos *pos) in spinand_erase() 749 struct nand_pos pos; in spinand_mtd_block_isreserved()
|