Lines Matching refs:dwc3_ep
185 struct dwc3_ep *dep = dwc->eps[(num << 1) | 1]; in dwc3_gadget_resize_tx_fifos()
225 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, in dwc3_gadget_giveback()
325 static dma_addr_t dwc3_trb_dma_offset(struct dwc3_ep *dep, in dwc3_trb_dma_offset()
333 static int dwc3_alloc_trb_pool(struct dwc3_ep *dep) in dwc3_alloc_trb_pool()
353 static void dwc3_free_trb_pool(struct dwc3_ep *dep) in dwc3_free_trb_pool()
361 static int dwc3_gadget_start_config(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_start_config()
384 static int dwc3_gadget_set_ep_config(struct dwc3 *dwc, struct dwc3_ep *dep, in dwc3_gadget_set_ep_config()
447 static int dwc3_gadget_set_xfer_resource(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_set_xfer_resource()
466 static int __dwc3_gadget_ep_enable(struct dwc3_ep *dep, in __dwc3_gadget_ep_enable()
524 static void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_remove_requests()
554 static int __dwc3_gadget_ep_disable(struct dwc3_ep *dep) in __dwc3_gadget_ep_disable()
596 struct dwc3_ep *dep; in dwc3_gadget_ep_enable()
644 struct dwc3_ep *dep; in dwc3_gadget_ep_disable()
676 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_alloc_request()
701 static void dwc3_prepare_one_trb(struct dwc3_ep *dep, in dwc3_prepare_one_trb()
799 static void dwc3_prepare_trbs(struct dwc3_ep *dep, bool starting) in dwc3_prepare_trbs()
864 static int __dwc3_gadget_kick_transfer(struct dwc3_ep *dep, u16 cmd_param, in __dwc3_gadget_kick_transfer()
940 struct dwc3_ep *dep, u32 cur_uf) in __dwc3_gadget_start_isoc()
958 struct dwc3_ep *dep, const struct dwc3_event_depevt *event) in dwc3_gadget_start_isoc()
968 static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req) in __dwc3_gadget_ep_queue()
1077 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_queue()
1115 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_dequeue()
1154 int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol) in __dwc3_gadget_ep_set_halt()
1198 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_set_halt()
1213 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_set_wedge()
1460 struct dwc3_ep *dep; in dwc3_gadget_start()
1589 struct dwc3_ep *dep; in dwc3_gadget_init_hw_endpoints()
1664 struct dwc3_ep *dep; in dwc3_gadget_free_endpoints()
1691 static int __dwc3_cleanup_done_trbs(struct dwc3 *dwc, struct dwc3_ep *dep, in __dwc3_cleanup_done_trbs()
1767 static int dwc3_cleanup_done_reqs(struct dwc3 *dwc, struct dwc3_ep *dep, in dwc3_cleanup_done_reqs()
1812 struct dwc3_ep *dep, const struct dwc3_event_depevt *event) in dwc3_endpoint_transfer_complete()
1864 struct dwc3_ep *dep; in dwc3_endpoint_interrupt()
1981 struct dwc3_ep *dep; in dwc3_stop_active_transfer()
2027 struct dwc3_ep *dep; in dwc3_stop_active_transfers()
2045 struct dwc3_ep *dep; in dwc3_clear_stall_all_ep()
2163 struct dwc3_ep *dep; in dwc3_gadget_conndone_interrupt()