Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/udc/src/
Dmain.c130 int err1, err2, err3, err4; in test_udc_ep_enable() local
132 err1 = udc_ep_enable(dev, ed->bEndpointAddress, ed->bmAttributes, in test_udc_ep_enable()
146 zassert_equal(err1, -EPERM, "Not failed to enable endpoint"); in test_udc_ep_enable()
151 zassert_equal(err1, -EPERM, "Not failed to enable endpoint"); in test_udc_ep_enable()
156 zassert_equal(err1, 0, "Failed to enable endpoint"); in test_udc_ep_enable()
169 int err1, err2, err3, err4; in test_udc_ep_disable() local
171 err1 = udc_ep_disable(dev, ed->bEndpointAddress); in test_udc_ep_disable()
177 zassert_equal(err1, -EPERM, "Not failed to disable endpoint"); in test_udc_ep_disable()
182 zassert_equal(err1, -EALREADY, "Failed to disable endpoint"); in test_udc_ep_disable()
187 zassert_equal(err1, 0, "Failed to disable endpoint"); in test_udc_ep_disable()
[all …]