Lines Matching full:udc

8 #include <zephyr/drivers/usb/udc.h>
379 zassert_true(device_is_ready(dev), "UDC device not ready"); in test_udc_ep_mps()
382 zassert_ok(err, "Failed to initialize UDC driver"); in test_udc_ep_mps()
385 zassert_ok(err, "Failed to enable UDC driver"); in test_udc_ep_mps()
416 zassert_ok(err, "Failed to disable UDC driver"); in test_udc_ep_mps()
419 zassert_ok(err, "Failed to shoot-down UDC driver"); in test_udc_ep_mps()
428 zassert_true(device_is_ready(dev), "UDC device not ready"); in test_udc_device_get()
431 LOG_INF("UDC device HS: %u", caps.hs); in test_udc_device_get()
439 k_thread_name_set(&test_udc_thread_data, "test-udc"); in test_udc_device_get()
487 zassert_true(device_is_ready(dev), "UDC device not ready"); in ZTEST()
490 zassert_equal(err, -EINVAL, "Not failed to initialize UDC"); in ZTEST()
493 zassert_equal(err, -EALREADY, "Not failed to shutdown UDC"); in ZTEST()
496 zassert_equal(err, -EPERM, "Not failed to enable UDC driver"); in ZTEST()
516 zassert_equal(err, -EALREADY, "Not failed to disable UDC driver"); in ZTEST()
526 zassert_true(device_is_ready(dev), "UDC device not ready"); in ZTEST()
529 zassert_ok(err, "Failed to initialize UDC driver"); in ZTEST()
549 zassert_ok(err, "Failed to shootdown UDC driver"); in ZTEST()
559 zassert_true(device_is_ready(dev), "UDC device not ready"); in ZTEST()
562 zassert_ok(err, "Failed to initialize UDC driver"); in ZTEST()
565 zassert_ok(err, "Failed to enable UDC driver"); in ZTEST()
568 zassert_equal(err, -EALREADY, "Not failed to enable UDC driver"); in ZTEST()
571 zassert_ok(err, "Failed to disable UDC driver"); in ZTEST()
574 zassert_ok(err, "Failed to enable UDC driver"); in ZTEST()
593 zassert_equal(err, -EBUSY, "Not failed to shoot-down UDC driver"); in ZTEST()
596 zassert_ok(err, "Failed to disable UDC driver"); in ZTEST()
599 zassert_ok(err, "Failed to shoot-down UDC driver"); in ZTEST()