Lines Matching refs:uc
98 struct uclass *uc; in dm_leak_check_end() local
100 uc = uclass_find(id); in dm_leak_check_end()
101 if (!uc) in dm_leak_check_end()
103 ut_assertok(uclass_destroy(uc)); in dm_leak_check_end()
157 struct uclass *uc; in dm_test_autobind_uclass_pdata_alloc() local
159 ut_assertok(uclass_get(UCLASS_TEST, &uc)); in dm_test_autobind_uclass_pdata_alloc()
160 ut_assert(uc); in dm_test_autobind_uclass_pdata_alloc()
166 ut_assert(uc->uc_drv->per_device_plat_auto); in dm_test_autobind_uclass_pdata_alloc()
213 struct uclass *uc; in dm_test_autoprobe() local
216 ut_assertok(uclass_get(UCLASS_TEST, &uc)); in dm_test_autoprobe()
217 ut_assert(uc); in dm_test_autoprobe()
519 struct uclass *uc; in dm_test_uclass() local
521 ut_assertok(uclass_get(UCLASS_TEST, &uc)); in dm_test_uclass()
524 ut_assert(uclass_get_priv(uc)); in dm_test_uclass()
526 ut_assertok(uclass_destroy(uc)); in dm_test_uclass()
983 struct uclass *uc; in dm_test_uclass_before_ready() local
985 ut_assertok(uclass_get(UCLASS_TEST, &uc)); in dm_test_uclass_before_ready()
1169 struct uclass *uc; in dm_test_all_have_seq() local
1171 list_for_each_entry(uc, gd->uclass_root, sibling_node) { in dm_test_all_have_seq()
1172 list_for_each_entry(dev, &uc->dev_head, uclass_node) { in dm_test_all_have_seq()