Home
last modified time | relevance | path

Searched refs:onenand_chip (Results 1 – 19 of 19) sorted by relevance

/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_uboot.c22 struct onenand_chip onenand_chip; variable
29 memset(&onenand_chip, 0, sizeof(struct onenand_chip)); in onenand_init()
31 onenand_mtd.priv = &onenand_chip; in onenand_init()
37 onenand_chip.base = (void *) CONFIG_SYS_ONENAND_BASE; in onenand_init()
42 if (onenand_chip.device_id & DEVICE_IS_FLEXONENAND) in onenand_init()
55 print_size(onenand_chip.chipsize, "\n"); in onenand_init()
H A Donenand_base.c152 static int onenand_block_address(struct onenand_chip *this, int block) in onenand_block_address()
169 static int onenand_bufferram_address(struct onenand_chip *this, int block) in onenand_bufferram_address()
229 static unsigned int flexonenand_block(struct onenand_chip *this, loff_t addr) in flexonenand_block()
248 unsigned int onenand_block(struct onenand_chip *this, loff_t addr) in onenand_block()
262 static loff_t flexonenand_addr(struct onenand_chip *this, int block) in flexonenand_addr()
281 loff_t onenand_addr(struct onenand_chip *this, int block) in onenand_addr()
328 struct onenand_chip *this = mtd->priv; in onenand_command()
440 static int onenand_read_ecc(struct onenand_chip *this) in onenand_read_ecc()
470 struct onenand_chip *this = mtd->priv; in onenand_wait()
517 struct onenand_chip *this = mtd->priv; in onenand_bufferram_offset()
[all …]
H A Donenand_bbt.c65 struct onenand_chip *this = mtd->priv; in create_bbt()
154 struct onenand_chip *this = mtd->priv; in onenand_isbad_bbt()
194 struct onenand_chip *this = mtd->priv; in onenand_scan_bbt()
248 struct onenand_chip *this = mtd->priv; in onenand_default_bbt()
H A Dsamsung.c118 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_readw()
167 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_writew()
273 struct onenand_chip *this = mtd->priv; in s3c_onenand_command()
376 struct onenand_chip *this = mtd->priv; in s3c_get_bufferram()
449 struct onenand_chip *this = mtd->priv; in s3c_onenand_check_lock_status()
467 struct onenand_chip *this = mtd->priv; in s3c_onenand_do_lock_cmd()
488 struct onenand_chip *this = mtd->priv; in s3c_onenand_unlock_all()
530 struct onenand_chip *this = mtd->priv; in s3c_onenand_init()
/openbmc/u-boot/include/
H A Donenand_uboot.h23 struct onenand_chip;
26 extern struct onenand_chip onenand_chip;
42 extern unsigned onenand_block(struct onenand_chip *this, loff_t addr);
44 extern loff_t onenand_addr(struct onenand_chip *this, int block);
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c224 static int onenand_block_address(struct onenand_chip *this, int block) in onenand_block_address()
241 static int onenand_bufferram_address(struct onenand_chip *this, int block) in onenand_bufferram_address()
301 static unsigned flexonenand_block(struct onenand_chip *this, loff_t addr) in flexonenand_block()
320 inline unsigned onenand_block(struct onenand_chip *this, loff_t addr) in onenand_block()
334 static loff_t flexonenand_addr(struct onenand_chip *this, int block) in flexonenand_addr()
352 loff_t onenand_addr(struct onenand_chip *this, int block) in onenand_addr()
400 struct onenand_chip *this = mtd->priv; in onenand_command()
524 static inline int onenand_read_ecc(struct onenand_chip *this) in onenand_read_ecc()
555 struct onenand_chip * this = mtd->priv; in onenand_wait()
635 struct onenand_chip *this = data; in onenand_interrupt()
[all …]
H A Donenand_bbt.c58 struct onenand_chip *this = mtd->priv; in create_bbt()
133 struct onenand_chip *this = mtd->priv; in onenand_memory_bbt()
146 struct onenand_chip *this = mtd->priv; in onenand_isbad_bbt()
183 struct onenand_chip *this = mtd->priv; in onenand_scan_bbt()
231 struct onenand_chip *this = mtd->priv; in onenand_default_bbt()
H A Donenand_samsung.c218 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_readw()
268 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_writew()
379 struct onenand_chip *this = mtd->priv; in s3c_onenand_command()
477 struct onenand_chip *this = mtd->priv; in s3c_get_bufferram()
619 struct onenand_chip *this = mtd->priv; in s5pc110_read_bufferram()
729 struct onenand_chip *this = mtd->priv; in s3c_onenand_check_lock_status()
749 struct onenand_chip *this = mtd->priv; in s3c_onenand_do_lock_cmd()
774 struct onenand_chip *this = mtd->priv; in s3c_unlock_all()
803 struct onenand_chip *this = mtd->priv; in s3c_onenand_setup()
837 struct onenand_chip *this; in s3c_onenand_probe()
[all …]
H A Donenand_omap2.c39 struct onenand_chip onenand;
145 struct onenand_chip *this = mtd->priv; in omap2_onenand_wait()
312 struct onenand_chip *this = mtd->priv; in omap2_onenand_bufferram_offset()
365 struct onenand_chip *this = mtd->priv; in omap2_onenand_read_bufferram()
413 struct onenand_chip *this = mtd->priv; in omap2_onenand_write_bufferram()
H A Dgeneric.c29 struct onenand_chip onenand;
/openbmc/u-boot/env/
H A Donenand.c32 struct onenand_chip *this = &onenand_chip; in env_onenand_load()
71 struct onenand_chip *this = &onenand_chip; in env_onenand_save()
/openbmc/u-boot/board/micronas/vct/
H A Debi_onenand.c126 struct onenand_chip *this = mtd->priv; in onenand_bufferram_offset()
142 struct onenand_chip *this = mtd->priv; in ebi_read_bufferram()
160 struct onenand_chip *this = mtd->priv; in ebi_write_bufferram()
173 struct onenand_chip *chip = mtd->priv; in onenand_board_init()
/openbmc/linux/include/linux/mtd/
H A Donenand.h83 struct onenand_chip { struct
226 unsigned onenand_block(struct onenand_chip *this, loff_t addr);
227 loff_t onenand_addr(struct onenand_chip *this, int block);
/openbmc/u-boot/include/linux/mtd/
H A Donenand.h71 struct onenand_chip { struct
178 unsigned int onenand_block(struct onenand_chip *this, loff_t addr);
/openbmc/u-boot/board/samsung/universal_c210/
H A Donenand.c14 struct onenand_chip *this = mtd->priv; in onenand_board_init()
/openbmc/u-boot/board/samsung/goni/
H A Donenand.c15 struct onenand_chip *this = mtd->priv; in onenand_board_init()
/openbmc/u-boot/cmd/
H A Donenand.c64 struct onenand_chip *this = mtd->priv; in onenand_block_read()
135 struct onenand_chip *this = mtd->priv; in onenand_block_write()
188 struct onenand_chip *this = mtd->priv; in onenand_block_erase()
221 struct onenand_chip *this = mtd->priv; in onenand_block_test()
/openbmc/u-boot/board/samsung/smdkc100/
H A Donenand.c20 struct onenand_chip *this = mtd->priv; in onenand_board_init()
/openbmc/u-boot/board/isee/igep00x0/
H A Digep00x0.c79 struct onenand_chip *this = mtd->priv; in onenand_board_init()