• Home
  • Raw
  • Download

Lines Matching refs:curr_device

14 static int curr_device = -1;  variable
114 if (curr_device < 0) { in do_mmcinfo()
116 curr_device = 0; in do_mmcinfo()
123 mmc = init_mmc_device(curr_device, false); in do_mmcinfo()
147 struct mmc *mmc = find_mmc_device(curr_device); in do_mmcrpmb_key()
168 struct mmc *mmc = find_mmc_device(curr_device); in do_mmcrpmb_read()
181 curr_device, blk, cnt); in do_mmcrpmb_read()
196 struct mmc *mmc = find_mmc_device(curr_device); in do_mmcrpmb_write()
207 curr_device, blk, cnt); in do_mmcrpmb_write()
219 struct mmc *mmc = find_mmc_device(curr_device); in do_mmcrpmb_counter()
253 mmc = init_mmc_device(curr_device, false); in do_mmcrpmb()
271 if (blk_select_hwpart_devnum(IF_TYPE_MMC, curr_device, MMC_PART_RPMB) != in do_mmcrpmb()
277 if (blk_select_hwpart_devnum(IF_TYPE_MMC, curr_device, original_part) != in do_mmcrpmb()
298 mmc = init_mmc_device(curr_device, false); in do_mmc_read()
303 curr_device, blk, cnt); in do_mmc_read()
347 mmc = init_mmc_device(curr_device, false); in do_mmc_sparse_write()
352 curr_device, blk); in do_mmc_sparse_write()
391 mmc = init_mmc_device(curr_device, false); in do_mmc_write()
396 curr_device, blk, cnt); in do_mmc_write()
419 mmc = init_mmc_device(curr_device, false); in do_mmc_erase()
424 curr_device, blk, cnt); in do_mmc_erase()
442 mmc = init_mmc_device(curr_device, true); in do_mmc_rescan()
454 mmc = init_mmc_device(curr_device, false); in do_mmc_part()
458 mmc_dev = blk_get_devnum_by_type(IF_TYPE_MMC, curr_device); in do_mmc_part()
474 dev = curr_device; in do_mmc_dev()
499 curr_device = dev; in do_mmc_dev()
501 printf("mmc%d is current device\n", curr_device); in do_mmc_dev()
504 curr_device, mmc_get_blk_desc(mmc)->hwpart); in do_mmc_dev()
592 mmc = init_mmc_device(curr_device, false); in do_mmc_hwpartition()
824 mmc = find_mmc_device(curr_device); in do_mmc_setdsr()
826 printf("no mmc device at slot %x\n", curr_device); in do_mmc_setdsr()
913 if (curr_device < 0) { in do_mmcops()
915 curr_device = 0; in do_mmcops()