| H A D | cdns3-gadget.c | 76 static int cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep, 79 static int cdns3_ep_run_stream_transfer(struct cdns3_endpoint *priv_ep, 116 struct cdns3_endpoint *priv_ep) in cdns3_get_dma_pos() argument 120 dma_index = readl(&priv_dev->regs->ep_traddr) - priv_ep->trb_pool_dma; in cdns3_get_dma_pos() 187 dma_addr_t cdns3_trb_virt_to_dma(struct cdns3_endpoint *priv_ep, in cdns3_trb_virt_to_dma() argument 190 u32 offset = (char *)trb - (char *)priv_ep->trb_pool; in cdns3_trb_virt_to_dma() 192 return priv_ep->trb_pool_dma + offset; in cdns3_trb_virt_to_dma() 195 static void cdns3_free_trb_pool(struct cdns3_endpoint *priv_ep) in cdns3_free_trb_pool() argument 197 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_free_trb_pool() 199 if (priv_ep in cdns3_free_trb_pool() 212 cdns3_allocate_trb_pool(struct cdns3_endpoint * priv_ep) cdns3_allocate_trb_pool() argument 262 cdns3_ep_stall_flush(struct cdns3_endpoint * priv_ep) cdns3_ep_stall_flush() argument 325 cdns3_ep_inc_enq(struct cdns3_endpoint * priv_ep) cdns3_ep_inc_enq() argument 335 cdns3_ep_inc_deq(struct cdns3_endpoint * priv_ep) cdns3_ep_inc_deq() argument 385 cdns3_start_all_request(struct cdns3_device * priv_dev,struct cdns3_endpoint * priv_ep) cdns3_start_all_request() argument 436 cdns3_wa2_enable_detection(priv_dev,priv_ep,reg) global() argument 478 cdns3_wa2_descmiss_copy_data(struct cdns3_endpoint * priv_ep,struct usb_request * request) cdns3_wa2_descmiss_copy_data() argument 509 cdns3_wa2_gadget_giveback(struct cdns3_device * priv_dev,struct cdns3_endpoint * priv_ep,struct cdns3_request * priv_req) cdns3_wa2_gadget_giveback() argument 549 cdns3_wa2_gadget_ep_queue(struct cdns3_device * priv_dev,struct cdns3_endpoint * priv_ep,struct cdns3_request * priv_req) cdns3_wa2_gadget_ep_queue() argument 616 cdns3_wa2_remove_old_request(struct cdns3_endpoint * priv_ep) cdns3_wa2_remove_old_request() argument 646 cdns3_wa2_descmissing_packet(struct cdns3_endpoint * priv_ep) cdns3_wa2_descmissing_packet() argument 792 cdns3_gadget_giveback(struct cdns3_endpoint * priv_ep,struct cdns3_request * priv_req,int status) cdns3_gadget_giveback() argument 846 cdns3_wa1_restore_cycle_bit(struct cdns3_endpoint * priv_ep) cdns3_wa1_restore_cycle_bit() argument 895 struct cdns3_endpoint *priv_ep = priv_req->priv_ep; cdns3_prepare_aligned_request_buf() local 956 cdns3_wa1_update_guard(struct cdns3_endpoint * priv_ep,struct cdns3_trb * trb) cdns3_wa1_update_guard() argument 979 cdns3_wa1_tray_restore_cycle_bit(struct cdns3_device * priv_dev,struct cdns3_endpoint * priv_ep) cdns3_wa1_tray_restore_cycle_bit() argument 991 cdns3_ep_run_stream_transfer(struct cdns3_endpoint * priv_ep,struct usb_request * request) cdns3_ep_run_stream_transfer() argument 1096 cdns3_rearm_drdy_if_needed(struct cdns3_endpoint * priv_ep) cdns3_rearm_drdy_if_needed() argument 1116 cdns3_ep_run_transfer(struct cdns3_endpoint * priv_ep,struct usb_request * request) cdns3_ep_run_transfer() argument 1423 struct cdns3_endpoint *priv_ep; cdns3_set_hw_configuration() local 1485 cdns3_trb_handled(struct cdns3_endpoint * priv_ep,struct cdns3_request * priv_req) cdns3_trb_handled() argument 1549 cdns3_transfer_completed(struct cdns3_device * priv_dev,struct cdns3_endpoint * priv_ep) cdns3_transfer_completed() argument 1652 cdns3_rearm_transfer(struct cdns3_endpoint * priv_ep,u8 rearm) cdns3_rearm_transfer() argument 1672 cdns3_reprogram_tdl(struct cdns3_endpoint * priv_ep) cdns3_reprogram_tdl() argument 1693 cdns3_check_ep_interrupt_proceed(struct cdns3_endpoint * priv_ep) cdns3_check_ep_interrupt_proceed() argument 2061 cdns3_configure_dmult(struct cdns3_device * priv_dev,struct cdns3_endpoint * priv_ep) cdns3_configure_dmult() argument 2099 cdns3_ep_config(struct cdns3_endpoint * priv_ep,bool enable) cdns3_ep_config() argument 2219 cdns3_ep_dir_is_correct(struct usb_endpoint_descriptor * desc,struct cdns3_endpoint * priv_ep) cdns3_ep_dir_is_correct() argument 2230 struct cdns3_endpoint *priv_ep; cdns3_find_available_ep() local 2276 struct cdns3_endpoint *priv_ep; cdns3_gadget_match_ep() local 2315 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); cdns3_gadget_ep_alloc_request() local 2355 struct cdns3_endpoint *priv_ep; cdns3_gadget_ep_enable() local 2493 struct cdns3_endpoint *priv_ep; cdns3_gadget_ep_disable() local 2587 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); __cdns3_gadget_ep_queue() local 2645 struct cdns3_endpoint *priv_ep; cdns3_gadget_ep_queue() local 2690 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); cdns3_gadget_ep_dequeue() local 2766 __cdns3_gadget_ep_set_halt(struct cdns3_endpoint * priv_ep) __cdns3_gadget_ep_set_halt() argument 2787 __cdns3_gadget_ep_clear_halt(struct cdns3_endpoint * priv_ep) __cdns3_gadget_ep_clear_halt() argument 2849 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); cdns3_gadget_ep_set_halt() local 3050 struct cdns3_endpoint *priv_ep; cdns3_gadget_udc_stop() local 3093 struct cdns3_endpoint *priv_ep; cdns3_gadget_check_config() local 3168 struct cdns3_endpoint *priv_ep; cdns3_init_eps() local [all...] |