Lines Matching defs:xudc

398 	struct tegra_xudc *xudc;  member
562 static inline u32 fpci_readl(struct tegra_xudc *xudc, unsigned int offset) in fpci_readl()
567 static inline void fpci_writel(struct tegra_xudc *xudc, u32 val, in fpci_writel()
573 static inline u32 ipfs_readl(struct tegra_xudc *xudc, unsigned int offset) in ipfs_readl()
578 static inline void ipfs_writel(struct tegra_xudc *xudc, u32 val, in ipfs_writel()
584 static inline u32 xudc_readl(struct tegra_xudc *xudc, unsigned int offset) in xudc_readl()
589 static inline void xudc_writel(struct tegra_xudc *xudc, u32 val, in xudc_writel()
595 static inline int xudc_readl_poll(struct tegra_xudc *xudc, in xudc_readl_poll()
619 static inline void dump_trb(struct tegra_xudc *xudc, const char *type, in dump_trb()
628 static void tegra_xudc_limit_port_speed(struct tegra_xudc *xudc) in tegra_xudc_limit_port_speed()
664 static void tegra_xudc_restore_port_speed(struct tegra_xudc *xudc) in tegra_xudc_restore_port_speed()
700 static void tegra_xudc_device_mode_on(struct tegra_xudc *xudc) in tegra_xudc_device_mode_on()
720 static void tegra_xudc_device_mode_off(struct tegra_xudc *xudc) in tegra_xudc_device_mode_off()
773 struct tegra_xudc *xudc = container_of(work, struct tegra_xudc, in tegra_xudc_usb_role_sw_work() local
782 static int tegra_xudc_get_phy_index(struct tegra_xudc *xudc, in tegra_xudc_get_phy_index()
799 struct tegra_xudc *xudc = container_of(nb, struct tegra_xudc, in tegra_xudc_vbus_notify() local
833 struct tegra_xudc *xudc = container_of(dwork, struct tegra_xudc, in tegra_xudc_plc_reset_work() local
860 struct tegra_xudc *xudc = in tegra_xudc_port_reset_war_work() local
915 static void ep_reload(struct tegra_xudc *xudc, unsigned int ep) in ep_reload()
921 static void ep_pause(struct tegra_xudc *xudc, unsigned int ep) in ep_pause()
937 static void ep_unpause(struct tegra_xudc *xudc, unsigned int ep) in ep_unpause()
953 static void ep_unpause_all(struct tegra_xudc *xudc) in ep_unpause_all()
966 static void ep_halt(struct tegra_xudc *xudc, unsigned int ep) in ep_halt()
981 static void ep_unhalt(struct tegra_xudc *xudc, unsigned int ep) in ep_unhalt()
996 static void ep_unhalt_all(struct tegra_xudc *xudc) in ep_unhalt_all()
1010 static void ep_wait_for_stopped(struct tegra_xudc *xudc, unsigned int ep) in ep_wait_for_stopped()
1016 static void ep_wait_for_inactive(struct tegra_xudc *xudc, unsigned int ep) in ep_wait_for_inactive()
1024 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_req_done() local
1075 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_queue_one_trb() local
1202 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_ep_ring_doorbell() local
1247 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_queue() local
1302 struct tegra_xudc *xudc; in tegra_xudc_ep_queue() local
1415 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_dequeue() local
1509 struct tegra_xudc *xudc; in tegra_xudc_ep_dequeue() local
1536 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_set_halt() local
1575 struct tegra_xudc *xudc; in tegra_xudc_ep_set_halt() local
1609 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_ep_context_setup() local
1696 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_disable() local
1748 struct tegra_xudc *xudc; in tegra_xudc_ep_disable() local
1774 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_enable() local
1865 struct tegra_xudc *xudc; in tegra_xudc_ep_enable() local
1943 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_get_frame() local
1961 static void tegra_xudc_resume_device_state(struct tegra_xudc *xudc) in tegra_xudc_resume_device_state()
1993 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_wakeup() local
2032 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_pullup() local
2062 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_start() local
2118 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_stop() local
2151 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_vbus_draw() local
2163 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_set_selfpowered() local
2186 tegra_xudc_ep0_queue_status(struct tegra_xudc *xudc, in tegra_xudc_ep0_queue_status()
2199 tegra_xudc_ep0_queue_data(struct tegra_xudc *xudc, void *buf, size_t len, in tegra_xudc_ep0_queue_data()
2210 static void tegra_xudc_ep0_req_done(struct tegra_xudc *xudc) in tegra_xudc_ep0_req_done()
2227 static int tegra_xudc_ep0_delegate_req(struct tegra_xudc *xudc, in tegra_xudc_ep0_delegate_req()
2241 struct tegra_xudc *xudc = req->context; in set_feature_complete() local
2249 static int tegra_xudc_ep0_set_feature(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_feature()
2359 static int tegra_xudc_ep0_get_status(struct tegra_xudc *xudc, in tegra_xudc_ep0_get_status()
2429 static int tegra_xudc_ep0_set_sel(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_sel()
2454 static int tegra_xudc_ep0_set_isoch_delay(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_isoch_delay()
2474 struct tegra_xudc *xudc = req->context; in set_address_complete() local
2487 static int tegra_xudc_ep0_set_address(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_address()
2517 static int tegra_xudc_ep0_standard_req(struct tegra_xudc *xudc, in tegra_xudc_ep0_standard_req()
2560 static void tegra_xudc_handle_ep0_setup_packet(struct tegra_xudc *xudc, in tegra_xudc_handle_ep0_setup_packet()
2600 static void tegra_xudc_handle_ep0_event(struct tegra_xudc *xudc, in tegra_xudc_handle_ep0_event()
2637 static void tegra_xudc_handle_transfer_completion(struct tegra_xudc *xudc, in tegra_xudc_handle_transfer_completion()
2688 static void tegra_xudc_handle_transfer_event(struct tegra_xudc *xudc, in tegra_xudc_handle_transfer_event()
2790 static void tegra_xudc_reset(struct tegra_xudc *xudc) in tegra_xudc_reset()
2829 static void tegra_xudc_port_connect(struct tegra_xudc *xudc) in tegra_xudc_port_connect()
2895 static void tegra_xudc_port_disconnect(struct tegra_xudc *xudc) in tegra_xudc_port_disconnect()
2911 static void tegra_xudc_port_reset(struct tegra_xudc *xudc) in tegra_xudc_port_reset()
2924 static void tegra_xudc_port_suspend(struct tegra_xudc *xudc) in tegra_xudc_port_suspend()
2939 static void tegra_xudc_port_resume(struct tegra_xudc *xudc) in tegra_xudc_port_resume()
2952 static inline void clear_port_change(struct tegra_xudc *xudc, u32 flag) in clear_port_change()
2962 static void __tegra_xudc_handle_port_status(struct tegra_xudc *xudc) in __tegra_xudc_handle_port_status()
3054 static void tegra_xudc_handle_port_status(struct tegra_xudc *xudc) in tegra_xudc_handle_port_status()
3061 static void tegra_xudc_handle_event(struct tegra_xudc *xudc, in tegra_xudc_handle_event()
3084 static void tegra_xudc_process_event_ring(struct tegra_xudc *xudc) in tegra_xudc_process_event_ring()
3119 struct tegra_xudc *xudc = data; in tegra_xudc_irq() local
3135 static int tegra_xudc_alloc_ep(struct tegra_xudc *xudc, unsigned int index) in tegra_xudc_alloc_ep()
3184 static void tegra_xudc_free_ep(struct tegra_xudc *xudc, unsigned int index) in tegra_xudc_free_ep()
3199 static int tegra_xudc_alloc_eps(struct tegra_xudc *xudc) in tegra_xudc_alloc_eps()
3247 static void tegra_xudc_init_eps(struct tegra_xudc *xudc) in tegra_xudc_init_eps()
3253 static void tegra_xudc_free_eps(struct tegra_xudc *xudc) in tegra_xudc_free_eps()
3267 static int tegra_xudc_alloc_event_ring(struct tegra_xudc *xudc) in tegra_xudc_alloc_event_ring()
3293 static void tegra_xudc_init_event_ring(struct tegra_xudc *xudc) in tegra_xudc_init_event_ring()
3332 static void tegra_xudc_free_event_ring(struct tegra_xudc *xudc) in tegra_xudc_free_event_ring()
3344 static void tegra_xudc_fpci_ipfs_init(struct tegra_xudc *xudc) in tegra_xudc_fpci_ipfs_init()
3378 static void tegra_xudc_device_params_init(struct tegra_xudc *xudc) in tegra_xudc_device_params_init()
3481 static int tegra_xudc_phy_get(struct tegra_xudc *xudc) in tegra_xudc_phy_get()
3562 static void tegra_xudc_phy_exit(struct tegra_xudc *xudc) in tegra_xudc_phy_exit()
3572 static int tegra_xudc_phy_init(struct tegra_xudc *xudc) in tegra_xudc_phy_init()
3678 static void tegra_xudc_powerdomain_remove(struct tegra_xudc *xudc) in tegra_xudc_powerdomain_remove()
3690 static int tegra_xudc_powerdomain_init(struct tegra_xudc *xudc) in tegra_xudc_powerdomain_init()
3730 struct tegra_xudc *xudc; in tegra_xudc_probe() local
3881 struct tegra_xudc *xudc = platform_get_drvdata(pdev); in tegra_xudc_remove() local
3913 static int __maybe_unused tegra_xudc_powergate(struct tegra_xudc *xudc) in tegra_xudc_powergate()
3936 static int __maybe_unused tegra_xudc_unpowergate(struct tegra_xudc *xudc) in tegra_xudc_unpowergate()
3973 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_suspend() local
3995 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_resume() local
4016 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_runtime_suspend() local
4023 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_runtime_resume() local