Lines Matching refs:dwc2_hsotg_ep
43 static inline struct dwc2_hsotg_ep *our_ep(struct usb_ep *ep) in our_ep()
45 return container_of(ep, struct dwc2_hsotg_ep, ep); in our_ep()
63 static inline struct dwc2_hsotg_ep *index_to_ep(struct dwc2_hsotg *hsotg, in index_to_ep()
134 static inline void dwc2_gadget_incr_frame_num(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_incr_frame_num()
162 static inline void dwc2_gadget_dec_frame_num_by_one(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_dec_frame_num_by_one()
436 static inline int is_ep_periodic(struct dwc2_hsotg_ep *hs_ep) in is_ep_periodic()
451 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_unmap_dma()
524 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_write_fifo()
687 static unsigned int get_ep_limit(struct dwc2_hsotg_ep *hs_ep) in get_ep_limit()
728 static unsigned int dwc2_gadget_get_chain_limit(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_get_chain_limit()
768 static u32 dwc2_gadget_get_desc_params(struct dwc2_hsotg_ep *hs_ep, u32 *mask) in dwc2_gadget_get_desc_params()
804 static void dwc2_gadget_fill_nonisoc_xfer_ddma_one(struct dwc2_hsotg_ep *hs_ep, in dwc2_gadget_fill_nonisoc_xfer_ddma_one()
870 static void dwc2_gadget_config_nonisoc_xfer_ddma(struct dwc2_hsotg_ep *hs_ep, in dwc2_gadget_config_nonisoc_xfer_ddma()
912 static int dwc2_gadget_fill_isoc_desc(struct dwc2_hsotg_ep *hs_ep, in dwc2_gadget_fill_isoc_desc()
983 static void dwc2_gadget_start_isoc_ddma(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_start_isoc_ddma()
1035 static bool dwc2_gadget_target_frame_elapsed(struct dwc2_hsotg_ep *hs_ep);
1037 struct dwc2_hsotg_ep *hs_ep,
1052 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_start_req()
1267 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_map_dma()
1287 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_handle_unaligned_buf_start()
1320 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_handle_unaligned_buf_complete()
1349 static bool dwc2_gadget_target_frame_elapsed(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_target_frame_elapsed()
1379 struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_set_ep0_desc_chain()
1405 static void dwc2_gadget_start_next_request(struct dwc2_hsotg_ep *hs_ep);
1411 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_queue()
1544 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_queue_lock()
1575 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_complete_oursetup()
1591 static struct dwc2_hsotg_ep *ep_from_windex(struct dwc2_hsotg *hsotg, in ep_from_windex()
1643 struct dwc2_hsotg_ep *ep, in dwc2_hsotg_send_reply()
1688 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; in dwc2_hsotg_process_req_status()
1689 struct dwc2_hsotg_ep *ep; in dwc2_hsotg_process_req_status()
1747 static struct dwc2_hsotg_req *get_ep_head(struct dwc2_hsotg_ep *hs_ep) in get_ep_head()
1761 static void dwc2_gadget_start_next_request(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_start_next_request()
1792 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; in dwc2_hsotg_process_req_feature()
1795 struct dwc2_hsotg_ep *ep; in dwc2_hsotg_process_req_feature()
1909 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; in dwc2_hsotg_stall_ep0()
1949 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; in dwc2_hsotg_process_control()
2029 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_complete_setup()
2085 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_program_zlp()
2133 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_complete_request()
2195 static void dwc2_gadget_complete_isoc_request_ddma(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_complete_isoc_request_ddma()
2254 static void dwc2_gadget_handle_isoc_bna(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_handle_isoc_bna()
2279 struct dwc2_hsotg_ep *hs_ep = hsotg->eps_out[ep_idx]; in dwc2_hsotg_rx_data()
2357 static unsigned int dwc2_gadget_get_xfersize_ddma(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_get_xfersize_ddma()
2407 struct dwc2_hsotg_ep *hs_ep = hsotg->eps_out[epnum]; in dwc2_hsotg_handle_outdone()
2599 struct dwc2_hsotg_ep *hs_ep; in dwc2_hsotg_set_ep_maxpacket()
2667 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_trytx()
2700 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_complete_in()
2838 static void dwc2_gadget_handle_ep_disabled(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_handle_ep_disabled()
2902 static void dwc2_gadget_handle_out_token_ep_disabled(struct dwc2_hsotg_ep *ep) in dwc2_gadget_handle_out_token_ep_disabled()
2954 struct dwc2_hsotg_ep *hs_ep);
2970 static void dwc2_gadget_handle_nak(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_handle_nak()
3073 struct dwc2_hsotg_ep *hs_ep = index_to_ep(hsotg, idx, dir_in); in dwc2_hsotg_epint()
3318 struct dwc2_hsotg_ep *ep, in kill_all_requests()
3379 struct dwc2_hsotg_ep *ep; in dwc2_hsotg_irq_fifoempty()
3650 struct dwc2_hsotg_ep *hs_ep; in dwc2_gadget_handle_incomplete_isoc_in()
3697 struct dwc2_hsotg_ep *hs_ep; in dwc2_gadget_handle_incomplete_isoc_out()
3869 struct dwc2_hsotg_ep *hs_ep; in dwc2_hsotg_irq()
3940 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_ep_stop_xfr()
4042 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_enable()
4270 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_disable()
4318 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_disable_lock()
4334 static bool on_list(struct dwc2_hsotg_ep *ep, struct dwc2_hsotg_req *test) in on_list()
4354 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_dequeue()
4389 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_sethalt()
4466 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_sethalt_lock()
4784 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_initep()
4869 sizeof(struct dwc2_hsotg_ep), in dwc2_hsotg_hw_cfg()
4882 sizeof(struct dwc2_hsotg_ep), GFP_KERNEL); in dwc2_hsotg_hw_cfg()
4889 sizeof(struct dwc2_hsotg_ep), GFP_KERNEL); in dwc2_hsotg_hw_cfg()