Searched refs:err2 (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/drivers/udc/src/ |
D | main.c | 130 int err1, err2, err3, err4; in test_udc_ep_enable() local 135 err2 = udc_ep_enable(dev, ed->bEndpointAddress, ed->bmAttributes, in test_udc_ep_enable() 147 zassert_equal(err2, -EPERM, "Not failed to enable endpoint"); in test_udc_ep_enable() 152 zassert_equal(err2, -EPERM, "Not failed to enable endpoint"); in test_udc_ep_enable() 157 zassert_equal(err2, -EALREADY, "Not failed to enable endpoint"); in test_udc_ep_enable() 169 int err1, err2, err3, err4; in test_udc_ep_disable() local 172 err2 = udc_ep_disable(dev, ed->bEndpointAddress); in test_udc_ep_disable() 178 zassert_equal(err2, -EPERM, "Not failed to disable endpoint"); in test_udc_ep_disable() 183 zassert_equal(err2, -EALREADY, "Not failed to disable endpoint"); in test_udc_ep_disable() 188 zassert_equal(err2, -EALREADY, "Not failed to disable endpoint"); in test_udc_ep_disable() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_sam0.c | 276 int err2 = flash_sam0_write_protection(dev, true); in flash_sam0_write() local 279 err = err2; in flash_sam0_write() 331 int err2 = flash_sam0_write_protection(dev, true); in flash_sam0_write() local 334 err = err2; in flash_sam0_write() 392 int err2 = flash_sam0_write_protection(dev, true); in flash_sam0_erase() local 395 err = err2; in flash_sam0_erase()
|