Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/udc/
Dudc_virtual.c303 struct udc_vrt_event *vrt_ev; in udc_vrt_thread_handler() local
306 vrt_ev = k_fifo_get(&priv->fifo, K_FOREVER); in udc_vrt_thread_handler()
308 switch (vrt_ev->type) { in udc_vrt_thread_handler()
325 err = vrt_handle_request(dev, vrt_ev->pkt); in udc_vrt_thread_handler()
335 k_mem_slab_free(&udc_vrt_slab, (void *)vrt_ev); in udc_vrt_thread_handler()
344 struct udc_vrt_event *vrt_ev; in vrt_submit_uvb_event() local
347 ret = k_mem_slab_alloc(&udc_vrt_slab, (void **)&vrt_ev, K_NO_WAIT); in vrt_submit_uvb_event()
350 vrt_ev->type = type; in vrt_submit_uvb_event()
351 vrt_ev->pkt = pkt; in vrt_submit_uvb_event()
352 k_fifo_put(&priv->fifo, vrt_ev); in vrt_submit_uvb_event()