| /openbmc/u-boot/include/linux/mtd/ |
| H A D | nand.h | 220 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd() 231 static inline unsigned int nanddev_bits_per_cell(const struct nand_device *nand) in nanddev_bits_per_cell() 242 static inline size_t nanddev_page_size(const struct nand_device *nand) in nanddev_page_size() 254 nanddev_per_page_oobsize(const struct nand_device *nand) in nanddev_per_page_oobsize() 266 nanddev_pages_per_eraseblock(const struct nand_device *nand) in nanddev_pages_per_eraseblock() 277 static inline size_t nanddev_eraseblock_size(const struct nand_device *nand) in nanddev_eraseblock_size() 289 nanddev_eraseblocks_per_lun(const struct nand_device *nand) in nanddev_eraseblocks_per_lun() 300 static inline u64 nanddev_target_size(const struct nand_device *nand) in nanddev_target_size() 314 static inline unsigned int nanddev_ntargets(const struct nand_device *nand) in nanddev_ntargets() 325 static inline unsigned int nanddev_neraseblocks(const struct nand_device *nand) in nanddev_neraseblocks() [all …]
|
| /openbmc/u-boot/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 | 25 int nanddev_bbt_init(struct nand_device *nand) in nanddev_bbt_init() 46 void nanddev_bbt_cleanup(struct nand_device *nand) in nanddev_bbt_cleanup() 61 int nanddev_bbt_update(struct nand_device *nand) in nanddev_bbt_update() 75 int nanddev_bbt_get_block_status(const struct nand_device *nand, in nanddev_bbt_get_block_status() 108 int nanddev_bbt_set_block_status(struct nand_device *nand, unsigned int entry, in nanddev_bbt_set_block_status()
|
| /openbmc/u-boot/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 315 struct nand_device *nand = spinand_to_nand(spinand); in spinand_write_to_cache_op() local 400 struct nand_device *nand = spinand_to_nand(spinand); in spinand_program_op() local 410 struct nand_device *nand = &spinand->base; in spinand_erase_op() local [all …]
|
| H A D | winbond.c | 118 struct nand_device *nand = spinand_to_nand(spinand); in winbond_spinand_init() local
|
| H A D | macronix.c | 66 struct nand_device *nand = spinand_to_nand(spinand); in mx35lf1ge4ab_ecc_get_status() local
|
| /openbmc/u-boot/drivers/mtd/nand/raw/ |
| H A D | mxs_nand.c | 267 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_cmd_ctrl() local 361 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_select_chip() local 408 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_read_buf() local 492 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_write_buf() local 553 static int mxs_nand_ecc_read_page(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_read_page() 705 struct nand_chip *nand, const uint8_t *buf, in mxs_nand_ecc_write_page() 881 static int mxs_nand_ecc_read_oob(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_read_oob() 916 static int mxs_nand_ecc_write_oob(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_write_oob() 969 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_set_geometry() local 999 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_setup_ecc() local [all …]
|
| H A D | sunxi_nand.c | 237 struct nand_chip nand; member 250 static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand) in to_sunxi_nand() 381 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_dev_ready() local 419 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_select_chip() local 464 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_read_buf() local 497 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_write_buf() local 538 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_cmd_ctrl() local 705 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_randomizer_config() local 721 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_randomizer_enable() local 733 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 | 93 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| H A D | arasan_nfc.c | 326 struct arasan_nand_info *nand = nand_get_controller_data(chip); in arasan_nand_read_page() local 460 u32 __iomem *nand = &arasan_nand_base->buf_dataport; in arasan_nand_fill_tx() local 508 struct arasan_nand_info *nand = nand_get_controller_data(chip); in arasan_nand_write_page_hwecc() local 1036 struct arasan_nand_info *nand = nand_get_controller_data(chip); in arasan_nand_cmd_function() local 1091 struct arasan_nand_info *nand = nand_get_controller_data(nand_chip); in arasan_check_ondie() local 1189 struct arasan_nand_info *nand; in arasan_nand_init() local 1269 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
|
| H A D | davinci_nand.c | 57 const u32 *nand = chip->IO_ADDR_R; in nand_davinci_read_buf() local 102 const u32 *nand = chip->IO_ADDR_W; in nand_davinci_write_buf() local 770 void davinci_nand_init(struct nand_chip *nand) in davinci_nand_init()
|
| H A D | fsmc_nand.c | 401 struct nand_chip *nand; in fsmc_nand_switch_ecc() local 441 int fsmc_nand_init(struct nand_chip *nand) in fsmc_nand_init()
|
| H A D | kirkwood_nand.c | 76 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| /openbmc/u-boot/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
|
| /openbmc/u-boot/board/xes/common/ |
| H A D | actl_nand.c | 41 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| /openbmc/u-boot/board/spear/spear310/ |
| H A D | spear310.c | 37 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
|
| /openbmc/u-boot/board/spear/spear300/ |
| H A D | spear300.c | 36 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
|
| /openbmc/u-boot/board/spear/spear600/ |
| H A D | spear600.c | 36 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
|
| /openbmc/u-boot/board/freescale/m5329evb/ |
| H A D | nand.c | 49 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| /openbmc/u-boot/board/cssi/MCR3000/ |
| H A D | nand.c | 50 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| /openbmc/u-boot/board/freescale/m5373evb/ |
| H A D | nand.c | 50 int board_nand_init(struct nand_chip *nand) in board_nand_init()
|
| /openbmc/u-boot/board/spear/spear320/ |
| H A D | spear320.c | 47 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
|
| /openbmc/u-boot/board/spear/x600/ |
| H A D | x600.c | 65 struct nand_chip *nand = &nand_chip[0]; in board_nand_init() local
|