Lines Matching refs:ut_assert
116 ut_assert(dms->root); in dm_test_autobind()
124 ut_assert(1 < list_count_items(&gd->uclass_root)); in dm_test_autobind()
125 ut_assert(0 < list_count_items(&gd->dm_root->child_head)); in dm_test_autobind()
132 ut_assert(!(dev->flags & DM_FLAG_ACTIVATED)); in dm_test_autobind()
135 ut_assert(dm_testdrv_op_count[DM_TEST_OP_BIND] == 3); in dm_test_autobind()
149 ut_assert(uc); in dm_test_autobind_uclass_pdata_alloc()
155 ut_assert(uc->uc_drv->per_device_platdata_auto_alloc_size); in dm_test_autobind_uclass_pdata_alloc()
160 ut_assert(dev); in dm_test_autobind_uclass_pdata_alloc()
163 ut_assert(uc_pdata); in dm_test_autobind_uclass_pdata_alloc()
183 ut_assert(dev); in dm_test_autobind_uclass_pdata_valid()
186 ut_assert(uc_pdata); in dm_test_autobind_uclass_pdata_valid()
187 ut_assert(uc_pdata->intval1 == TEST_UC_PDATA_INTVAL1); in dm_test_autobind_uclass_pdata_valid()
188 ut_assert(uc_pdata->intval2 == TEST_UC_PDATA_INTVAL2); in dm_test_autobind_uclass_pdata_valid()
189 ut_assert(uc_pdata->intval3 == TEST_UC_PDATA_INTVAL3); in dm_test_autobind_uclass_pdata_valid()
206 ut_assert(uc); in dm_test_autoprobe()
213 ut_assert(dms->root->flags & DM_FLAG_ACTIVATED); in dm_test_autoprobe()
222 ut_assert(dev); in dm_test_autoprobe()
228 ut_assert(dev); in dm_test_autoprobe()
229 ut_assert(dev->flags & DM_FLAG_ACTIVATED); in dm_test_autoprobe()
233 ut_assert(dms->root->flags & DM_FLAG_ACTIVATED); in dm_test_autoprobe()
250 ut_assert(dev); in dm_test_autoprobe()
253 ut_assert(priv); in dm_test_autoprobe()
273 ut_assert(dev); in dm_test_platdata()
275 ut_assert(pdata->ping_add == test_pdata[i].ping_add); in dm_test_platdata()
295 ut_assert(dev); in dm_test_lifecycle()
296 ut_assert(dm_testdrv_op_count[DM_TEST_OP_BIND] in dm_test_lifecycle()
298 ut_assert(!dev->priv); in dm_test_lifecycle()
303 ut_assert(ret == -ENOMEM); in dm_test_lifecycle()
304 ut_assert(dm_testdrv_op_count[DM_TEST_OP_PROBE] in dm_test_lifecycle()
306 ut_assert(!dev->priv); in dm_test_lifecycle()
311 ut_assert(dm_testdrv_op_count[DM_TEST_OP_PROBE] in dm_test_lifecycle()
313 ut_assert(dev->priv); in dm_test_lifecycle()
317 ut_assert(dev == test_dev); in dm_test_lifecycle()
321 ut_assert(pingret == 102); in dm_test_lifecycle()
347 ut_assert(dev); in dm_test_ordering()
352 ut_assert(dev_penultimate); in dm_test_ordering()
355 ut_assert(dev_last); in dm_test_ordering()
363 ut_assert(dev_penultimate == test_dev); in dm_test_ordering()
365 ut_assert(dev_last == test_dev); in dm_test_ordering()
370 ut_assert(dev); in dm_test_ordering()
374 ut_assert(pingret == 102); in dm_test_ordering()
384 ut_assert(dev == test_dev); in dm_test_ordering()
403 ut_assert(dev->priv); in dm_check_operations()
404 ut_assert(dev->platdata); in dm_check_operations()
445 ut_assert(!dm_check_operations(uts, dev, base, dev->priv)); in dm_test_operations()
460 ut_assert(dev); in dm_test_remove()
467 ut_assert(!dev->priv); in dm_test_remove()
513 ut_assert(uc->priv); in dm_test_uclass()
572 ut_assert(NODE_COUNT > 5); in dm_test_children()
673 ut_assert(dev); in dm_test_remove_active_dma()
706 ut_assert(dev); in dm_test_remove_active_dma()
748 ut_assert(!ret); in dm_test_uclass_devices_find()
749 ut_assert(dev); in dm_test_uclass_devices_find()
753 ut_assert(ret == -ENODEV); in dm_test_uclass_devices_find()
754 ut_assert(!dev); in dm_test_uclass_devices_find()
781 ut_assert(testdev); in dm_test_uclass_devices_find_by_name()
788 ut_assert(testdev); in dm_test_uclass_devices_find_by_name()
805 ut_assert(!ret); in dm_test_uclass_devices_get()
806 ut_assert(dev); in dm_test_uclass_devices_get()
807 ut_assert(device_active(dev)); in dm_test_uclass_devices_get()
840 ut_assert(testdev); in dm_test_uclass_devices_get_by_name()
841 ut_assert(device_active(testdev)); in dm_test_uclass_devices_get_by_name()
848 ut_assert(finddev); in dm_test_uclass_devices_get_by_name()
849 ut_assert(device_active(finddev)); in dm_test_uclass_devices_get_by_name()