Home
last modified time | relevance | path

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

12

/openbmc/u-boot/drivers/mtd/nand/raw/
H A 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()
H A Dfsmc_nand.c411 mtd = get_nand_dev_by_index(nand_curr_device); in fsmc_nand_switch_ecc()
/openbmc/u-boot/cmd/
H A 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()
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()
958 mtd = get_nand_dev_by_index(dev->id->num); in do_nandboot()
[all …]
H A 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()
H A Dbootm.c470 mtd = get_nand_dev_by_index(nand_dev); in do_imls_nand()
/openbmc/u-boot/env/
H A Dnand.c132 mtd = get_nand_dev_by_index(0); in writeenv()
168 mtd = get_nand_dev_by_index(0); in erase_and_write_env()
253 mtd = get_nand_dev_by_index(0); in readenv()
359 struct mtd_info *mtd = get_nand_dev_by_index(0); in env_nand_load()
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dppa.c166 ret = nand_read(get_nand_dev_by_index(0), in ppa_init()
190 ret = nand_read(get_nand_dev_by_index(0), in ppa_init()
213 ret = nand_read(get_nand_dev_by_index(0), in ppa_init()
/openbmc/u-boot/board/toradex/common/
H A Dtdx-cfg-block.c159 struct mtd_info *mtd = get_nand_dev_by_index(0); in read_tdx_cfg_block_from_nand()
175 return nand_write_skip_bad(get_nand_dev_by_index(0), in write_tdx_cfg_block_to_nand()
440 get_nand_dev_by_index(0)->erasesize); in do_cfgblock_create()
/openbmc/u-boot/drivers/dfu/
H A 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()
/openbmc/u-boot/board/atmel/common/
H A Dvideo_display.c46 nand_size += get_nand_dev_by_index(i)->size; in at91_video_show_board_info()
/openbmc/u-boot/board/toradex/colibri_t20/
H A Dcolibri_t20.c71 (get_nand_dev_by_index(0)->erasesize >> 10 == 512) ? in checkboard()
/openbmc/u-boot/board/logicpd/omap3som/
H A Domap3logic.c200 mtd = get_nand_dev_by_index(dev); in unlock_nand()
/openbmc/u-boot/include/
H A Dnand.h153 struct mtd_info *get_nand_dev_by_index(int dev);
/openbmc/u-boot/board/atmel/at91sam9rlek/
H A Dat91sam9rlek.c151 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/openbmc/u-boot/board/atmel/at91sam9263ek/
H A Dat91sam9263ek.c162 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/openbmc/u-boot/drivers/net/fm/
H A Dfm.c367 rc = nand_read(get_nand_dev_by_index(0), in fm_init_common()
455 rc = nand_read(get_nand_dev_by_index(0), in fm_init_common()
/openbmc/u-boot/board/atmel/at91sam9n12ek/
H A Dat91sam9n12ek.c126 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/openbmc/u-boot/board/atmel/at91sam9m10g45ek/
H A Dat91sam9m10g45ek.c238 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/openbmc/u-boot/board/ronetix/pm9261/
H A Dpm9261.c196 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/openbmc/u-boot/drivers/fastboot/
H A Dfb_nand.c62 *mtd = get_nand_dev_by_index(dev->id->num); in fb_nand_lookup()
/openbmc/u-boot/board/atmel/at91sam9261ek/
H A Dat91sam9261ek.c216 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/openbmc/u-boot/board/ronetix/pm9263/
H A Dpm9263.c295 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
/openbmc/u-boot/drivers/net/phy/
H A Dcortina.c143 ret = nand_read(get_nand_dev_by_index(0), in cs4340_upload_firmware()
/openbmc/u-boot/common/
H A Dsplash_source.c49 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in splash_nand_read_raw()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_uboot_glue.c169 mtd = get_nand_dev_by_index(flash_dev); in cmd_yaffs_devconfig()

12