Home
last modified time | relevance | path

Searched refs:curr_device (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/cmd/
H A Dmmc.c17 static int curr_device = -1; variable
113 if (curr_device < 0) { in do_mmcinfo()
115 curr_device = 0; in do_mmcinfo()
122 mmc = init_mmc_device(curr_device, false); in do_mmcinfo()
137 if (curr_device < 0) { in do_mmc_test_secure_storage()
140 curr_device = 0; in do_mmc_test_secure_storage()
147 mmc = init_mmc_device(curr_device, false); in do_mmc_test_secure_storage()
195 if (curr_device < 0) { in init_rpmb()
197 curr_device = 0; in init_rpmb()
204 mmc = init_mmc_device(curr_device, false); in init_rpmb()
[all …]
H A Dide.c33 static int curr_device; variable
45 return blk_common_cmd(argc, argv, IF_TYPE_IDE, &curr_device); in do_ide()
/rk3399_rockchip-uboot/lib/avb/rk_avb_user/
H A Drk_avb_ops_user.c390 static int curr_device = -1; variable
404 if (curr_device < 0) { in rk_bootloader_rollback_index_read()
406 curr_device = 0; in rk_bootloader_rollback_index_read()
413 mmc = find_mmc_device(curr_device); in rk_bootloader_rollback_index_read()
420 if (blk_select_hwpart_devnum(IF_TYPE_MMC, curr_device, MMC_PART_RPMB) != in rk_bootloader_rollback_index_read()
429 if (blk_select_hwpart_devnum(IF_TYPE_MMC, curr_device, original_part) != in rk_bootloader_rollback_index_read()