dwc3_ep
u32 dwc3_core_fifo_space(struct dwc3_ep *dep, u8 type)
struct dwc3_ep *eps[DWC3_ENDPOINTS_NUM];
u32 dwc3_core_fifo_space(struct dwc3_ep *dep, u8 type);
int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd,
void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status);
static inline int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd,
struct dwc3_ep *dep;
extern void dwc3_debugfs_create_endpoint_dir(struct dwc3_ep *dep);
extern void dwc3_debugfs_remove_endpoint_dir(struct dwc3_ep *dep);
static inline void dwc3_debugfs_create_endpoint_dir(struct dwc3_ep *dep)
static inline void dwc3_debugfs_remove_endpoint_dir(struct dwc3_ep *dep)
struct dwc3_ep *dep = s->private;
struct dwc3_ep *dep = s->private;
struct dwc3_ep *dep = s->private;
struct dwc3_ep *dep = s->private;
struct dwc3_ep *dep = s->private;
struct dwc3_ep *dep = s->private;
struct dwc3_ep *dep = s->private;
struct dwc3_ep *dep = s->private;
struct dwc3_ep *dep = s->private;
struct dwc3_ep *dep = s->private;
void dwc3_debugfs_create_endpoint_dir(struct dwc3_ep *dep)
void dwc3_debugfs_remove_endpoint_dir(struct dwc3_ep *dep)
static int dwc3_ep0_start_control_status(struct dwc3_ep *dep)
static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep)
struct dwc3_ep *dep = dwc->eps[event->endpoint_number];
void dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep)
struct dwc3_ep *dep = dwc->eps[dwc->ep0_expect_in];
struct dwc3_ep *dep = dwc->eps[0];
struct dwc3_ep *dep = dwc->eps[event->endpoint_number];
struct dwc3_ep *dep = to_dwc3_ep(ep);
struct dwc3_ep *dep;
struct dwc3_ep *dep = to_dwc3_ep(ep);
struct dwc3_ep *dep = to_dwc3_ep(ep);
struct dwc3_ep *dep;
struct dwc3_ep *dwc3_ep;
dwc3_ep = dwc->eps[i];
if (!dwc3_ep)
static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep);
if (!(dwc3_ep->flags & DWC3_EP_DELAY_STOP))
dwc3_ep->flags &= ~DWC3_EP_DELAY_STOP;
dwc3_stop_active_transfer(dwc3_ep, true, true);
dwc3_remove_requests(dwc, dwc3_ep, -ESHUTDOWN);
static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le)
struct dwc3_ep *dep;
struct dwc3_ep *dep, struct dwc3_request *req);
struct dwc3_ep *dep;
static void dwc3_ep0_prepare_one_trb(struct dwc3_ep *dep,
struct dwc3_ep *dep;
static int dwc3_ep0_start_trans(struct dwc3_ep *dep)
struct dwc3_ep *dep = to_dwc3_ep(ep);
struct dwc3_ep *dep;
struct dwc3_ep *ep0;
static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep,
struct dwc3_ep *dep;
struct dwc3_ep *dep = dwc->eps[event->endpoint_number];
struct dwc3_ep *dep, struct dwc3_request *req)
void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status)
static int __dwc3_gadget_ep_disable(struct dwc3_ep *dep)
struct dwc3_ep *dep;
struct dwc3_ep *dep;
struct dwc3_ep *dep = to_dwc3_ep(ep);
static struct dwc3_trb *dwc3_ep_prev_trb(struct dwc3_ep *dep, u8 index)
static u32 dwc3_calc_trbs_left(struct dwc3_ep *dep)
static void dwc3_prepare_one_trb(struct dwc3_ep *dep,
static bool dwc3_needs_extra_trb(struct dwc3_ep *dep, struct dwc3_request *req)
static int dwc3_prepare_last_sg(struct dwc3_ep *dep,
static int dwc3_prepare_trbs_sg(struct dwc3_ep *dep,
static int dwc3_prepare_trbs_linear(struct dwc3_ep *dep,
static int dwc3_prepare_trbs(struct dwc3_ep *dep)
static void dwc3_gadget_ep_cleanup_cancelled_requests(struct dwc3_ep *dep);
static int __dwc3_gadget_kick_transfer(struct dwc3_ep *dep)
static int __dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool interrupt)
static void dwc3_ep_inc_enq(struct dwc3_ep *dep)
static int dwc3_gadget_start_isoc_quirk(struct dwc3_ep *dep)
static void dwc3_ep_inc_deq(struct dwc3_ep *dep)
static int __dwc3_gadget_start_isoc(struct dwc3_ep *dep)
static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep,
static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req)
struct dwc3_ep *dep = to_dwc3_ep(ep);
static void dwc3_gadget_ep_skip_trbs(struct dwc3_ep *dep, struct dwc3_request *req)
static void dwc3_gadget_ep_cleanup_cancelled_requests(struct dwc3_ep *dep)
struct dwc3_ep *dep = to_dwc3_ep(ep);
int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol)
void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req,
struct dwc3_ep *dep = to_dwc3_ep(ep);
struct dwc3_ep *dep = to_dwc3_ep(ep);
struct dwc3_ep *dep;
struct dwc3_ep *dep;
int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd,
static int dwc3_gadget_init_control_endpoint(struct dwc3_ep *dep)
static int dwc3_gadget_init_in_endpoint(struct dwc3_ep *dep)
static int dwc3_gadget_init_out_endpoint(struct dwc3_ep *dep)
#define nostream_work_to_dep(w) (container_of(to_delayed_work(w), struct dwc3_ep, nostream_work))
struct dwc3_ep *dep = nostream_work_to_dep(work);
struct dwc3_ep *dep;
struct dwc3_ep *dep;
static int dwc3_gadget_ep_reclaim_completed_trb(struct dwc3_ep *dep,
static int dwc3_gadget_ep_reclaim_trb_sg(struct dwc3_ep *dep,
static int dwc3_gadget_ep_cleanup_completed_request(struct dwc3_ep *dep,
static void dwc3_gadget_ep_cleanup_completed_requests(struct dwc3_ep *dep,
static bool dwc3_gadget_ep_should_continue(struct dwc3_ep *dep)
static void dwc3_gadget_endpoint_frame_from_event(struct dwc3_ep *dep,
static bool dwc3_gadget_endpoint_trbs_complete(struct dwc3_ep *dep,
static void dwc3_gadget_endpoint_transfer_in_progress(struct dwc3_ep *dep,
static void dwc3_gadget_endpoint_transfer_complete(struct dwc3_ep *dep,
static void dwc3_gadget_endpoint_transfer_not_ready(struct dwc3_ep *dep,
static void dwc3_gadget_endpoint_command_complete(struct dwc3_ep *dep,
static void dwc3_gadget_endpoint_stream_event(struct dwc3_ep *dep,
struct dwc3_ep *dep;
void dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force,
struct dwc3_ep *dep;
struct dwc3_ep *dep;
static int dwc3_send_clear_stall_ep_cmd(struct dwc3_ep *dep)
static dma_addr_t dwc3_trb_dma_offset(struct dwc3_ep *dep,
static int dwc3_alloc_trb_pool(struct dwc3_ep *dep)
static void dwc3_free_trb_pool(struct dwc3_ep *dep)
static int dwc3_gadget_set_xfer_resource(struct dwc3_ep *dep)
struct dwc3_ep *dep;
static int dwc3_gadget_set_ep_config(struct dwc3_ep *dep, unsigned int action)
struct dwc3_ep *dep;
static int dwc3_gadget_resize_tx_fifos(struct dwc3_ep *dep)
static int __dwc3_gadget_ep_enable(struct dwc3_ep *dep, unsigned int action)
struct dwc3_ep *dep = req->dep;
void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req,
void dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep);
int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol);
void dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool interrupt);
static inline void dwc3_gadget_ep_get_transfer_index(struct dwc3_ep *dep)
#define to_dwc3_ep(ep) (container_of(ep, struct dwc3_ep, endpoint))
struct dwc3_ep *dep = req->dep;
TP_PROTO(struct dwc3_ep *dep, unsigned int cmd,
TP_PROTO(struct dwc3_ep *dep, unsigned int cmd,
TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb),
TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb),
TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb),
TP_PROTO(struct dwc3_ep *dep),
TP_PROTO(struct dwc3_ep *dep),
TP_PROTO(struct dwc3_ep *dep),