Home
last modified time | relevance | path

Searched defs:nand (Results 1 – 25 of 64) sorted by relevance

123

/rk3399_rockchip-uboot/include/linux/mtd/
H A Dnand.h231 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 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()
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 Dbbt.c84 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 Dcore.c37 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 Dunim.c128 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 Dfmsh.c99 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 Dwinbond.c122 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 Dxincun.c67 struct nand_device *nand = spinand_to_nand(spinand); in xcsp2aapk_ecc_get_status() local
H A Djsc.c75 struct nand_device *nand = spinand_to_nand(spinand); in js28u1gqscahg_ecc_get_status() local
H A Dkingston.c73 struct nand_device *nand = spinand_to_nand(spinand); in spi004_sdeg_ecc_get_status() local
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dmxs_nand.c268 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 Dsunxi_nand.c238 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 Dnand_plat.c48 int board_nand_init(struct nand_chip *nand) in board_nand_init()
H A Dkb9202_nand.c94 int board_nand_init(struct nand_chip *nand) in board_nand_init()
/rk3399_rockchip-uboot/arch/arm/dts/
H A Darmada-375-db.dts132 nand: nand@d0000 { label
H A Dtegra20.dtsi379 nand: nand-controller@70008000 { label
/rk3399_rockchip-uboot/board/xes/common/
H A Dactl_nand.c42 int board_nand_init(struct nand_chip *nand) in board_nand_init()
/rk3399_rockchip-uboot/board/spear/spear600/
H A Dspear600.c37 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
/rk3399_rockchip-uboot/board/spear/spear300/
H A Dspear300.c37 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
/rk3399_rockchip-uboot/board/spear/spear310/
H A Dspear310.c38 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
/rk3399_rockchip-uboot/board/freescale/m5329evb/
H A Dnand.c52 int board_nand_init(struct nand_chip *nand) in board_nand_init()
/rk3399_rockchip-uboot/board/freescale/m5373evb/
H A Dnand.c53 int board_nand_init(struct nand_chip *nand) in board_nand_init()
/rk3399_rockchip-uboot/board/cssi/MCR3000/
H A Dnand.c51 int board_nand_init(struct nand_chip *nand) in board_nand_init()
/rk3399_rockchip-uboot/board/spear/spear320/
H A Dspear320.c48 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
/rk3399_rockchip-uboot/board/spear/x600/
H A Dx600.c66 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local

123