• Home
  • Raw
  • Download

Lines Matching refs:curr_device

18 static int curr_device = -1;  variable
163 if (curr_device < 0) { in do_mmcinfo()
165 curr_device = 0; in do_mmcinfo()
172 mmc = init_mmc_device(curr_device, false); in do_mmcinfo()
214 struct mmc *mmc = find_mmc_device(curr_device); in do_mmcrpmb_key()
235 struct mmc *mmc = find_mmc_device(curr_device); in do_mmcrpmb_read()
248 curr_device, blk, cnt); in do_mmcrpmb_read()
263 struct mmc *mmc = find_mmc_device(curr_device); in do_mmcrpmb_write()
274 curr_device, blk, cnt); in do_mmcrpmb_write()
286 struct mmc *mmc = find_mmc_device(curr_device); in do_mmcrpmb_counter()
320 mmc = init_mmc_device(curr_device, false); in do_mmcrpmb()
338 if (blk_select_hwpart_devnum(IF_TYPE_MMC, curr_device, MMC_PART_RPMB) != in do_mmcrpmb()
344 if (blk_select_hwpart_devnum(IF_TYPE_MMC, curr_device, original_part) != in do_mmcrpmb()
373 curr_device = dev; in do_mmc_read()
375 curr_device, blk, cnt); in do_mmc_read()
427 mmc = init_mmc_device(curr_device, false); in do_mmc_sparse_write()
432 curr_device, blk); in do_mmc_sparse_write()
479 curr_device = dev; in do_mmc_write()
489 curr_device, blk, cnt); in do_mmc_write()
495 curr_device, blk, cnt); in do_mmc_write()
524 mmc = init_mmc_device(curr_device, false); in do_mmc_erase()
529 curr_device, blk, cnt); in do_mmc_erase()
556 mmc = init_mmc_device(curr_device, true); in do_mmc_rescan()
568 mmc = init_mmc_device(curr_device, false); in do_mmc_part()
572 mmc_dev = blk_get_devnum_by_type(IF_TYPE_MMC, curr_device); in do_mmc_part()
588 dev = curr_device; in do_mmc_dev()
613 curr_device = dev; in do_mmc_dev()
615 printf("mmc%d is current device\n", curr_device); in do_mmc_dev()
618 curr_device, mmc_get_blk_desc(mmc)->hwpart); in do_mmc_dev()
706 mmc = init_mmc_device(curr_device, false); in do_mmc_hwpartition()
938 mmc = find_mmc_device(curr_device); in do_mmc_setdsr()
940 printf("no mmc device at slot %x\n", curr_device); in do_mmc_setdsr()
1028 if (curr_device < 0) { in do_mmcops()
1030 curr_device = 0; in do_mmcops()