/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand.c | 30 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 D | fsmc_nand.c | 411 mtd = get_nand_dev_by_index(nand_curr_device); in fsmc_nand_switch_ecc()
|
/openbmc/u-boot/cmd/ |
H A D | nand.c | 118 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 D | jffs2.c | 168 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 D | bootm.c | 470 mtd = get_nand_dev_by_index(nand_dev); in do_imls_nand()
|
/openbmc/u-boot/env/ |
H A D | nand.c | 132 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 D | ppa.c | 166 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 D | tdx-cfg-block.c | 159 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 D | dfu_nand.c | 39 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 D | video_display.c | 46 nand_size += get_nand_dev_by_index(i)->size; in at91_video_show_board_info()
|
/openbmc/u-boot/board/toradex/colibri_t20/ |
H A D | colibri_t20.c | 71 (get_nand_dev_by_index(0)->erasesize >> 10 == 512) ? in checkboard()
|
/openbmc/u-boot/board/logicpd/omap3som/ |
H A D | omap3logic.c | 200 mtd = get_nand_dev_by_index(dev); in unlock_nand()
|
/openbmc/u-boot/include/ |
H A D | nand.h | 153 struct mtd_info *get_nand_dev_by_index(int dev);
|
/openbmc/u-boot/board/atmel/at91sam9rlek/ |
H A D | at91sam9rlek.c | 151 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
|
/openbmc/u-boot/board/atmel/at91sam9263ek/ |
H A D | at91sam9263ek.c | 162 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
|
/openbmc/u-boot/drivers/net/fm/ |
H A D | fm.c | 367 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 D | at91sam9n12ek.c | 126 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
|
/openbmc/u-boot/board/atmel/at91sam9m10g45ek/ |
H A D | at91sam9m10g45ek.c | 238 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
|
/openbmc/u-boot/board/ronetix/pm9261/ |
H A D | pm9261.c | 196 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
|
/openbmc/u-boot/drivers/fastboot/ |
H A D | fb_nand.c | 62 *mtd = get_nand_dev_by_index(dev->id->num); in fb_nand_lookup()
|
/openbmc/u-boot/board/atmel/at91sam9261ek/ |
H A D | at91sam9261ek.c | 216 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
|
/openbmc/u-boot/board/ronetix/pm9263/ |
H A D | pm9263.c | 295 nand_size += get_nand_dev_by_index(i)->size; in lcd_show_board_info()
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | cortina.c | 143 ret = nand_read(get_nand_dev_by_index(0), in cs4340_upload_firmware()
|
/openbmc/u-boot/common/ |
H A D | splash_source.c | 49 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in splash_nand_read_raw()
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_uboot_glue.c | 169 mtd = get_nand_dev_by_index(flash_dev); in cmd_yaffs_devconfig()
|