Home
last modified time | relevance | path

Searched refs:get_nand_dev_by_index (Results 1 – 25 of 30) sorted by relevance

12

/external/u-boot/drivers/mtd/nand/
Dnand.c30 struct mtd_info *get_nand_dev_by_index(int dev) in get_nand_dev_by_index() function
44 if (mtd && get_nand_dev_by_index(i) == mtd) in nand_mtd_to_devnum()
109 struct mtd_info *mtd = get_nand_dev_by_index(i); in create_mtd_concat()
170 board_nand_select_device(mtd_to_nand(get_nand_dev_by_index(nand_curr_device)), in nand_init()
Dfsmc_nand.c411 mtd = get_nand_dev_by_index(nand_curr_device); in fsmc_nand_switch_ecc()
/external/u-boot/cmd/
Dnand.c118 struct mtd_info *mtd = get_nand_dev_by_index(dev); in set_dev()
191 struct mtd_info *mtd = get_nand_dev_by_index(0); in do_nand_env_oob()
216 mtd = get_nand_dev_by_index(idx); in do_nand_env_oob()
290 mtd = get_nand_dev_by_index(idx); in nand_print_and_set_info()
357 struct mtd_info *mtd = get_nand_dev_by_index(dev); in adjust_size_for_badblocks()
439 mtd = get_nand_dev_by_index(dev); in do_nand()
508 mtd = get_nand_dev_by_index(dev); in do_nand()
577 mtd = get_nand_dev_by_index(dev); in do_nand()
606 mtd = get_nand_dev_by_index(dev); in do_nand()
772 mtd = get_nand_dev_by_index(dev); in do_nand()
[all …]
Djffs2.c168 struct mtd_info *mtd = get_nand_dev_by_index(num); in mtd_device_validate()
247 mtd = get_nand_dev_by_index(id->num); in get_part_sector_size_nand()
Dbootm.c467 mtd = get_nand_dev_by_index(nand_dev); in do_imls_nand()
/external/u-boot/env/
Dnand.c134 mtd = get_nand_dev_by_index(0); in writeenv()
170 mtd = get_nand_dev_by_index(0); in erase_and_write_env()
255 mtd = get_nand_dev_by_index(0); in readenv()
361 struct mtd_info *mtd = get_nand_dev_by_index(0); in env_nand_load()
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dppa.c167 ret = nand_read(get_nand_dev_by_index(0), in ppa_init()
191 ret = nand_read(get_nand_dev_by_index(0), in ppa_init()
214 ret = nand_read(get_nand_dev_by_index(0), in ppa_init()
/external/u-boot/board/toradex/common/
Dtdx-cfg-block.c154 return nand_read_skip_bad(get_nand_dev_by_index(0), in read_tdx_cfg_block_from_nand()
165 return nand_write_skip_bad(get_nand_dev_by_index(0), in write_tdx_cfg_block_to_nand()
430 get_nand_dev_by_index(0)->erasesize); in do_cfgblock_create()
/external/u-boot/drivers/dfu/
Ddfu_nand.c39 mtd = get_nand_dev_by_index(nand_curr_device); in nand_block_op()
147 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in dfu_flush_medium_nand()
/external/u-boot/board/atmel/common/
Dvideo_display.c45 nand_size += get_nand_dev_by_index(i)->size; in at91_video_show_board_info()
/external/u-boot/board/toradex/colibri_t20/
Dcolibri_t20.c71 (get_nand_dev_by_index(0)->erasesize >> 10 == 512) ? in checkboard()
/external/u-boot/board/atmel/at91sam9rlek/
Dat91sam9rlek.c151 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/external/u-boot/include/
Dnand.h153 struct mtd_info *get_nand_dev_by_index(int dev);
/external/u-boot/board/atmel/at91sam9263ek/
Dat91sam9263ek.c162 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/external/u-boot/board/logicpd/omap3som/
Domap3logic.c241 mtd = get_nand_dev_by_index(dev); in unlock_nand()
/external/u-boot/board/atmel/at91sam9m10g45ek/
Dat91sam9m10g45ek.c238 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/external/u-boot/board/ronetix/pm9261/
Dpm9261.c196 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/external/u-boot/board/atmel/at91sam9n12ek/
Dat91sam9n12ek.c126 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/external/u-boot/drivers/fastboot/
Dfb_nand.c62 *mtd = get_nand_dev_by_index(dev->id->num); in fb_nand_lookup()
/external/u-boot/board/atmel/at91sam9261ek/
Dat91sam9261ek.c216 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/external/u-boot/board/ronetix/pm9263/
Dpm9263.c295 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/external/u-boot/drivers/net/phy/
Dcortina.c143 ret = nand_read(get_nand_dev_by_index(0), in cs4340_upload_firmware()
/external/u-boot/common/
Dsplash_source.c49 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in splash_nand_read_raw()
/external/u-boot/fs/yaffs2/
Dyaffs_uboot_glue.c169 mtd = get_nand_dev_by_index(flash_dev); in cmd_yaffs_devconfig()
/external/u-boot/drivers/net/fm/
Dfm.c359 rc = nand_read(get_nand_dev_by_index(0), in fm_init_common()

12