Lines Matching refs:dwc2_hsotg_ep

42 static inline struct dwc2_hsotg_ep *our_ep(struct usb_ep *ep)
44 return container_of(ep, struct dwc2_hsotg_ep, ep);
62 static inline struct dwc2_hsotg_ep *index_to_ep(struct dwc2_hsotg *hsotg,
116 static inline void dwc2_gadget_incr_frame_num(struct dwc2_hsotg_ep *hs_ep)
143 static inline void dwc2_gadget_dec_frame_num_by_one(struct dwc2_hsotg_ep *hs_ep)
417 static inline int is_ep_periodic(struct dwc2_hsotg_ep *hs_ep)
432 struct dwc2_hsotg_ep *hs_ep,
505 struct dwc2_hsotg_ep *hs_ep,
668 static unsigned int get_ep_limit(struct dwc2_hsotg_ep *hs_ep)
726 static unsigned int dwc2_gadget_get_chain_limit(struct dwc2_hsotg_ep *hs_ep)
766 static u32 dwc2_gadget_get_desc_params(struct dwc2_hsotg_ep *hs_ep, u32 *mask)
802 static void dwc2_gadget_fill_nonisoc_xfer_ddma_one(struct dwc2_hsotg_ep *hs_ep,
868 static void dwc2_gadget_config_nonisoc_xfer_ddma(struct dwc2_hsotg_ep *hs_ep,
910 static int dwc2_gadget_fill_isoc_desc(struct dwc2_hsotg_ep *hs_ep,
981 static void dwc2_gadget_start_isoc_ddma(struct dwc2_hsotg_ep *hs_ep)
1033 static bool dwc2_gadget_target_frame_elapsed(struct dwc2_hsotg_ep *hs_ep);
1035 struct dwc2_hsotg_ep *hs_ep,
1050 struct dwc2_hsotg_ep *hs_ep,
1265 struct dwc2_hsotg_ep *hs_ep,
1285 struct dwc2_hsotg_ep *hs_ep,
1318 struct dwc2_hsotg_ep *hs_ep,
1347 static bool dwc2_gadget_target_frame_elapsed(struct dwc2_hsotg_ep *hs_ep)
1377 struct dwc2_hsotg_ep *hs_ep)
1407 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
1526 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
1557 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
1573 static struct dwc2_hsotg_ep *ep_from_windex(struct dwc2_hsotg *hsotg,
1625 struct dwc2_hsotg_ep *ep,
1670 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0];
1671 struct dwc2_hsotg_ep *ep;
1729 static struct dwc2_hsotg_req *get_ep_head(struct dwc2_hsotg_ep *hs_ep)
1743 static void dwc2_gadget_start_next_request(struct dwc2_hsotg_ep *hs_ep)
1774 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0];
1777 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);
4235 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4283 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4299 static bool on_list(struct dwc2_hsotg_ep *ep, struct dwc2_hsotg_req *test)
4319 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4354 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4431 struct dwc2_hsotg_ep *hs_ep = our_ep(ep);
4736 struct dwc2_hsotg_ep *hs_ep,
4821 sizeof(struct dwc2_hsotg_ep),
4825 /* Same dwc2_hsotg_ep is used in both directions for ep0 */
4834 sizeof(struct dwc2_hsotg_ep), GFP_KERNEL);
4841 sizeof(struct dwc2_hsotg_ep), GFP_KERNEL);