Lines Matching refs:ut_asserteq
30 ut_asserteq(device_has_children(bus), true); in dm_test_spmi_probe()
39 ut_asserteq(device_get_uclass_id(dev), UCLASS_PMIC); in dm_test_spmi_probe()
61 ut_asserteq(spmi_reg_read(bus, 0, 0xC0, 0x4), 0x10); in dm_test_spmi_access()
62 ut_asserteq(spmi_reg_read(bus, 0, 0xC0, 0x5), 0x5); in dm_test_spmi_access()
65 ut_asserteq(pmic_reg_read(pmic, 0xC004), 0x10); in dm_test_spmi_access()
66 ut_asserteq(pmic_reg_read(pmic, 0xC005), 0x5); in dm_test_spmi_access()
85 ut_asserteq(device_get_uclass_id(dev->parent), UCLASS_PMIC); in dm_test_spmi_access_peripheral()
88 ut_asserteq(1, offset); in dm_test_spmi_access_peripheral()
95 ut_asserteq(4, offset_count); in dm_test_spmi_access_peripheral()
101 ut_asserteq(gpio_get_value(gpio), 0); in dm_test_spmi_access_peripheral()
103 ut_asserteq(gpio_get_value(gpio), 1); in dm_test_spmi_access_peripheral()
105 ut_asserteq(gpio_get_value(gpio), 1); in dm_test_spmi_access_peripheral()