| /rk3399_rockchip-uboot/include/linux/mtd/ |
| H A D | nand.h | 231 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd() 242 static inline unsigned int nanddev_bits_per_cell(const struct nand_device *nand) in nanddev_bits_per_cell() 253 static inline size_t nanddev_page_size(const struct nand_device *nand) in nanddev_page_size() 265 nanddev_per_page_oobsize(const struct nand_device *nand) in nanddev_per_page_oobsize() 277 nanddev_pages_per_eraseblock(const struct nand_device *nand) in nanddev_pages_per_eraseblock() 288 static inline size_t nanddev_eraseblock_size(const struct nand_device *nand) in nanddev_eraseblock_size() 300 nanddev_eraseblocks_per_lun(const struct nand_device *nand) in nanddev_eraseblocks_per_lun() 311 static inline u64 nanddev_target_size(const struct nand_device *nand) in nanddev_target_size() 325 static inline unsigned int nanddev_ntargets(const struct nand_device *nand) in nanddev_ntargets() 336 static inline unsigned int nanddev_neraseblocks(const struct nand_device *nand) in nanddev_neraseblocks() [all …]
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/ |
| H A D | core.c | 24 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() 157 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_erase() local 189 int nanddev_init(struct nand_device *nand, const struct nand_ops *ops, in nanddev_init() 234 void nanddev_cleanup(struct nand_device *nand) in nanddev_cleanup()
|
| H A D | bbt.c | 84 static u32 bbt_nand_isbad_bypass(struct nand_device *nand, u32 block) in bbt_nand_isbad_bypass() 106 static int nanddev_read_bbt(struct nand_device *nand, u32 block, bool update) in nanddev_read_bbt() 218 static int nanddev_write_bbt(struct nand_device *nand, u32 block) in nanddev_write_bbt() 296 static __maybe_unused int nanddev_bbt_format(struct nand_device *nand) in nanddev_bbt_format() 338 static int nanddev_scan_bbt(struct nand_device *nand) in nanddev_scan_bbt() 393 int nanddev_bbt_init(struct nand_device *nand) in nanddev_bbt_init() 415 void nanddev_bbt_cleanup(struct nand_device *nand) in nanddev_bbt_cleanup() 430 int nanddev_bbt_update(struct nand_device *nand) in nanddev_bbt_update() 513 int nanddev_bbt_get_block_status(const struct nand_device *nand, in nanddev_bbt_get_block_status() 552 int nanddev_bbt_set_block_status(struct nand_device *nand, unsigned int entry, in nanddev_bbt_set_block_status()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/spi/ |
| H A D | core.c | 37 struct nand_device *nand = spinand_to_nand(spinand); in spinand_cache_op_adjust_colum() local 78 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg() local 90 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg() local 144 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target() local 168 struct nand_device *nand = spinand_to_nand(spinand); in spinand_init_cfg_cache() local 231 struct nand_device *nand = spinand_to_nand(spinand); in spinand_load_page_op() local 242 struct nand_device *nand = spinand_to_nand(spinand); in spinand_read_from_cache_op() local 322 struct nand_device *nand = spinand_to_nand(spinand); in spinand_write_to_cache_op() local 414 struct nand_device *nand = spinand_to_nand(spinand); in spinand_program_op() local 424 struct nand_device *nand = &spinand->base; in spinand_erase_op() local [all …]
|
| H A D | unim.c | 128 struct nand_device *nand = spinand_to_nand(spinand); in tx25g01_ecc_get_status() local 153 struct nand_device *nand = spinand_to_nand(spinand); in um19axxisw_ecc_ecc_get_status() local 175 struct nand_device *nand = spinand_to_nand(spinand); in um19a9xisw_ecc_get_status() local
|
| H A D | fmsh.c | 99 struct nand_device *nand = spinand_to_nand(spinand); in fm25s01bi3_ecc_ecc_get_status() local 153 struct nand_device *nand = spinand_to_nand(spinand); in fm25g0xd_ecc_get_status() local
|
| H A D | winbond.c | 122 struct nand_device *nand = spinand_to_nand(spinand); in w25n02kv_ecc_get_status() local 289 struct nand_device *nand = spinand_to_nand(spinand); in winbond_spinand_init() local
|
| H A D | xincun.c | 67 struct nand_device *nand = spinand_to_nand(spinand); in xcsp2aapk_ecc_get_status() local
|
| H A D | jsc.c | 75 struct nand_device *nand = spinand_to_nand(spinand); in js28u1gqscahg_ecc_get_status() local
|
| H A D | kingston.c | 73 struct nand_device *nand = spinand_to_nand(spinand); in spi004_sdeg_ecc_get_status() local
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | mxs_nand.c | 268 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_cmd_ctrl() local 362 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_select_chip() local 409 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_read_buf() local 493 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_write_buf() local 554 static int mxs_nand_ecc_read_page(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_read_page() 706 struct nand_chip *nand, const uint8_t *buf, in mxs_nand_ecc_write_page() 882 static int mxs_nand_ecc_read_oob(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_read_oob() 917 static int mxs_nand_ecc_write_oob(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_write_oob() 970 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_set_geometry() local 1000 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_setup_ecc() local [all …]
|
| H A D | sunxi_nand.c | 238 struct nand_chip nand; member 251 static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand) in to_sunxi_nand() 382 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_dev_ready() local 420 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_select_chip() local 465 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_read_buf() local 498 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_write_buf() local 539 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_cmd_ctrl() local 706 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_randomizer_config() local 722 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_randomizer_enable() local 734 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_randomizer_disable() local [all …]
|
| H A D | nand_plat.c | 48 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| H A D | kb9202_nand.c | 94 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | armada-375-db.dts | 132 nand: nand@d0000 { label
|
| H A D | tegra20.dtsi | 379 nand: nand-controller@70008000 { label
|
| /rk3399_rockchip-uboot/board/xes/common/ |
| H A D | actl_nand.c | 42 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| /rk3399_rockchip-uboot/board/spear/spear600/ |
| H A D | spear600.c | 37 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
|
| /rk3399_rockchip-uboot/board/spear/spear300/ |
| H A D | spear300.c | 37 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
|
| /rk3399_rockchip-uboot/board/spear/spear310/ |
| H A D | spear310.c | 38 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
|
| /rk3399_rockchip-uboot/board/freescale/m5329evb/ |
| H A D | nand.c | 52 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| /rk3399_rockchip-uboot/board/freescale/m5373evb/ |
| H A D | nand.c | 53 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| /rk3399_rockchip-uboot/board/cssi/MCR3000/ |
| H A D | nand.c | 51 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| /rk3399_rockchip-uboot/board/spear/spear320/ |
| H A D | spear320.c | 48 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
|
| /rk3399_rockchip-uboot/board/spear/x600/ |
| H A D | x600.c | 66 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
|