Searched refs:nand_pos (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/include/linux/mtd/ |
| D | nand.h | 75 struct nand_pos { struct 100 struct nand_pos pos; argument 155 int (*erase)(struct nand_device *nand, const struct nand_pos *pos); 156 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos); 157 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos); 456 struct nand_pos *pos) in nanddev_offs_to_pos() 480 static inline int nanddev_pos_cmp(const struct nand_pos *a, in nanddev_pos_cmp() 481 const struct nand_pos *b) in nanddev_pos_cmp() 510 const struct nand_pos *pos) in nanddev_pos_to_offs() 535 const struct nand_pos *pos) in nanddev_pos_to_row() [all …]
|
| /Linux-v5.4/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() 192 struct nand_pos pos, end; in nanddev_mtd_max_bad_blocks()
|
| /Linux-v5.4/drivers/mtd/nand/spi/ |
| D | core.c | 334 const struct nand_pos *pos) in spinand_erase_op() 568 static bool spinand_isbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_isbad() 592 struct nand_pos pos; in spinand_mtd_block_isbad() 603 static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_markbad() 633 struct nand_pos pos; in spinand_mtd_block_markbad() 644 static int spinand_erase(struct nand_device *nand, const struct nand_pos *pos) in spinand_erase() 686 struct nand_pos pos; in spinand_mtd_block_isreserved()
|
| /Linux-v5.4/drivers/mtd/nand/raw/ |
| D | nand_base.c | 5457 static int rawnand_erase(struct nand_device *nand, const struct nand_pos *pos) in rawnand_erase() 5474 const struct nand_pos *pos) in rawnand_markbad() 5482 static bool rawnand_isbad(struct nand_device *nand, const struct nand_pos *pos) in rawnand_isbad()
|