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()
1892 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; in dwc2_hsotg_stall_ep0()
1932 struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; in dwc2_hsotg_process_control()
2012 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_complete_setup()
2068 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_program_zlp()
2116 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_complete_request()
2178 static void dwc2_gadget_complete_isoc_request_ddma(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_complete_isoc_request_ddma()
2237 static void dwc2_gadget_handle_isoc_bna(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_handle_isoc_bna()
2262 struct dwc2_hsotg_ep *hs_ep = hsotg->eps_out[ep_idx]; in dwc2_hsotg_rx_data()
2340 static unsigned int dwc2_gadget_get_xfersize_ddma(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_get_xfersize_ddma()
2390 struct dwc2_hsotg_ep *hs_ep = hsotg->eps_out[epnum]; in dwc2_hsotg_handle_outdone()
2582 struct dwc2_hsotg_ep *hs_ep; in dwc2_hsotg_set_ep_maxpacket()
2650 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_trytx()
2683 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_complete_in()
2821 static void dwc2_gadget_handle_ep_disabled(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_handle_ep_disabled()
2885 static void dwc2_gadget_handle_out_token_ep_disabled(struct dwc2_hsotg_ep *ep) in dwc2_gadget_handle_out_token_ep_disabled()
2937 struct dwc2_hsotg_ep *hs_ep);
2953 static void dwc2_gadget_handle_nak(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_handle_nak()
3039 struct dwc2_hsotg_ep *hs_ep = index_to_ep(hsotg, idx, dir_in); in dwc2_hsotg_epint()
3284 struct dwc2_hsotg_ep *ep, in kill_all_requests()
3345 struct dwc2_hsotg_ep *ep; in dwc2_hsotg_irq_fifoempty()
3616 struct dwc2_hsotg_ep *hs_ep; in dwc2_gadget_handle_incomplete_isoc_in()
3663 struct dwc2_hsotg_ep *hs_ep; in dwc2_gadget_handle_incomplete_isoc_out()
3835 struct dwc2_hsotg_ep *hs_ep; in dwc2_hsotg_irq()
3906 struct dwc2_hsotg_ep *hs_ep) in dwc2_hsotg_ep_stop_xfr()
4008 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_enable()
4237 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_disable()
4285 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_disable_lock()
4301 static bool on_list(struct dwc2_hsotg_ep *ep, struct dwc2_hsotg_req *test) in on_list()
4321 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_dequeue()
4351 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_gadget_ep_set_wedge()
4377 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_sethalt()
4456 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); in dwc2_hsotg_ep_sethalt_lock()
4789 struct dwc2_hsotg_ep *hs_ep, in dwc2_hsotg_initep()
4874 sizeof(struct dwc2_hsotg_ep), in dwc2_hsotg_hw_cfg()
4887 sizeof(struct dwc2_hsotg_ep), GFP_KERNEL); in dwc2_hsotg_hw_cfg()
4894 sizeof(struct dwc2_hsotg_ep), GFP_KERNEL); in dwc2_hsotg_hw_cfg()