Home
last modified time | relevance | path

Searched refs:requires_visitor (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-2.7.6/tests/lib/devicetree/devices/src/
Dmain.c82 static int requires_visitor(const struct device *dev, in requires_visitor() function
112 zassert_equal(0, device_required_foreach(dev, requires_visitor, &ctx), in test_requires()
120 zassert_equal(0, device_required_foreach(dev, requires_visitor, &ctx), in test_requires()
135 zassert_equal(-ENOSPC, device_required_foreach(dev, requires_visitor, &ctx), in test_requires()
142 zassert_equal(2, device_required_foreach(dev, requires_visitor, &ctx), in test_requires()
160 zassert_equal(1, device_required_foreach(dev, requires_visitor, &ctx), in test_requires()