Lines Matching refs:evt
2488 struct dwc3_event_buffer *evt; in dwc3_process_event_buf() local
2493 evt = dwc->ev_buffs[buf]; in dwc3_process_event_buf()
2494 left = evt->count; in dwc3_process_event_buf()
2496 if (!(evt->flags & DWC3_EVENT_PENDING)) in dwc3_process_event_buf()
2502 event.raw = *(u32 *) (evt->buf + evt->lpos); in dwc3_process_event_buf()
2515 evt->lpos = (evt->lpos + 4) % DWC3_EVENT_BUFFERS_SIZE; in dwc3_process_event_buf()
2521 evt->count = 0; in dwc3_process_event_buf()
2522 evt->flags &= ~DWC3_EVENT_PENDING; in dwc3_process_event_buf()
2552 struct dwc3_event_buffer *evt; in dwc3_check_event_buf() local
2556 evt = dwc->ev_buffs[buf]; in dwc3_check_event_buf()
2557 dwc3_invalidate_cache((uintptr_t)evt->buf, evt->length); in dwc3_check_event_buf()
2564 evt->count = count; in dwc3_check_event_buf()
2565 evt->flags |= DWC3_EVENT_PENDING; in dwc3_check_event_buf()
2741 struct dwc3_event_buffer *evt; in dwc3_gadget_uboot_handle_interrupt() local
2747 evt = dwc->ev_buffs[i]; in dwc3_gadget_uboot_handle_interrupt()
2748 dwc3_flush_cache((uintptr_t)evt->buf, evt->length); in dwc3_gadget_uboot_handle_interrupt()