Lines Matching defs:dep
161 static void dwc3_ep_inc_enq(struct dwc3_ep *dep) in dwc3_ep_inc_enq()
170 static void dwc3_ep_inc_deq(struct dwc3_ep *dep) in dwc3_ep_inc_deq()
175 static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep, in dwc3_gadget_del_and_unmap_request()
208 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, in dwc3_gadget_giveback()
272 int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd, in dwc3_send_gadget_ep_cmd()
439 static int dwc3_send_clear_stall_ep_cmd(struct dwc3_ep *dep) in dwc3_send_clear_stall_ep_cmd()
463 static dma_addr_t dwc3_trb_dma_offset(struct dwc3_ep *dep, in dwc3_trb_dma_offset()
471 static int dwc3_alloc_trb_pool(struct dwc3_ep *dep) in dwc3_alloc_trb_pool()
490 static void dwc3_free_trb_pool(struct dwc3_ep *dep) in dwc3_free_trb_pool()
501 static int dwc3_gadget_set_xfer_resource(struct dwc3_ep *dep) in dwc3_gadget_set_xfer_resource()
546 static int dwc3_gadget_start_config(struct dwc3_ep *dep) in dwc3_gadget_start_config()
566 struct dwc3_ep *dep = dwc->eps[i]; in dwc3_gadget_start_config() local
579 static int dwc3_gadget_set_ep_config(struct dwc3_ep *dep, unsigned int action) in dwc3_gadget_set_ep_config()
748 struct dwc3_ep *dep; in dwc3_gadget_clear_tx_fifos() local
790 static int __dwc3_gadget_resize_tx_fifos(struct dwc3_ep *dep) in __dwc3_gadget_resize_tx_fifos()
896 static int dwc3_gadget_resize_tx_fifos(struct dwc3_ep *dep) in dwc3_gadget_resize_tx_fifos()
998 static int __dwc3_gadget_ep_enable(struct dwc3_ep *dep, unsigned int action) in __dwc3_gadget_ep_enable()
1113 void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status) in dwc3_remove_requests()
1153 static int __dwc3_gadget_ep_disable(struct dwc3_ep *dep) in __dwc3_gadget_ep_disable()
1210 struct dwc3_ep *dep; in dwc3_gadget_ep_enable() local
1242 struct dwc3_ep *dep; in dwc3_gadget_ep_disable() local
1271 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_alloc_request() local
1305 static struct dwc3_trb *dwc3_ep_prev_trb(struct dwc3_ep *dep, u8 index) in dwc3_ep_prev_trb()
1315 static u32 dwc3_calc_trbs_left(struct dwc3_ep *dep) in dwc3_calc_trbs_left()
1354 static void dwc3_prepare_one_trb(struct dwc3_ep *dep, in dwc3_prepare_one_trb()
1498 static bool dwc3_needs_extra_trb(struct dwc3_ep *dep, struct dwc3_request *req) in dwc3_needs_extra_trb()
1520 static int dwc3_prepare_last_sg(struct dwc3_ep *dep, in dwc3_prepare_last_sg()
1550 static int dwc3_prepare_trbs_sg(struct dwc3_ep *dep, in dwc3_prepare_trbs_sg()
1641 static int dwc3_prepare_trbs_linear(struct dwc3_ep *dep, in dwc3_prepare_trbs_linear()
1657 static int dwc3_prepare_trbs(struct dwc3_ep *dep) in dwc3_prepare_trbs()
1731 static int __dwc3_gadget_kick_transfer(struct dwc3_ep *dep) in __dwc3_gadget_kick_transfer()
1824 static int __dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool interrupt) in __dwc3_stop_active_transfer()
1899 static int dwc3_gadget_start_isoc_quirk(struct dwc3_ep *dep) in dwc3_gadget_start_isoc_quirk()
1972 static int __dwc3_gadget_start_isoc(struct dwc3_ep *dep) in __dwc3_gadget_start_isoc()
2041 static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req) in __dwc3_gadget_ep_queue()
2111 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_queue() local
2125 static void dwc3_gadget_ep_skip_trbs(struct dwc3_ep *dep, struct dwc3_request *req) in dwc3_gadget_ep_skip_trbs()
2154 static void dwc3_gadget_ep_cleanup_cancelled_requests(struct dwc3_ep *dep) in dwc3_gadget_ep_cleanup_cancelled_requests()
2192 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_dequeue() local
2246 int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol) in __dwc3_gadget_ep_set_halt()
2332 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_set_halt() local
2348 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep_set_wedge() local
2499 struct dwc3_ep *dep; in dwc3_stop_active_transfers() local
2840 struct dwc3_ep *dep; in __dwc3_gadget_start() local
3149 static int dwc3_gadget_init_control_endpoint(struct dwc3_ep *dep) in dwc3_gadget_init_control_endpoint()
3164 static int dwc3_gadget_init_in_endpoint(struct dwc3_ep *dep) in dwc3_gadget_init_in_endpoint()
3230 static int dwc3_gadget_init_out_endpoint(struct dwc3_ep *dep) in dwc3_gadget_init_out_endpoint()
3279 struct dwc3_ep *dep; in dwc3_gadget_init_endpoint() local
3358 struct dwc3_ep *dep; in dwc3_gadget_free_endpoints() local
3386 static int dwc3_gadget_ep_reclaim_completed_trb(struct dwc3_ep *dep, in dwc3_gadget_ep_reclaim_completed_trb()
3454 static int dwc3_gadget_ep_reclaim_trb_sg(struct dwc3_ep *dep, in dwc3_gadget_ep_reclaim_trb_sg()
3480 static int dwc3_gadget_ep_reclaim_trb_linear(struct dwc3_ep *dep, in dwc3_gadget_ep_reclaim_trb_linear()
3495 static int dwc3_gadget_ep_cleanup_completed_request(struct dwc3_ep *dep, in dwc3_gadget_ep_cleanup_completed_request()
3577 static void dwc3_gadget_ep_cleanup_completed_requests(struct dwc3_ep *dep, in dwc3_gadget_ep_cleanup_completed_requests()
3599 static bool dwc3_gadget_ep_should_continue(struct dwc3_ep *dep) in dwc3_gadget_ep_should_continue()
3622 static void dwc3_gadget_endpoint_frame_from_event(struct dwc3_ep *dep, in dwc3_gadget_endpoint_frame_from_event()
3628 static bool dwc3_gadget_endpoint_trbs_complete(struct dwc3_ep *dep, in dwc3_gadget_endpoint_trbs_complete()
3703 static void dwc3_gadget_endpoint_transfer_in_progress(struct dwc3_ep *dep, in dwc3_gadget_endpoint_transfer_in_progress()
3723 static void dwc3_gadget_endpoint_transfer_complete(struct dwc3_ep *dep, in dwc3_gadget_endpoint_transfer_complete()
3737 static void dwc3_gadget_endpoint_transfer_not_ready(struct dwc3_ep *dep, in dwc3_gadget_endpoint_transfer_not_ready()
3756 static void dwc3_gadget_endpoint_command_complete(struct dwc3_ep *dep, in dwc3_gadget_endpoint_command_complete()
3802 static void dwc3_gadget_endpoint_stream_event(struct dwc3_ep *dep, in dwc3_gadget_endpoint_stream_event()
3869 struct dwc3_ep *dep; in dwc3_endpoint_interrupt() local
3949 void dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, in dwc3_stop_active_transfer()
4016 struct dwc3_ep *dep; in dwc3_clear_stall_all_ep() local
4153 struct dwc3_ep *dep; in dwc3_gadget_conndone_interrupt() local