Lines Matching refs:dwc2_hsotg_ep
42 static inline struct dwc2_hsotg_ep *our_ep(struct usb_ep *ep) in our_ep()
44 return container_of(ep, struct dwc2_hsotg_ep, ep); in our_ep()
62 static inline struct dwc2_hsotg_ep *index_to_ep(struct dwc2_hsotg *hsotg, in index_to_ep()
116 static inline void dwc2_gadget_incr_frame_num(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_incr_frame_num()
143 static inline void dwc2_gadget_dec_frame_num_by_one(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_dec_frame_num_by_one()
417 static inline int is_ep_periodic(struct dwc2_hsotg_ep *hs_ep) in is_ep_periodic()
432 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_unmap_dma()
505 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_write_fifo()
668 static unsigned int get_ep_limit(struct dwc2_hsotg_ep *hs_ep) in get_ep_limit()
726 static unsigned int dwc2_gadget_get_chain_limit(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_get_chain_limit()
766 static u32 dwc2_gadget_get_desc_params(struct dwc2_hsotg_ep *hs_ep, u32 *mask) in dwc2_gadget_get_desc_params()
802 static void dwc2_gadget_fill_nonisoc_xfer_ddma_one(struct dwc2_hsotg_ep *hs_ep, in dwc2_gadget_fill_nonisoc_xfer_ddma_one()
868 static void dwc2_gadget_config_nonisoc_xfer_ddma(struct dwc2_hsotg_ep *hs_ep, in dwc2_gadget_config_nonisoc_xfer_ddma()
910 static int dwc2_gadget_fill_isoc_desc(struct dwc2_hsotg_ep *hs_ep, in dwc2_gadget_fill_isoc_desc()
981 static void dwc2_gadget_start_isoc_ddma(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_start_isoc_ddma()
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, in dwc2_hsotg_start_req()
1265 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_map_dma()
1285 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_handle_unaligned_buf_start()
1318 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_handle_unaligned_buf_complete()
1347 static bool dwc2_gadget_target_frame_elapsed(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_target_frame_elapsed()
1377 struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_set_ep0_desc_chain()
1407 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_queue()
1526 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_queue_lock()
1557 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_complete_oursetup()
1573 static struct dwc2_hsotg_ep *ep_from_windex(struct dwc2_hsotg *hsotg, in ep_from_windex()
1625 struct dwc2_hsotg_ep *ep, in dwc2_hsotg_send_reply()
1670 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; in dwc2_hsotg_process_req_status()
1671 struct dwc2_hsotg_ep *ep; in dwc2_hsotg_process_req_status()
1729 static struct dwc2_hsotg_req *get_ep_head(struct dwc2_hsotg_ep *hs_ep) in get_ep_head()
1743 static void dwc2_gadget_start_next_request(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_start_next_request()
1774 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; in dwc2_hsotg_process_req_feature()
1777 struct dwc2_hsotg_ep *ep; in dwc2_hsotg_process_req_feature()
1891 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; in dwc2_hsotg_stall_ep0()
1931 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; in dwc2_hsotg_process_control()
2011 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_complete_setup()
2067 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_program_zlp()
2115 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_complete_request()
2177 static void dwc2_gadget_complete_isoc_request_ddma(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_complete_isoc_request_ddma()
2236 static void dwc2_gadget_handle_isoc_bna(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_handle_isoc_bna()
2261 struct dwc2_hsotg_ep *hs_ep = hsotg->eps_out[ep_idx]; in dwc2_hsotg_rx_data()
2339 static unsigned int dwc2_gadget_get_xfersize_ddma(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_get_xfersize_ddma()
2389 struct dwc2_hsotg_ep *hs_ep = hsotg->eps_out[epnum]; in dwc2_hsotg_handle_outdone()
2581 struct dwc2_hsotg_ep *hs_ep; in dwc2_hsotg_set_ep_maxpacket()
2649 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_trytx()
2682 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_complete_in()
2820 static void dwc2_gadget_handle_ep_disabled(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_handle_ep_disabled()
2884 static void dwc2_gadget_handle_out_token_ep_disabled(struct dwc2_hsotg_ep *ep) in dwc2_gadget_handle_out_token_ep_disabled()
2936 struct dwc2_hsotg_ep *hs_ep);
2952 static void dwc2_gadget_handle_nak(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_handle_nak()
3038 struct dwc2_hsotg_ep *hs_ep = index_to_ep(hsotg, idx, dir_in); in dwc2_hsotg_epint()
3283 struct dwc2_hsotg_ep *ep, in kill_all_requests()
3344 struct dwc2_hsotg_ep *ep; in dwc2_hsotg_irq_fifoempty()
3615 struct dwc2_hsotg_ep *hs_ep; in dwc2_gadget_handle_incomplete_isoc_in()
3662 struct dwc2_hsotg_ep *hs_ep; in dwc2_gadget_handle_incomplete_isoc_out()
3834 struct dwc2_hsotg_ep *hs_ep; in dwc2_hsotg_irq()
3905 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_ep_stop_xfr()
4007 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_enable()
4235 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_disable()
4283 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_disable_lock()
4299 static bool on_list(struct dwc2_hsotg_ep *ep, struct dwc2_hsotg_req *test) in on_list()
4319 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_dequeue()
4354 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_sethalt()
4431 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_sethalt_lock()
4736 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_initep()
4821 sizeof(struct dwc2_hsotg_ep), in dwc2_hsotg_hw_cfg()
4834 sizeof(struct dwc2_hsotg_ep), GFP_KERNEL); in dwc2_hsotg_hw_cfg()
4841 sizeof(struct dwc2_hsotg_ep), GFP_KERNEL); in dwc2_hsotg_hw_cfg()