Lines Matching refs:dwc2_hsotg_ep

41 static inline struct dwc2_hsotg_ep *our_ep(struct usb_ep *ep)
43 return container_of(ep, struct dwc2_hsotg_ep, ep);
61 static inline struct dwc2_hsotg_ep *index_to_ep(struct dwc2_hsotg *hsotg,
115 static inline void dwc2_gadget_incr_frame_num(struct dwc2_hsotg_ep *hs_ep)
142 static inline void dwc2_gadget_dec_frame_num_by_one(struct dwc2_hsotg_ep *hs_ep)
416 static inline int is_ep_periodic(struct dwc2_hsotg_ep *hs_ep)
431 struct dwc2_hsotg_ep *hs_ep,
504 struct dwc2_hsotg_ep *hs_ep,
667 static unsigned int get_ep_limit(struct dwc2_hsotg_ep *hs_ep)
725 static unsigned int dwc2_gadget_get_chain_limit(struct dwc2_hsotg_ep *hs_ep)
765 static u32 dwc2_gadget_get_desc_params(struct dwc2_hsotg_ep *hs_ep, u32 *mask)
801 static void dwc2_gadget_fill_nonisoc_xfer_ddma_one(struct dwc2_hsotg_ep *hs_ep,
867 static void dwc2_gadget_config_nonisoc_xfer_ddma(struct dwc2_hsotg_ep *hs_ep,
909 static int dwc2_gadget_fill_isoc_desc(struct dwc2_hsotg_ep *hs_ep,
980 static void dwc2_gadget_start_isoc_ddma(struct dwc2_hsotg_ep *hs_ep)
1032 static bool dwc2_gadget_target_frame_elapsed(struct dwc2_hsotg_ep *hs_ep);
1034 struct dwc2_hsotg_ep *hs_ep,
1049 struct dwc2_hsotg_ep *hs_ep,
1264 struct dwc2_hsotg_ep *hs_ep,
1284 struct dwc2_hsotg_ep *hs_ep,
1317 struct dwc2_hsotg_ep *hs_ep,
1346 static bool dwc2_gadget_target_frame_elapsed(struct dwc2_hsotg_ep *hs_ep)
1376 struct dwc2_hsotg_ep *hs_ep)
1406 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
1525 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
1556 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
1572 static struct dwc2_hsotg_ep *ep_from_windex(struct dwc2_hsotg *hsotg,
1624 struct dwc2_hsotg_ep *ep,
1669 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0];
1670 struct dwc2_hsotg_ep *ep;
1728 static struct dwc2_hsotg_req *get_ep_head(struct dwc2_hsotg_ep *hs_ep)
1742 static void dwc2_gadget_start_next_request(struct dwc2_hsotg_ep *hs_ep)
1773 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0];
1776 struct dwc2_hsotg_ep *ep;
1891 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0];
1931 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0];
2011 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
2067 struct dwc2_hsotg_ep *hs_ep)
2115 struct dwc2_hsotg_ep *hs_ep,
2177 static void dwc2_gadget_complete_isoc_request_ddma(struct dwc2_hsotg_ep *hs_ep)
2236 static void dwc2_gadget_handle_isoc_bna(struct dwc2_hsotg_ep *hs_ep)
2261 struct dwc2_hsotg_ep *hs_ep = hsotg->eps_out[ep_idx];
2339 static unsigned int dwc2_gadget_get_xfersize_ddma(struct dwc2_hsotg_ep *hs_ep)
2389 struct dwc2_hsotg_ep *hs_ep = hsotg->eps_out[epnum];
2581 struct dwc2_hsotg_ep *hs_ep;
2649 struct dwc2_hsotg_ep *hs_ep)
2682 struct dwc2_hsotg_ep *hs_ep)
2820 static void dwc2_gadget_handle_ep_disabled(struct dwc2_hsotg_ep *hs_ep)
2884 static void dwc2_gadget_handle_out_token_ep_disabled(struct dwc2_hsotg_ep *ep)
2936 struct dwc2_hsotg_ep *hs_ep);
2952 static void dwc2_gadget_handle_nak(struct dwc2_hsotg_ep *hs_ep)
3038 struct dwc2_hsotg_ep *hs_ep = index_to_ep(hsotg, idx, dir_in);
3283 struct dwc2_hsotg_ep *ep,
3344 struct dwc2_hsotg_ep *ep;
3615 struct dwc2_hsotg_ep *hs_ep;
3662 struct dwc2_hsotg_ep *hs_ep;
3834 struct dwc2_hsotg_ep *hs_ep;
3905 struct dwc2_hsotg_ep *hs_ep)
4007 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4236 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4284 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4300 static bool on_list(struct dwc2_hsotg_ep *ep, struct dwc2_hsotg_req *test)
4320 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4350 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4376 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4455 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4788 struct dwc2_hsotg_ep *hs_ep,
4873 sizeof(struct dwc2_hsotg_ep),
4877 /* Same dwc2_hsotg_ep is used in both directions for ep0 */
4886 sizeof(struct dwc2_hsotg_ep), GFP_KERNEL);
4893 sizeof(struct dwc2_hsotg_ep), GFP_KERNEL);