Lines Matching defs:dep
158 static void dwc3_ep_inc_enq(struct dwc3_ep *dep) in dwc3_ep_inc_enq()
167 static void dwc3_ep_inc_deq(struct dwc3_ep *dep) in dwc3_ep_inc_deq()
172 static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep, in dwc3_gadget_del_and_unmap_request()
205 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, in dwc3_gadget_giveback()
268 int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned cmd, in dwc3_send_gadget_ep_cmd()
401 static int dwc3_send_clear_stall_ep_cmd(struct dwc3_ep *dep) in dwc3_send_clear_stall_ep_cmd()
424 static dma_addr_t dwc3_trb_dma_offset(struct dwc3_ep *dep, in dwc3_trb_dma_offset()
432 static int dwc3_alloc_trb_pool(struct dwc3_ep *dep) in dwc3_alloc_trb_pool()
451 static void dwc3_free_trb_pool(struct dwc3_ep *dep) in dwc3_free_trb_pool()
462 static int dwc3_gadget_set_xfer_resource(struct dwc3_ep *dep) in dwc3_gadget_set_xfer_resource()
507 static int dwc3_gadget_start_config(struct dwc3_ep *dep) in dwc3_gadget_start_config()
527 struct dwc3_ep *dep = dwc->eps[i]; in dwc3_gadget_start_config() local
540 static int dwc3_gadget_set_ep_config(struct dwc3_ep *dep, unsigned int action) in dwc3_gadget_set_ep_config()
611 static int __dwc3_gadget_ep_enable(struct dwc3_ep *dep, unsigned int action) in __dwc3_gadget_ep_enable()
692 static void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_remove_requests()
728 static int __dwc3_gadget_ep_disable(struct dwc3_ep *dep) in __dwc3_gadget_ep_disable()
776 struct dwc3_ep *dep; in dwc3_gadget_ep_enable() local
808 struct dwc3_ep *dep; in dwc3_gadget_ep_disable() local
837 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_alloc_request() local
871 static struct dwc3_trb *dwc3_ep_prev_trb(struct dwc3_ep *dep, u8 index) in dwc3_ep_prev_trb()
881 static u32 dwc3_calc_trbs_left(struct dwc3_ep *dep) in dwc3_calc_trbs_left()
910 static void __dwc3_prepare_one_trb(struct dwc3_ep *dep, struct dwc3_trb *trb, in __dwc3_prepare_one_trb()
1023 static void dwc3_prepare_one_trb(struct dwc3_ep *dep, in dwc3_prepare_one_trb()
1055 static void dwc3_prepare_one_trb_sg(struct dwc3_ep *dep, in dwc3_prepare_one_trb_sg()
1112 static void dwc3_prepare_one_trb_linear(struct dwc3_ep *dep, in dwc3_prepare_one_trb_linear()
1165 static void dwc3_prepare_trbs(struct dwc3_ep *dep) in dwc3_prepare_trbs()
1213 static int __dwc3_gadget_kick_transfer(struct dwc3_ep *dep) in __dwc3_gadget_kick_transfer()
1316 static int dwc3_gadget_start_isoc_quirk(struct dwc3_ep *dep) in dwc3_gadget_start_isoc_quirk()
1389 static int __dwc3_gadget_start_isoc(struct dwc3_ep *dep) in __dwc3_gadget_start_isoc()
1421 static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req) in __dwc3_gadget_ep_queue()
1477 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_queue() local
1491 static void dwc3_gadget_ep_skip_trbs(struct dwc3_ep *dep, struct dwc3_request *req) in dwc3_gadget_ep_skip_trbs()
1516 static void dwc3_gadget_ep_cleanup_cancelled_requests(struct dwc3_ep *dep) in dwc3_gadget_ep_cleanup_cancelled_requests()
1533 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_dequeue() local
1581 int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol) in __dwc3_gadget_ep_set_halt()
1635 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_set_halt() local
1651 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_set_wedge() local
1946 struct dwc3_ep *dep; in __dwc3_gadget_start() local
2195 static int dwc3_gadget_init_control_endpoint(struct dwc3_ep *dep) in dwc3_gadget_init_control_endpoint()
2210 static int dwc3_gadget_init_in_endpoint(struct dwc3_ep *dep) in dwc3_gadget_init_in_endpoint()
2255 static int dwc3_gadget_init_out_endpoint(struct dwc3_ep *dep) in dwc3_gadget_init_out_endpoint()
2273 struct dwc3_ep *dep; in dwc3_gadget_init_endpoint() local
2339 struct dwc3_ep *dep; in dwc3_gadget_free_endpoints() local
2366 static int dwc3_gadget_ep_reclaim_completed_trb(struct dwc3_ep *dep, in dwc3_gadget_ep_reclaim_completed_trb()
2429 static int dwc3_gadget_ep_reclaim_trb_sg(struct dwc3_ep *dep, in dwc3_gadget_ep_reclaim_trb_sg()
2458 static int dwc3_gadget_ep_reclaim_trb_linear(struct dwc3_ep *dep, in dwc3_gadget_ep_reclaim_trb_linear()
2473 static int dwc3_gadget_ep_cleanup_completed_request(struct dwc3_ep *dep, in dwc3_gadget_ep_cleanup_completed_request()
2506 static void dwc3_gadget_ep_cleanup_completed_requests(struct dwc3_ep *dep, in dwc3_gadget_ep_cleanup_completed_requests()
2522 static void dwc3_gadget_endpoint_frame_from_event(struct dwc3_ep *dep, in dwc3_gadget_endpoint_frame_from_event()
2528 static void dwc3_gadget_endpoint_transfer_in_progress(struct dwc3_ep *dep, in dwc3_gadget_endpoint_transfer_in_progress()
2580 static void dwc3_gadget_endpoint_transfer_not_ready(struct dwc3_ep *dep, in dwc3_gadget_endpoint_transfer_not_ready()
2590 struct dwc3_ep *dep; in dwc3_endpoint_interrupt() local
2671 static void dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, in dwc3_stop_active_transfer()
2731 struct dwc3_ep *dep; in dwc3_clear_stall_all_ep() local
2821 struct dwc3_ep *dep; in dwc3_gadget_conndone_interrupt() local