Lines Matching defs:priv_dev
113 static int cdns3_get_dma_pos(struct cdns3_device *priv_dev, in cdns3_get_dma_pos()
161 void cdns3_select_ep(struct cdns3_device *priv_dev, u32 ep) in cdns3_select_ep()
177 static int cdns3_get_tdl(struct cdns3_device *priv_dev) in cdns3_get_tdl()
210 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_free_trb_pool() local
228 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_allocate_trb_pool() local
278 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_ep_stall_flush() local
297 void cdns3_hw_reset_eps_config(struct cdns3_device *priv_dev) in cdns3_hw_reset_eps_config()
378 void cdns3_allow_enable_l1(struct cdns3_device *priv_dev, int enable) in cdns3_allow_enable_l1()
386 enum usb_device_speed cdns3_get_speed(struct cdns3_device *priv_dev) in cdns3_get_speed()
411 static int cdns3_start_all_request(struct cdns3_device *priv_dev, in cdns3_start_all_request()
465 #define cdns3_wa2_enable_detection(priv_dev, priv_ep, reg) do { \ argument
537 static struct usb_request *cdns3_wa2_gadget_giveback(struct cdns3_device *priv_dev, in cdns3_wa2_gadget_giveback()
577 static int cdns3_wa2_gadget_ep_queue(struct cdns3_device *priv_dev, in cdns3_wa2_gadget_ep_queue()
739 static void cdns3_wa2_reset_tdl(struct cdns3_device *priv_dev) in cdns3_wa2_reset_tdl()
751 static void cdns3_wa2_check_outq_status(struct cdns3_device *priv_dev) in cdns3_wa2_check_outq_status()
825 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_gadget_giveback() local
884 struct cdns3_device *priv_dev = container_of(work, struct cdns3_device, in cdns3_free_aligned_request_buf() local
914 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_prepare_aligned_request_buf() local
967 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_wa1_update_guard() local
986 static void cdns3_wa1_tray_restore_cycle_bit(struct cdns3_device *priv_dev, in cdns3_wa1_tray_restore_cycle_bit()
1002 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_ep_run_stream_transfer() local
1114 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_ep_run_transfer() local
1365 void cdns3_set_hw_configuration(struct cdns3_device *priv_dev) in cdns3_set_hw_configuration()
1432 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_trb_handled() local
1492 static void cdns3_transfer_completed(struct cdns3_device *priv_dev, in cdns3_transfer_completed()
1586 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_rearm_transfer() local
1607 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_reprogram_tdl() local
1627 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_check_ep_interrupt_proceed() local
1754 static void cdns3_disconnect_gadget(struct cdns3_device *priv_dev) in cdns3_disconnect_gadget()
1766 static void cdns3_check_usb_interrupt_proceed(struct cdns3_device *priv_dev, in cdns3_check_usb_interrupt_proceed()
1846 struct cdns3_device *priv_dev = data; in cdns3_device_irq_handler() local
1891 struct cdns3_device *priv_dev = data; in cdns3_device_thread_irq_handler() local
1954 static int cdns3_ep_onchip_buffer_reserve(struct cdns3_device *priv_dev, in cdns3_ep_onchip_buffer_reserve()
1989 static void cdns3_configure_dmult(struct cdns3_device *priv_dev, in cdns3_configure_dmult()
2031 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_ep_config() local
2152 cdns3_endpoint *cdns3_find_available_ep(struct cdns3_device *priv_dev, in cdns3_find_available_ep()
2201 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_match_ep() local
2275 struct cdns3_device *priv_dev; in cdns3_gadget_ep_enable() local
2409 struct cdns3_device *priv_dev; in cdns3_gadget_ep_disable() local
2502 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in __cdns3_gadget_ep_queue() local
2555 struct cdns3_device *priv_dev; in cdns3_gadget_ep_queue() local
2600 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_gadget_ep_dequeue() local
2663 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in __cdns3_gadget_ep_set_halt() local
2684 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in __cdns3_gadget_ep_clear_halt() local
2732 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; in cdns3_gadget_ep_set_halt() local
2776 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_get_frame() local
2781 int __cdns3_gadget_wakeup(struct cdns3_device *priv_dev) in __cdns3_gadget_wakeup()
2798 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_wakeup() local
2811 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_set_selfpowered() local
2822 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_pullup() local
2835 static void cdns3_gadget_config(struct cdns3_device *priv_dev) in cdns3_gadget_config()
2887 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_udc_start() local
2931 struct cdns3_device *priv_dev = gadget_to_cdns3_device(gadget); in cdns3_gadget_udc_stop() local
2972 static void cdns3_free_all_eps(struct cdns3_device *priv_dev) in cdns3_free_all_eps()
2992 static int cdns3_init_eps(struct cdns3_device *priv_dev) in cdns3_init_eps()
3081 struct cdns3_device *priv_dev = container_of(dev, in cdns3_gadget_release() local
3089 struct cdns3_device *priv_dev; in cdns3_gadget_exit() local
3125 struct cdns3_device *priv_dev; in cdns3_gadget_start() local
3283 struct cdns3_device *priv_dev = cdns->gadget_dev; in cdns3_gadget_suspend() local
3301 struct cdns3_device *priv_dev = cdns->gadget_dev; in cdns3_gadget_resume() local