Lines Matching defs:priv_dev

115 static int cdns3_get_dma_pos(struct cdns3_device *priv_dev,  in cdns3_get_dma_pos()
163 void cdns3_select_ep(struct cdns3_device *priv_dev, u32 ep) in cdns3_select_ep()
179 static int cdns3_get_tdl(struct cdns3_device *priv_dev) in cdns3_get_tdl()
197 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_free_trb_pool() local
214 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_allocate_trb_pool() local
264 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_ep_stall_flush() local
283 void cdns3_hw_reset_eps_config(struct cdns3_device *priv_dev) in cdns3_hw_reset_eps_config()
351 void cdns3_allow_enable_l1(struct cdns3_device *priv_dev, int enable) in cdns3_allow_enable_l1()
359 enum usb_device_speed cdns3_get_speed(struct cdns3_device *priv_dev) in cdns3_get_speed()
384 static int cdns3_start_all_request(struct cdns3_device *priv_dev, in cdns3_start_all_request()
436 #define cdns3_wa2_enable_detection(priv_dev, priv_ep, reg) do { \ argument
508 static struct usb_request *cdns3_wa2_gadget_giveback(struct cdns3_device *priv_dev, in cdns3_wa2_gadget_giveback()
548 static int cdns3_wa2_gadget_ep_queue(struct cdns3_device *priv_dev, in cdns3_wa2_gadget_ep_queue()
710 static void cdns3_wa2_reset_tdl(struct cdns3_device *priv_dev) in cdns3_wa2_reset_tdl()
722 static void cdns3_wa2_check_outq_status(struct cdns3_device *priv_dev) in cdns3_wa2_check_outq_status()
796 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_gadget_giveback() local
866 struct cdns3_device *priv_dev = container_of(work, struct cdns3_device, in cdns3_free_aligned_request_buf() local
896 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_prepare_aligned_request_buf() local
959 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_wa1_update_guard() local
978 static void cdns3_wa1_tray_restore_cycle_bit(struct cdns3_device *priv_dev, in cdns3_wa1_tray_restore_cycle_bit()
994 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_ep_run_stream_transfer() local
1098 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_rearm_drdy_if_needed() local
1119 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_ep_run_transfer() local
1420 void cdns3_set_hw_configuration(struct cdns3_device *priv_dev) in cdns3_set_hw_configuration()
1487 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_trb_handled() local
1547 static void cdns3_transfer_completed(struct cdns3_device *priv_dev, in cdns3_transfer_completed()
1653 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_rearm_transfer() local
1674 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_reprogram_tdl() local
1694 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_check_ep_interrupt_proceed() local
1822 static void cdns3_disconnect_gadget(struct cdns3_device *priv_dev) in cdns3_disconnect_gadget()
1834 static void cdns3_check_usb_interrupt_proceed(struct cdns3_device *priv_dev, in cdns3_check_usb_interrupt_proceed()
1914 struct cdns3_device *priv_dev = data; in cdns3_device_irq_handler() local
1959 struct cdns3_device *priv_dev = data; in cdns3_device_thread_irq_handler() local
2022 static int cdns3_ep_onchip_buffer_reserve(struct cdns3_device *priv_dev, in cdns3_ep_onchip_buffer_reserve()
2057 static void cdns3_configure_dmult(struct cdns3_device *priv_dev, in cdns3_configure_dmult()
2099 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_ep_config() local
2223 cdns3_endpoint *cdns3_find_available_ep(struct cdns3_device *priv_dev, in cdns3_find_available_ep()
2272 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_match_ep() local
2353 struct cdns3_device *priv_dev; in cdns3_gadget_ep_enable() local
2492 struct cdns3_device *priv_dev; in cdns3_gadget_ep_disable() local
2585 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in __cdns3_gadget_ep_queue() local
2640 struct cdns3_device *priv_dev; in cdns3_gadget_ep_queue() local
2685 struct cdns3_device *priv_dev; in cdns3_gadget_ep_dequeue() local
2762 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in __cdns3_gadget_ep_set_halt() local
2783 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in __cdns3_gadget_ep_clear_halt() local
2834 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_gadget_ep_set_halt() local
2878 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_get_frame() local
2883 int __cdns3_gadget_wakeup(struct cdns3_device *priv_dev) in __cdns3_gadget_wakeup()
2900 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_wakeup() local
2913 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_set_selfpowered() local
2924 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_pullup() local
2937 static void cdns3_gadget_config(struct cdns3_device *priv_dev) in cdns3_gadget_config()
2989 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_udc_start() local
3033 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_udc_stop() local
3076 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_check_config() local
3129 static void cdns3_free_all_eps(struct cdns3_device *priv_dev) in cdns3_free_all_eps()
3149 static int cdns3_init_eps(struct cdns3_device *priv_dev) in cdns3_init_eps()
3238 struct cdns3_device *priv_dev = container_of(dev, in cdns3_gadget_release() local
3246 struct cdns3_device *priv_dev; in cdns3_gadget_exit() local
3284 struct cdns3_device *priv_dev; in cdns3_gadget_start() local
3454 struct cdns3_device *priv_dev = cdns->gadget_dev; in cdns3_gadget_suspend() local
3472 struct cdns3_device *priv_dev = cdns->gadget_dev; in cdns3_gadget_resume() local