Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/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 …]
/rk3399_rockchip-uboot/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.c87 struct nand_pos pos; in bbt_nand_isbad_bypass()
230 struct nand_pos pos; in nanddev_write_bbt()
300 struct nand_pos pos; in nanddev_bbt_format()
433 struct nand_pos pos; in nanddev_bbt_update()
/rk3399_rockchip-uboot/drivers/mtd/nand/spi/
H A Dcore.c422 const struct nand_pos *pos) in spinand_erase_op()
696 static bool spinand_isbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_isbad()
722 struct nand_pos pos; in spinand_mtd_block_isbad()
736 static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos) in spinand_markbad()
766 struct nand_pos pos; in spinand_mtd_block_markbad()
780 static int spinand_erase(struct nand_device *nand, const struct nand_pos *pos) in spinand_erase()
830 struct nand_pos pos; in spinand_mtd_block_isreserved()