Home
last modified time | relevance | path

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

/openbmc/u-boot/include/linux/mtd/
H A Dnand.h72 struct nand_pos { struct
97 struct nand_pos pos; argument
428 struct nand_pos *pos) in nanddev_offs_to_pos()
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()
523 struct nand_pos *pos) in nanddev_pos_next_target()
541 struct nand_pos *pos) in nanddev_pos_next_lun()
561 struct nand_pos *pos) in nanddev_pos_next_eraseblock()
580 struct nand_pos *pos) in nanddev_pos_next_page()
[all …]
/openbmc/linux/include/linux/mtd/
H A Dnand.h77 struct nand_pos { struct
114 struct nand_pos pos;
748 struct nand_pos *pos) in nanddev_offs_to_pos()
773 const struct nand_pos *b) in nanddev_pos_cmp()
802 const struct nand_pos *pos) in nanddev_pos_to_offs()
827 const struct nand_pos *pos) in nanddev_pos_to_row()
843 struct nand_pos *pos) in nanddev_pos_next_target()
861 struct nand_pos *pos) in nanddev_pos_next_lun()
881 struct nand_pos *pos) in nanddev_pos_next_eraseblock()
900 struct nand_pos *pos) in nanddev_pos_next_page()
[all …]
/openbmc/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()
/openbmc/linux/drivers/mtd/nand/
H A Dcore.c22 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad()
64 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad()
105 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isreserved()
129 static 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()
194 struct nand_pos pos, end; in nanddev_mtd_max_bad_blocks()
/openbmc/u-boot/drivers/mtd/nand/spi/
H A Dcore.c408 const struct nand_pos *pos) in spinand_erase_op()
651 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()
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()
796 struct nand_pos pos; in spinand_mtd_block_isreserved()
/openbmc/linux/drivers/mtd/nand/spi/
H A Dcore.c490 const struct nand_pos *pos) in spinand_erase_op()
724 static bool spinand_isbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_isbad()
748 struct nand_pos pos; in spinand_mtd_block_isbad()
759 static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_markbad()
787 struct nand_pos pos; in spinand_mtd_block_markbad()
798 static int spinand_erase(struct nand_device *nand, const struct nand_pos *pos) in spinand_erase()
844 struct nand_pos pos; in spinand_mtd_block_isreserved()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_base.c6230 static int rawnand_erase(struct nand_device *nand, const struct nand_pos *pos) in rawnand_erase()
6247 const struct nand_pos *pos) in rawnand_markbad()
6255 static bool rawnand_isbad(struct nand_device *nand, const struct nand_pos *pos) in rawnand_isbad()