Lines Matching refs:ut_assertok
24 ut_assertok(blk_create_device(gd->dm_root, "sandbox_host_blk", "test", in dm_test_blk_base()
26 ut_assertok(blk_create_device(blk, "usb_storage_blk", "test", in dm_test_blk_base()
31 ut_assertok(blk_get_device(IF_TYPE_HOST, 1, &dev)); in dm_test_blk_base()
35 ut_assertok(blk_get_device(IF_TYPE_USB, 3, &dev)); in dm_test_blk_base()
39 ut_assertok(blk_first_device(IF_TYPE_HOST, &dev)); in dm_test_blk_base()
43 ut_assertok(blk_first_device(IF_TYPE_USB, &dev)); in dm_test_blk_base()
76 ut_assertok(usb_init()); in dm_test_blk_usb()
77 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &usb_dev)); in dm_test_blk_usb()
78 ut_assertok(blk_get_device_by_str("usb", "0", &dev_desc)); in dm_test_blk_usb()
81 ut_assertok(blk_get_device(IF_TYPE_USB, 0, &dev)); in dm_test_blk_usb()
88 ut_assertok(usb_stop()); in dm_test_blk_usb()
89 ut_assertok(usb_init()); in dm_test_blk_usb()
91 ut_assertok(usb_stop()); in dm_test_blk_usb()
102 ut_assertok(blk_create_device(gd->dm_root, "sandbox_host_blk", "test", in dm_test_blk_find()
105 ut_assertok(blk_find_device(IF_TYPE_HOST, 1, &dev)); in dm_test_blk_find()
110 ut_assertok(blk_get_device(IF_TYPE_HOST, 1, &dev)); in dm_test_blk_find()
128 ut_assertok(uclass_get_device(UCLASS_MMC, 1, &dev)); in dm_test_blk_devnum()
129 ut_assertok(uclass_get_device(UCLASS_MMC, 2, &dev)); in dm_test_blk_devnum()
130 ut_assertok(uclass_get_device(UCLASS_MMC, 0, &dev)); in dm_test_blk_devnum()
135 ut_assertok(uclass_get_device_by_seq(UCLASS_MMC, i, &mmc_dev)); in dm_test_blk_devnum()
136 ut_assertok(blk_find_device(IF_TYPE_MMC, i, &dev)); in dm_test_blk_devnum()
158 ut_assertok(uclass_get_device(UCLASS_MMC, 0, &dev)); in dm_test_blk_get_from_parent()
159 ut_assertok(blk_get_from_parent(dev, &blk)); in dm_test_blk_get_from_parent()
161 ut_assertok(uclass_get_device(UCLASS_I2C, 0, &dev)); in dm_test_blk_get_from_parent()
164 ut_assertok(uclass_get_device(UCLASS_GPIO, 0, &dev)); in dm_test_blk_get_from_parent()