Lines Matching refs:cdns2_device
74 static int cdns2_get_dma_pos(struct cdns2_device *pdev, in cdns2_get_dma_pos()
90 void cdns2_select_ep(struct cdns2_device *pdev, u32 ep) in cdns2_select_ep()
109 struct cdns2_device *pdev = pep->pdev; in cdns2_free_tr_segment()
121 struct cdns2_device *pdev = pep->pdev; in cdns2_alloc_tr_segment()
155 struct cdns2_device *pdev = pep->pdev; in cdns2_ep_stall_flush()
205 static void cdns2_enable_l1(struct cdns2_device *pdev, int enable) in cdns2_enable_l1()
215 static enum usb_device_speed cdns2_get_speed(struct cdns2_device *pdev) in cdns2_get_speed()
241 struct cdns2_device *pdev = pep->pdev; in cdns2_gadget_giveback()
283 struct cdns2_device *pdev = pep->pdev; in cdns2_wa1_update_guard()
302 static void cdns2_wa1_tray_restore_cycle_bit(struct cdns2_device *pdev, in cdns2_wa1_tray_restore_cycle_bit()
315 static int cdns2_prepare_ring(struct cdns2_device *pdev, in cdns2_prepare_ring()
471 static void cdsn2_isoc_burst_opt(struct cdns2_device *pdev) in cdsn2_isoc_burst_opt()
688 static void cdns2_set_drdy(struct cdns2_device *pdev, in cdns2_set_drdy()
711 static int cdns2_prepare_first_isoc_transfer(struct cdns2_device *pdev, in cdns2_prepare_first_isoc_transfer()
764 struct cdns2_device *pdev = pep->pdev; in cdns2_ep_run_transfer()
821 static int cdns2_start_all_request(struct cdns2_device *pdev, in cdns2_start_all_request()
881 struct cdns2_device *pdev = pep->pdev; in cdns2_trb_handled()
949 static void cdns2_skip_isoc_td(struct cdns2_device *pdev, in cdns2_skip_isoc_td()
971 static void cdns2_transfer_completed(struct cdns2_device *pdev, in cdns2_transfer_completed()
1042 static void cdns2_wakeup(struct cdns2_device *pdev) in cdns2_wakeup()
1053 struct cdns2_device *pdev = pep->pdev; in cdns2_rearm_transfer()
1074 struct cdns2_device *pdev = pep->pdev; in cdns2_handle_epx_interrupt()
1163 static void cdns2_disconnect_gadget(struct cdns2_device *pdev) in cdns2_disconnect_gadget()
1171 struct cdns2_device *pdev = data; in cdns2_usb_irq_handler()
1209 static irqreturn_t cdns2_thread_usb_irq_handler(struct cdns2_device *pdev) in cdns2_thread_usb_irq_handler()
1290 struct cdns2_device *pdev = data; in cdns2_thread_irq_handler()
1340 static void cdns2_eps_onchip_buffer_init(struct cdns2_device *pdev) in cdns2_eps_onchip_buffer_init()
1414 struct cdns2_device *pdev = pep->pdev; in cdns2_ep_config()
1532 struct cdns2_device *pdev; in cdns2_gadget_ep_enable()
1615 struct cdns2_device *pdev; in cdns2_gadget_ep_disable()
1672 struct cdns2_device *pdev = pep->pdev; in cdns2_ep_enqueue()
1701 struct cdns2_device *pdev; in cdns2_gadget_ep_queue()
1822 int cdns2_halt_endpoint(struct cdns2_device *pdev, in cdns2_halt_endpoint()
1888 struct cdns2_device *pdev = pep->pdev; in cdns2_gadget_ep_set_halt()
1923 cdns2_endpoint *cdns2_find_available_ep(struct cdns2_device *pdev, in cdns2_find_available_ep()
1965 struct cdns2_device *pdev = gadget_to_cdns2_device(gadget); in cdns2_gadget_match_ep()
2001 struct cdns2_device *pdev = gadget_to_cdns2_device(gadget); in cdns2_gadget_get_frame()
2008 struct cdns2_device *pdev = gadget_to_cdns2_device(gadget); in cdns2_gadget_wakeup()
2021 struct cdns2_device *pdev = gadget_to_cdns2_device(gadget); in cdns2_gadget_set_selfpowered()
2031 static void cdns2_quiesce(struct cdns2_device *pdev) in cdns2_quiesce()
2044 static void cdns2_gadget_config(struct cdns2_device *pdev) in cdns2_gadget_config()
2058 struct cdns2_device *pdev = gadget_to_cdns2_device(gadget); in cdns2_gadget_pullup()
2086 struct cdns2_device *pdev = gadget_to_cdns2_device(gadget); in cdns2_gadget_udc_start()
2129 struct cdns2_device *pdev = gadget_to_cdns2_device(gadget); in cdns2_gadget_udc_stop()
2167 static void cdns2_free_all_eps(struct cdns2_device *pdev) in cdns2_free_all_eps()
2176 static int cdns2_init_eps(struct cdns2_device *pdev) in cdns2_init_eps()
2250 static int cdns2_gadget_start(struct cdns2_device *pdev) in cdns2_gadget_start()
2373 int cdns2_gadget_suspend(struct cdns2_device *pdev) in cdns2_gadget_suspend()
2394 int cdns2_gadget_resume(struct cdns2_device *pdev, bool hibernated) in cdns2_gadget_resume()
2415 void cdns2_gadget_remove(struct cdns2_device *pdev) in cdns2_gadget_remove()
2428 int cdns2_gadget_init(struct cdns2_device *pdev) in cdns2_gadget_init()