H A D | gadget.c | 110 * @hs_ep: The endpoint 115 static inline void dwc2_gadget_incr_frame_num(struct dwc2_hsotg_ep *hs_ep) in dwc2_gadget_incr_frame_num() argument 117 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_incr_frame_num() 123 hs_ep->target_frame += hs_ep->interval; in dwc2_gadget_incr_frame_num() 124 if (hs_ep->target_frame > limit) { in dwc2_gadget_incr_frame_num() 125 hs_ep->frame_overrun = true; in dwc2_gadget_incr_frame_num() 126 hs_ep->target_frame &= limit; in dwc2_gadget_incr_frame_num() 128 hs_ep->frame_overrun = false; in dwc2_gadget_incr_frame_num() 135 * @hs_ep 142 dwc2_gadget_dec_frame_num_by_one(struct dwc2_hsotg_ep * hs_ep) dwc2_gadget_dec_frame_num_by_one() argument 416 is_ep_periodic(struct dwc2_hsotg_ep * hs_ep) is_ep_periodic() argument 431 dwc2_hsotg_unmap_dma(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep,struct dwc2_hsotg_req * hs_req) dwc2_hsotg_unmap_dma() argument 504 dwc2_hsotg_write_fifo(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep,struct dwc2_hsotg_req * hs_req) dwc2_hsotg_write_fifo() argument 667 get_ep_limit(struct dwc2_hsotg_ep * hs_ep) get_ep_limit() argument 725 dwc2_gadget_get_chain_limit(struct dwc2_hsotg_ep * hs_ep) dwc2_gadget_get_chain_limit() argument 765 dwc2_gadget_get_desc_params(struct dwc2_hsotg_ep * hs_ep,u32 * mask) dwc2_gadget_get_desc_params() argument 801 dwc2_gadget_fill_nonisoc_xfer_ddma_one(struct dwc2_hsotg_ep * hs_ep,struct dwc2_dma_desc ** desc,dma_addr_t dma_buff,unsigned int len,bool true_last) dwc2_gadget_fill_nonisoc_xfer_ddma_one() argument 867 dwc2_gadget_config_nonisoc_xfer_ddma(struct dwc2_hsotg_ep * hs_ep,dma_addr_t dma_buff,unsigned int len) dwc2_gadget_config_nonisoc_xfer_ddma() argument 909 dwc2_gadget_fill_isoc_desc(struct dwc2_hsotg_ep * hs_ep,dma_addr_t dma_buff,unsigned int len) dwc2_gadget_fill_isoc_desc() argument 980 dwc2_gadget_start_isoc_ddma(struct dwc2_hsotg_ep * hs_ep) dwc2_gadget_start_isoc_ddma() argument 1049 dwc2_hsotg_start_req(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep,struct dwc2_hsotg_req * hs_req,bool continuing) dwc2_hsotg_start_req() argument 1264 dwc2_hsotg_map_dma(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep,struct usb_request * req) dwc2_hsotg_map_dma() argument 1284 dwc2_hsotg_handle_unaligned_buf_start(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep,struct dwc2_hsotg_req * hs_req) dwc2_hsotg_handle_unaligned_buf_start() argument 1317 dwc2_hsotg_handle_unaligned_buf_complete(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep,struct dwc2_hsotg_req * hs_req) dwc2_hsotg_handle_unaligned_buf_complete() argument 1346 dwc2_gadget_target_frame_elapsed(struct dwc2_hsotg_ep * hs_ep) dwc2_gadget_target_frame_elapsed() argument 1376 dwc2_gadget_set_ep0_desc_chain(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep) dwc2_gadget_set_ep0_desc_chain() argument 1406 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); dwc2_hsotg_ep_queue() local 1529 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); dwc2_hsotg_ep_queue_lock() local 1560 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); dwc2_hsotg_complete_oursetup() local 1732 get_ep_head(struct dwc2_hsotg_ep * hs_ep) get_ep_head() argument 1746 dwc2_gadget_start_next_request(struct dwc2_hsotg_ep * hs_ep) dwc2_gadget_start_next_request() argument 2015 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); dwc2_hsotg_complete_setup() local 2071 dwc2_hsotg_program_zlp(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep) dwc2_hsotg_program_zlp() argument 2119 dwc2_hsotg_complete_request(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep,struct dwc2_hsotg_req * hs_req,int result) dwc2_hsotg_complete_request() argument 2181 dwc2_gadget_complete_isoc_request_ddma(struct dwc2_hsotg_ep * hs_ep) dwc2_gadget_complete_isoc_request_ddma() argument 2240 dwc2_gadget_handle_isoc_bna(struct dwc2_hsotg_ep * hs_ep) dwc2_gadget_handle_isoc_bna() argument 2265 struct dwc2_hsotg_ep *hs_ep = hsotg->eps_out[ep_idx]; dwc2_hsotg_rx_data() local 2343 dwc2_gadget_get_xfersize_ddma(struct dwc2_hsotg_ep * hs_ep) dwc2_gadget_get_xfersize_ddma() argument 2393 struct dwc2_hsotg_ep *hs_ep = hsotg->eps_out[epnum]; dwc2_hsotg_handle_outdone() local 2585 struct dwc2_hsotg_ep *hs_ep; dwc2_hsotg_set_ep_maxpacket() local 2653 dwc2_hsotg_trytx(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep) dwc2_hsotg_trytx() argument 2686 dwc2_hsotg_complete_in(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep) dwc2_hsotg_complete_in() argument 2824 dwc2_gadget_handle_ep_disabled(struct dwc2_hsotg_ep * hs_ep) dwc2_gadget_handle_ep_disabled() argument 2956 dwc2_gadget_handle_nak(struct dwc2_hsotg_ep * hs_ep) dwc2_gadget_handle_nak() argument 3042 struct dwc2_hsotg_ep *hs_ep = index_to_ep(hsotg, idx, dir_in); dwc2_hsotg_epint() local 3619 struct dwc2_hsotg_ep *hs_ep; dwc2_gadget_handle_incomplete_isoc_in() local 3666 struct dwc2_hsotg_ep *hs_ep; dwc2_gadget_handle_incomplete_isoc_out() local 3844 struct dwc2_hsotg_ep *hs_ep; dwc2_hsotg_irq() local 3915 dwc2_hsotg_ep_stop_xfr(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep) dwc2_hsotg_ep_stop_xfr() argument 4017 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); dwc2_hsotg_ep_enable() local 4246 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); dwc2_hsotg_ep_disable() local 4294 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); dwc2_hsotg_ep_disable_lock() local 4330 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); dwc2_hsotg_ep_dequeue() local 4360 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); dwc2_gadget_ep_set_wedge() local 4386 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); dwc2_hsotg_ep_sethalt() local 4465 struct dwc2_hsotg_ep *hs_ep = our_ep(ep); dwc2_hsotg_ep_sethalt_lock() local 4798 dwc2_hsotg_initep(struct dwc2_hsotg * hsotg,struct dwc2_hsotg_ep * hs_ep,int epnum,bool dir_in) dwc2_hsotg_initep() argument [all...] |