Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/include/linux/mtd/
H A Dnand.h72 struct nand_pos { struct
97 struct nand_pos pos; argument
163 int (*erase)(struct nand_device *nand, const struct nand_pos *pos);
164 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos);
165 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos);
438 struct nand_pos *pos) in nanddev_offs_to_pos()
462 static inline int nanddev_pos_cmp(const struct nand_pos *a, in nanddev_pos_cmp()
463 const struct nand_pos *b) in nanddev_pos_cmp()
492 const struct nand_pos *pos) in nanddev_pos_to_offs()
517 const struct nand_pos *pos) in nanddev_pos_to_row()
[all …]
/OK3568_Linux_fs/kernel/include/linux/mtd/
H A Dnand.h77 struct nand_pos { struct
114 struct nand_pos pos;
238 int (*erase)(struct nand_device *nand, const struct nand_pos *pos);
239 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos);
240 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos);
642 struct nand_pos *pos) in nanddev_offs_to_pos()
666 static inline int nanddev_pos_cmp(const struct nand_pos *a, in nanddev_pos_cmp()
667 const struct nand_pos *b) in nanddev_pos_cmp()
696 const struct nand_pos *pos) in nanddev_pos_to_offs()
721 const struct nand_pos *pos) in nanddev_pos_to_row()
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/nand/
H A Dcore.c22 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()
H A Dbbt_store.c104 struct nand_pos pos; in nanddev_write_bbt()
159 struct nand_pos pos; in nanddev_bbt_format()
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/
H A Dcore.c24 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad()
63 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad()
104 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isreserved()
128 int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos) in nanddev_erase()
158 struct nand_pos pos, last; in nanddev_mtd_erase()
H A Dbbt.c125 struct nand_pos pos; in nanddev_write_bbt()
181 struct nand_pos pos; in nanddev_bbt_format()
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/spi/
H A Dcore.c408 const struct nand_pos *pos) in spinand_erase_op()
658 static bool spinand_isbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_isbad()
684 struct nand_pos pos; in spinand_mtd_block_isbad()
698 static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_markbad()
724 struct nand_pos pos; in spinand_mtd_block_markbad()
738 static int spinand_erase(struct nand_device *nand, const struct nand_pos *pos) in spinand_erase()
788 struct nand_pos pos; in spinand_mtd_block_isreserved()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/spi/
H A Dcore.c456 const struct nand_pos *pos) in spinand_erase_op()
669 static bool spinand_isbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_isbad()
693 struct nand_pos pos; in spinand_mtd_block_isbad()
704 static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_markbad()
732 struct nand_pos pos; in spinand_mtd_block_markbad()
746 static int spinand_erase(struct nand_device *nand, const struct nand_pos *pos) in spinand_erase()
788 struct nand_pos pos; in spinand_mtd_block_isreserved()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dnand_base.c5550 static int rawnand_erase(struct nand_device *nand, const struct nand_pos *pos) in rawnand_erase()
5567 const struct nand_pos *pos) in rawnand_markbad()
5575 static bool rawnand_isbad(struct nand_device *nand, const struct nand_pos *pos) in rawnand_isbad()