| /u-boot/arch/arm/mach-snapdragon/ |
| A D | misc.c | 31 struct mmc *mmc_dev; in msm_board_serial() local 33 mmc_dev = find_mmc_device(0); in msm_board_serial() 34 if (!mmc_dev) in msm_board_serial() 37 if (mmc_init(mmc_dev)) in msm_board_serial() 40 return UNSTUFF_BITS(mmc_dev->cid, 16, 32); in msm_board_serial()
|
| /u-boot/test/py/tests/test_android/ |
| A D | test_avb.py | 22 mmc_dev = 1 variable 34 response = u_boot_console.run_command('avb init %s' %str(mmc_dev)) 48 response = u_boot_console.run_command('avb init %s' % str(mmc_dev)) 52 str(mmc_dev)) 80 response = u_boot_console.run_command('avb init %s' % str(mmc_dev)) 92 response = u_boot_console.run_command('avb init %s' % str(mmc_dev)) 107 str(mmc_dev)) 113 response = u_boot_console.run_command('avb init %s' % str(mmc_dev)) 132 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
|
| /u-boot/test/py/tests/ |
| A D | test_ut.py | 22 def setup_image(cons, mmc_dev, part_type, second_part=False): argument 72 def copy_prepared_image(cons, mmc_dev, fname): argument 91 mmc_dev = 4 92 fname, mnt = setup_image(cons, mmc_dev, 0x83) 177 ''' % (mmc_dev) 221 copy_prepared_image(cons, mmc_dev, fname) 225 mmc_dev = 1 226 fname, mnt = setup_image(cons, mmc_dev, 0xc, second_part=True) 282 copy_prepared_image(cons, mmc_dev, fname)
|
| A D | test_mmc_rd.py | 108 def mmc_dev(u_boot_console, is_emmc, devid, partid): function 153 mmc_dev(u_boot_console, is_emmc, devid, partid) 174 mmc_dev(u_boot_console, is_emmc, devid, partid) 204 mmc_dev(u_boot_console, is_emmc, devid, partid) 248 mmc_dev(u_boot_console, is_emmc, devid, partid)
|
| /u-boot/arch/arm/mach-k3/ |
| A D | j721e_init.c | 145 int ret, rescan, mmc_dev = -1; in do_dt_magic() local 172 mmc_dev = 0; in do_dt_magic() 176 mmc_dev = 1; in do_dt_magic() 180 if (mmc_dev > 0 && !is_rom_loaded_sysfw(&bootdata)) { in do_dt_magic() 181 ret = mmc_init_device(mmc_dev); in do_dt_magic() 183 mmc = find_mmc_device(mmc_dev); in do_dt_magic()
|
| A D | j721s2_init.c | 242 int ret, rescan, mmc_dev = -1; in do_dt_magic() local 268 mmc_dev = 0; in do_dt_magic() 272 mmc_dev = 1; in do_dt_magic() 276 if (mmc_dev > 0 && !check_rom_loaded_sysfw()) { in do_dt_magic() 277 ret = mmc_init_device(mmc_dev); in do_dt_magic() 279 mmc = find_mmc_device(mmc_dev); in do_dt_magic()
|
| /u-boot/common/spl/ |
| A D | spl_mmc.c | 155 int err, mmc_dev; in spl_mmc_find_device() local 157 mmc_dev = spl_mmc_get_device_index(boot_device); in spl_mmc_find_device() 158 if (mmc_dev < 0) in spl_mmc_find_device() 159 return mmc_dev; in spl_mmc_find_device() 162 err = mmc_init_device(mmc_dev); in spl_mmc_find_device() 172 *mmcp = find_mmc_device(mmc_dev); in spl_mmc_find_device() 177 mmc_dev, err); in spl_mmc_find_device() 414 int mmc_dev; in spl_mmc_load() local 417 mmc_dev = spl_mmc_get_device_index(bootdev->boot_device); in spl_mmc_load() 418 if (!mmc || spl_mmc_get_mmc_devnum(mmc) != mmc_dev) { in spl_mmc_load()
|
| /u-boot/drivers/fastboot/ |
| A D | fb_command.c | 427 const int mmc_dev = config_opt_enabled(CONFIG_FASTBOOT_FLASH_MMC, in oem_format() local 433 sprintf(cmdbuf, "gpt write mmc %x $partitions", mmc_dev); in oem_format() 450 const int mmc_dev = config_opt_enabled(CONFIG_FASTBOOT_FLASH_MMC, in oem_partconf() local 459 snprintf(cmdbuf, sizeof(cmdbuf), "mmc partconf %x %s 0", mmc_dev, cmd_parameter); in oem_partconf() 476 const int mmc_dev = config_opt_enabled(CONFIG_FASTBOOT_FLASH_MMC, in oem_bootbus() local 485 snprintf(cmdbuf, sizeof(cmdbuf), "mmc bootbus %x %s", mmc_dev, cmd_parameter); in oem_bootbus()
|
| A D | fb_common.c | 99 const int mmc_dev = config_opt_enabled(CONFIG_FASTBOOT_FLASH_MMC, in fastboot_set_reboot_flag() local 108 return bcb_write_reboot_reason(mmc_dev, "misc", boot_cmds[reason]); in fastboot_set_reboot_flag()
|
| /u-boot/board/Marvell/mvebu_armada-37xx/ |
| A D | board.c | 93 struct mmc *mmc_dev; in board_late_init() local 134 mmc_dev = find_mmc_device(1); in board_late_init() 135 emmc = (mmc_dev && mmc_get_op_cond(mmc_dev, true) == 0); in board_late_init() 138 if (!emmc && mmc_dev) { in board_late_init() 139 dev = mmc_dev->dev; in board_late_init()
|
| /u-boot/include/ |
| A D | avb_verify.h | 29 int mmc_dev; member 95 return data->mmc_dev; in get_boot_device()
|
| A D | mmc.h | 953 #define mmc_dev(x) ((x)->dev) macro
|
| /u-boot/drivers/mmc/ |
| A D | mmc-uclass.c | 290 struct udevice *dev, *mmc_dev; in find_mmc_device() local 302 mmc_dev = dev_get_parent(dev); in find_mmc_device() 304 struct mmc *mmc = mmc_get_mmc_dev(mmc_dev); in find_mmc_device() 462 struct udevice *mmc_dev = dev_get_parent(bdev); in mmc_select_hwpart() local 463 struct mmc *mmc = mmc_get_mmc_dev(mmc_dev); in mmc_select_hwpart() 482 struct udevice *mmc_dev = dev_get_parent(dev); in mmc_blk_probe() local 483 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(mmc_dev); in mmc_blk_probe() 513 struct udevice *mmc_dev = dev_get_parent(dev); in mmc_blk_remove() local 514 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(mmc_dev); in mmc_blk_remove()
|
| A D | sdhci.c | 216 int mmc_dev = mmc_get_blk_desc(mmc)->devnum; local 234 printf("%s: MMC: %d busy ", __func__, mmc_dev);
|
| /u-boot/test/dm/ |
| A D | fwu_mdata.c | 25 static struct udevice *mmc_dev; variable 47 ut_assertok(uclass_get_device(UCLASS_MMC, 0, &mmc_dev)); in setup_blk_device()
|
| A D | blk.c | 122 struct udevice *dev, *mmc_dev, *parent; in dm_test_blk_devnum() local 136 ut_assertok(uclass_get_device_by_seq(UCLASS_MMC, i, &mmc_dev)); in dm_test_blk_devnum() 139 ut_asserteq_ptr(parent, mmc_dev); in dm_test_blk_devnum() 140 ut_asserteq(trailing_strtol(mmc_dev->name), i); in dm_test_blk_devnum()
|
| /u-boot/cmd/ |
| A D | avb.c | 20 unsigned long mmc_dev; in do_avb_init() local 25 mmc_dev = hextoul(argv[1], NULL); in do_avb_init() 30 avb_ops = avb_ops_alloc(mmc_dev); in do_avb_init()
|
| A D | mmc.c | 526 struct blk_desc *mmc_dev; in do_mmc_part() local 533 mmc_dev = blk_get_devnum_by_uclass_id(UCLASS_MMC, curr_device); in do_mmc_part() 534 if (mmc_dev != NULL && mmc_dev->type != DEV_TYPE_UNKNOWN) { in do_mmc_part() 535 part_print(mmc_dev); in do_mmc_part()
|
| /u-boot/common/ |
| A D | avb_verify.c | 1003 ops_data->mmc_dev = boot_device; in avb_ops_alloc()
|