Lines Matching refs:cdns3_endpoint
74 static int cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep,
77 static int cdns3_ep_run_stream_transfer(struct cdns3_endpoint *priv_ep,
114 struct cdns3_endpoint *priv_ep) in cdns3_get_dma_pos()
185 dma_addr_t cdns3_trb_virt_to_dma(struct cdns3_endpoint *priv_ep, in cdns3_trb_virt_to_dma()
193 static int cdns3_ring_size(struct cdns3_endpoint *priv_ep) in cdns3_ring_size()
208 static void cdns3_free_trb_pool(struct cdns3_endpoint *priv_ep) in cdns3_free_trb_pool()
226 int cdns3_allocate_trb_pool(struct cdns3_endpoint *priv_ep) in cdns3_allocate_trb_pool()
276 static void cdns3_ep_stall_flush(struct cdns3_endpoint *priv_ep) in cdns3_ep_stall_flush()
339 static void cdns3_ep_inc_enq(struct cdns3_endpoint *priv_ep) in cdns3_ep_inc_enq()
349 static void cdns3_ep_inc_deq(struct cdns3_endpoint *priv_ep) in cdns3_ep_inc_deq()
357 struct cdns3_endpoint *priv_ep = priv_req->priv_ep; in cdns3_move_deq_to_next_trb()
412 struct cdns3_endpoint *priv_ep) in cdns3_start_all_request()
507 static void cdns3_wa2_descmiss_copy_data(struct cdns3_endpoint *priv_ep, in cdns3_wa2_descmiss_copy_data()
538 struct cdns3_endpoint *priv_ep, in cdns3_wa2_gadget_giveback()
578 struct cdns3_endpoint *priv_ep, in cdns3_wa2_gadget_ep_queue()
645 static void cdns3_wa2_remove_old_request(struct cdns3_endpoint *priv_ep) in cdns3_wa2_remove_old_request()
675 static void cdns3_wa2_descmissing_packet(struct cdns3_endpoint *priv_ep) in cdns3_wa2_descmissing_packet()
762 struct cdns3_endpoint *outq_ep = priv_dev->eps[outq_ep_num]; in cdns3_wa2_check_outq_status()
821 void cdns3_gadget_giveback(struct cdns3_endpoint *priv_ep, in cdns3_gadget_giveback()
864 static void cdns3_wa1_restore_cycle_bit(struct cdns3_endpoint *priv_ep) in cdns3_wa1_restore_cycle_bit()
913 struct cdns3_endpoint *priv_ep = priv_req->priv_ep; in cdns3_prepare_aligned_request_buf()
964 static int cdns3_wa1_update_guard(struct cdns3_endpoint *priv_ep, in cdns3_wa1_update_guard()
987 struct cdns3_endpoint *priv_ep) in cdns3_wa1_tray_restore_cycle_bit()
999 static int cdns3_ep_run_stream_transfer(struct cdns3_endpoint *priv_ep, in cdns3_ep_run_stream_transfer()
1111 static int cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep, in cdns3_ep_run_transfer()
1367 struct cdns3_endpoint *priv_ep; in cdns3_set_hw_configuration()
1429 static bool cdns3_trb_handled(struct cdns3_endpoint *priv_ep, in cdns3_trb_handled()
1493 struct cdns3_endpoint *priv_ep) in cdns3_transfer_completed()
1584 void cdns3_rearm_transfer(struct cdns3_endpoint *priv_ep, u8 rearm) in cdns3_rearm_transfer()
1604 static void cdns3_reprogram_tdl(struct cdns3_endpoint *priv_ep) in cdns3_reprogram_tdl()
1625 static int cdns3_check_ep_interrupt_proceed(struct cdns3_endpoint *priv_ep) in cdns3_check_ep_interrupt_proceed()
1990 struct cdns3_endpoint *priv_ep) in cdns3_configure_dmult()
2028 int cdns3_ep_config(struct cdns3_endpoint *priv_ep, bool enable) in cdns3_ep_config()
2145 struct cdns3_endpoint *priv_ep) in cdns3_ep_dir_is_correct()
2152 cdns3_endpoint *cdns3_find_available_ep(struct cdns3_device *priv_dev, in cdns3_find_available_ep()
2156 struct cdns3_endpoint *priv_ep; in cdns3_find_available_ep()
2202 struct cdns3_endpoint *priv_ep; in cdns3_gadget_match_ep()
2234 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); in cdns3_gadget_ep_alloc_request()
2274 struct cdns3_endpoint *priv_ep; in cdns3_gadget_ep_enable()
2407 struct cdns3_endpoint *priv_ep; in cdns3_gadget_ep_disable()
2501 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); in __cdns3_gadget_ep_queue()
2554 struct cdns3_endpoint *priv_ep; in cdns3_gadget_ep_queue()
2599 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); in cdns3_gadget_ep_dequeue()
2661 void __cdns3_gadget_ep_set_halt(struct cdns3_endpoint *priv_ep) in __cdns3_gadget_ep_set_halt()
2682 int __cdns3_gadget_ep_clear_halt(struct cdns3_endpoint *priv_ep) in __cdns3_gadget_ep_clear_halt()
2731 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); in cdns3_gadget_ep_set_halt()
2932 struct cdns3_endpoint *priv_ep; in cdns3_gadget_udc_stop()
2995 struct cdns3_endpoint *priv_ep; in cdns3_init_eps()