Lines Matching defs:xudc
396 struct tegra_xudc *xudc; member
560 static inline u32 fpci_readl(struct tegra_xudc *xudc, unsigned int offset) in fpci_readl()
565 static inline void fpci_writel(struct tegra_xudc *xudc, u32 val, in fpci_writel()
571 static inline u32 ipfs_readl(struct tegra_xudc *xudc, unsigned int offset) in ipfs_readl()
576 static inline void ipfs_writel(struct tegra_xudc *xudc, u32 val, in ipfs_writel()
582 static inline u32 xudc_readl(struct tegra_xudc *xudc, unsigned int offset) in xudc_readl()
587 static inline void xudc_writel(struct tegra_xudc *xudc, u32 val, in xudc_writel()
593 static inline int xudc_readl_poll(struct tegra_xudc *xudc, in xudc_readl_poll()
617 static inline void dump_trb(struct tegra_xudc *xudc, const char *type, in dump_trb()
626 static void tegra_xudc_limit_port_speed(struct tegra_xudc *xudc) in tegra_xudc_limit_port_speed()
662 static void tegra_xudc_restore_port_speed(struct tegra_xudc *xudc) in tegra_xudc_restore_port_speed()
698 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()
775 struct tegra_xudc *xudc = container_of(work, struct tegra_xudc, in tegra_xudc_usb_role_sw_work() local
784 static int tegra_xudc_get_phy_index(struct tegra_xudc *xudc, in tegra_xudc_get_phy_index()
798 static void tegra_xudc_update_data_role(struct tegra_xudc *xudc, in tegra_xudc_update_data_role()
828 struct tegra_xudc *xudc = container_of(nb, struct tegra_xudc, in tegra_xudc_vbus_notify() local
842 struct tegra_xudc *xudc = container_of(dwork, struct tegra_xudc, in tegra_xudc_plc_reset_work() local
869 struct tegra_xudc *xudc = in tegra_xudc_port_reset_war_work() local
924 static void ep_reload(struct tegra_xudc *xudc, unsigned int ep) in ep_reload()
930 static void ep_pause(struct tegra_xudc *xudc, unsigned int ep) in ep_pause()
946 static void ep_unpause(struct tegra_xudc *xudc, unsigned int ep) in ep_unpause()
962 static void ep_unpause_all(struct tegra_xudc *xudc) in ep_unpause_all()
975 static void ep_halt(struct tegra_xudc *xudc, unsigned int ep) in ep_halt()
990 static void ep_unhalt(struct tegra_xudc *xudc, unsigned int ep) in ep_unhalt()
1005 static void ep_unhalt_all(struct tegra_xudc *xudc) in ep_unhalt_all()
1019 static void ep_wait_for_stopped(struct tegra_xudc *xudc, unsigned int ep) in ep_wait_for_stopped()
1025 static void ep_wait_for_inactive(struct tegra_xudc *xudc, unsigned int ep) in ep_wait_for_inactive()
1033 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_req_done() local
1084 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_queue_one_trb() local
1211 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_ep_ring_doorbell() local
1256 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_queue() local
1311 struct tegra_xudc *xudc; in tegra_xudc_ep_queue() local
1424 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_dequeue() local
1520 struct tegra_xudc *xudc; in tegra_xudc_ep_dequeue() local
1547 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_set_halt() local
1589 struct tegra_xudc *xudc; in tegra_xudc_ep_set_halt() local
1623 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_ep_context_setup() local
1710 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_disable() local
1762 struct tegra_xudc *xudc; in tegra_xudc_ep_disable() local
1788 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_enable() local
1879 struct tegra_xudc *xudc; in tegra_xudc_ep_enable() local
1957 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_get_frame() local
1975 static void tegra_xudc_resume_device_state(struct tegra_xudc *xudc) in tegra_xudc_resume_device_state()
2007 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_wakeup() local
2046 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_pullup() local
2076 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_start() local
2132 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_stop() local
2164 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_vbus_draw() local
2176 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_set_selfpowered() local
2199 tegra_xudc_ep0_queue_status(struct tegra_xudc *xudc, in tegra_xudc_ep0_queue_status()
2212 tegra_xudc_ep0_queue_data(struct tegra_xudc *xudc, void *buf, size_t len, in tegra_xudc_ep0_queue_data()
2223 static void tegra_xudc_ep0_req_done(struct tegra_xudc *xudc) in tegra_xudc_ep0_req_done()
2240 static int tegra_xudc_ep0_delegate_req(struct tegra_xudc *xudc, in tegra_xudc_ep0_delegate_req()
2254 struct tegra_xudc *xudc = req->context; in set_feature_complete() local
2262 static int tegra_xudc_ep0_set_feature(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_feature()
2372 static int tegra_xudc_ep0_get_status(struct tegra_xudc *xudc, in tegra_xudc_ep0_get_status()
2442 static int tegra_xudc_ep0_set_sel(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_sel()
2467 static int tegra_xudc_ep0_set_isoch_delay(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_isoch_delay()
2487 struct tegra_xudc *xudc = req->context; in set_address_complete() local
2500 static int tegra_xudc_ep0_set_address(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_address()
2530 static int tegra_xudc_ep0_standard_req(struct tegra_xudc *xudc, in tegra_xudc_ep0_standard_req()
2573 static void tegra_xudc_handle_ep0_setup_packet(struct tegra_xudc *xudc, in tegra_xudc_handle_ep0_setup_packet()
2613 static void tegra_xudc_handle_ep0_event(struct tegra_xudc *xudc, in tegra_xudc_handle_ep0_event()
2650 static void tegra_xudc_handle_transfer_completion(struct tegra_xudc *xudc, in tegra_xudc_handle_transfer_completion()
2701 static void tegra_xudc_handle_transfer_event(struct tegra_xudc *xudc, in tegra_xudc_handle_transfer_event()
2803 static void tegra_xudc_reset(struct tegra_xudc *xudc) in tegra_xudc_reset()
2845 static void tegra_xudc_port_connect(struct tegra_xudc *xudc) in tegra_xudc_port_connect()
2911 static void tegra_xudc_port_disconnect(struct tegra_xudc *xudc) in tegra_xudc_port_disconnect()
2927 static void tegra_xudc_port_reset(struct tegra_xudc *xudc) in tegra_xudc_port_reset()
2940 static void tegra_xudc_port_suspend(struct tegra_xudc *xudc) in tegra_xudc_port_suspend()
2955 static void tegra_xudc_port_resume(struct tegra_xudc *xudc) in tegra_xudc_port_resume()
2968 static inline void clear_port_change(struct tegra_xudc *xudc, u32 flag) in clear_port_change()
2978 static void __tegra_xudc_handle_port_status(struct tegra_xudc *xudc) in __tegra_xudc_handle_port_status()
3070 static void tegra_xudc_handle_port_status(struct tegra_xudc *xudc) in tegra_xudc_handle_port_status()
3077 static void tegra_xudc_handle_event(struct tegra_xudc *xudc, in tegra_xudc_handle_event()
3100 static void tegra_xudc_process_event_ring(struct tegra_xudc *xudc) in tegra_xudc_process_event_ring()
3135 struct tegra_xudc *xudc = data; in tegra_xudc_irq() local
3151 static int tegra_xudc_alloc_ep(struct tegra_xudc *xudc, unsigned int index) in tegra_xudc_alloc_ep()
3200 static void tegra_xudc_free_ep(struct tegra_xudc *xudc, unsigned int index) in tegra_xudc_free_ep()
3215 static int tegra_xudc_alloc_eps(struct tegra_xudc *xudc) in tegra_xudc_alloc_eps()
3263 static void tegra_xudc_init_eps(struct tegra_xudc *xudc) in tegra_xudc_init_eps()
3269 static void tegra_xudc_free_eps(struct tegra_xudc *xudc) in tegra_xudc_free_eps()
3283 static int tegra_xudc_alloc_event_ring(struct tegra_xudc *xudc) in tegra_xudc_alloc_event_ring()
3309 static void tegra_xudc_init_event_ring(struct tegra_xudc *xudc) in tegra_xudc_init_event_ring()
3343 static void tegra_xudc_free_event_ring(struct tegra_xudc *xudc) in tegra_xudc_free_event_ring()
3355 static void tegra_xudc_fpci_ipfs_init(struct tegra_xudc *xudc) in tegra_xudc_fpci_ipfs_init()
3389 static void tegra_xudc_device_params_init(struct tegra_xudc *xudc) in tegra_xudc_device_params_init()
3492 static int tegra_xudc_phy_get(struct tegra_xudc *xudc) in tegra_xudc_phy_get()
3580 static void tegra_xudc_phy_exit(struct tegra_xudc *xudc) in tegra_xudc_phy_exit()
3590 static int tegra_xudc_phy_init(struct tegra_xudc *xudc) in tegra_xudc_phy_init()
3713 static void tegra_xudc_powerdomain_remove(struct tegra_xudc *xudc) in tegra_xudc_powerdomain_remove()
3725 static int tegra_xudc_powerdomain_init(struct tegra_xudc *xudc) in tegra_xudc_powerdomain_init()
3765 struct tegra_xudc *xudc; in tegra_xudc_probe() local
3921 struct tegra_xudc *xudc = platform_get_drvdata(pdev); in tegra_xudc_remove() local
3951 static int __maybe_unused tegra_xudc_powergate(struct tegra_xudc *xudc) in tegra_xudc_powergate()
3974 static int __maybe_unused tegra_xudc_unpowergate(struct tegra_xudc *xudc) in tegra_xudc_unpowergate()
4011 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_suspend() local
4033 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_resume() local
4054 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_runtime_suspend() local
4061 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_runtime_resume() local