Lines Matching refs:evt
2450 struct dwc3_event_buffer *evt; in dwc3_process_event_buf() local
2455 evt = dwc->ev_buffs[buf]; in dwc3_process_event_buf()
2456 left = evt->count; in dwc3_process_event_buf()
2458 if (!(evt->flags & DWC3_EVENT_PENDING)) in dwc3_process_event_buf()
2464 event.raw = *(u32 *) (evt->buf + evt->lpos); in dwc3_process_event_buf()
2477 evt->lpos = (evt->lpos + 4) % DWC3_EVENT_BUFFERS_SIZE; in dwc3_process_event_buf()
2483 evt->count = 0; in dwc3_process_event_buf()
2484 evt->flags &= ~DWC3_EVENT_PENDING; in dwc3_process_event_buf()
2514 struct dwc3_event_buffer *evt; in dwc3_check_event_buf() local
2518 evt = dwc->ev_buffs[buf]; in dwc3_check_event_buf()
2525 evt->count = count; in dwc3_check_event_buf()
2526 evt->flags |= DWC3_EVENT_PENDING; in dwc3_check_event_buf()
2674 struct dwc3_event_buffer *evt; in dwc3_gadget_uboot_handle_interrupt() local
2680 evt = dwc->ev_buffs[i]; in dwc3_gadget_uboot_handle_interrupt()
2681 dwc3_flush_cache((uintptr_t)evt->buf, evt->length); in dwc3_gadget_uboot_handle_interrupt()