Lines Matching defs:xudc
397 struct tegra_xudc *xudc; member
561 static inline u32 fpci_readl(struct tegra_xudc *xudc, unsigned int offset) in fpci_readl()
566 static inline void fpci_writel(struct tegra_xudc *xudc, u32 val, in fpci_writel()
572 static inline u32 ipfs_readl(struct tegra_xudc *xudc, unsigned int offset) in ipfs_readl()
577 static inline void ipfs_writel(struct tegra_xudc *xudc, u32 val, in ipfs_writel()
583 static inline u32 xudc_readl(struct tegra_xudc *xudc, unsigned int offset) in xudc_readl()
588 static inline void xudc_writel(struct tegra_xudc *xudc, u32 val, in xudc_writel()
594 static inline int xudc_readl_poll(struct tegra_xudc *xudc, in xudc_readl_poll()
618 static inline void dump_trb(struct tegra_xudc *xudc, const char *type, in dump_trb()
627 static void tegra_xudc_limit_port_speed(struct tegra_xudc *xudc) in tegra_xudc_limit_port_speed()
663 static void tegra_xudc_restore_port_speed(struct tegra_xudc *xudc) in tegra_xudc_restore_port_speed()
699 static void tegra_xudc_device_mode_on(struct tegra_xudc *xudc) in tegra_xudc_device_mode_on()
719 static void tegra_xudc_device_mode_off(struct tegra_xudc *xudc) in tegra_xudc_device_mode_off()
772 struct tegra_xudc *xudc = container_of(work, struct tegra_xudc, in tegra_xudc_usb_role_sw_work() local
781 static int tegra_xudc_get_phy_index(struct tegra_xudc *xudc, in tegra_xudc_get_phy_index()
798 struct tegra_xudc *xudc = container_of(nb, struct tegra_xudc, in tegra_xudc_vbus_notify() local
832 struct tegra_xudc *xudc = container_of(dwork, struct tegra_xudc, in tegra_xudc_plc_reset_work() local
859 struct tegra_xudc *xudc = in tegra_xudc_port_reset_war_work() local
914 static void ep_reload(struct tegra_xudc *xudc, unsigned int ep) in ep_reload()
920 static void ep_pause(struct tegra_xudc *xudc, unsigned int ep) in ep_pause()
936 static void ep_unpause(struct tegra_xudc *xudc, unsigned int ep) in ep_unpause()
952 static void ep_unpause_all(struct tegra_xudc *xudc) in ep_unpause_all()
965 static void ep_halt(struct tegra_xudc *xudc, unsigned int ep) in ep_halt()
980 static void ep_unhalt(struct tegra_xudc *xudc, unsigned int ep) in ep_unhalt()
995 static void ep_unhalt_all(struct tegra_xudc *xudc) in ep_unhalt_all()
1009 static void ep_wait_for_stopped(struct tegra_xudc *xudc, unsigned int ep) in ep_wait_for_stopped()
1015 static void ep_wait_for_inactive(struct tegra_xudc *xudc, unsigned int ep) in ep_wait_for_inactive()
1023 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_req_done() local
1074 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_queue_one_trb() local
1201 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_ep_ring_doorbell() local
1246 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_queue() local
1301 struct tegra_xudc *xudc; in tegra_xudc_ep_queue() local
1414 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_dequeue() local
1508 struct tegra_xudc *xudc; in tegra_xudc_ep_dequeue() local
1535 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_set_halt() local
1577 struct tegra_xudc *xudc; in tegra_xudc_ep_set_halt() local
1611 struct tegra_xudc *xudc = ep->xudc; in tegra_xudc_ep_context_setup() local
1698 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_disable() local
1750 struct tegra_xudc *xudc; in tegra_xudc_ep_disable() local
1776 struct tegra_xudc *xudc = ep->xudc; in __tegra_xudc_ep_enable() local
1867 struct tegra_xudc *xudc; in tegra_xudc_ep_enable() local
1945 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_get_frame() local
1963 static void tegra_xudc_resume_device_state(struct tegra_xudc *xudc) in tegra_xudc_resume_device_state()
1995 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_wakeup() local
2034 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_pullup() local
2064 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_start() local
2120 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_stop() local
2153 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_gadget_vbus_draw() local
2165 struct tegra_xudc *xudc = to_xudc(gadget); in tegra_xudc_set_selfpowered() local
2188 tegra_xudc_ep0_queue_status(struct tegra_xudc *xudc, in tegra_xudc_ep0_queue_status()
2201 tegra_xudc_ep0_queue_data(struct tegra_xudc *xudc, void *buf, size_t len, in tegra_xudc_ep0_queue_data()
2212 static void tegra_xudc_ep0_req_done(struct tegra_xudc *xudc) in tegra_xudc_ep0_req_done()
2229 static int tegra_xudc_ep0_delegate_req(struct tegra_xudc *xudc, in tegra_xudc_ep0_delegate_req()
2243 struct tegra_xudc *xudc = req->context; in set_feature_complete() local
2251 static int tegra_xudc_ep0_set_feature(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_feature()
2361 static int tegra_xudc_ep0_get_status(struct tegra_xudc *xudc, in tegra_xudc_ep0_get_status()
2431 static int tegra_xudc_ep0_set_sel(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_sel()
2456 static int tegra_xudc_ep0_set_isoch_delay(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_isoch_delay()
2476 struct tegra_xudc *xudc = req->context; in set_address_complete() local
2489 static int tegra_xudc_ep0_set_address(struct tegra_xudc *xudc, in tegra_xudc_ep0_set_address()
2519 static int tegra_xudc_ep0_standard_req(struct tegra_xudc *xudc, in tegra_xudc_ep0_standard_req()
2562 static void tegra_xudc_handle_ep0_setup_packet(struct tegra_xudc *xudc, in tegra_xudc_handle_ep0_setup_packet()
2602 static void tegra_xudc_handle_ep0_event(struct tegra_xudc *xudc, in tegra_xudc_handle_ep0_event()
2639 static void tegra_xudc_handle_transfer_completion(struct tegra_xudc *xudc, in tegra_xudc_handle_transfer_completion()
2690 static void tegra_xudc_handle_transfer_event(struct tegra_xudc *xudc, in tegra_xudc_handle_transfer_event()
2792 static void tegra_xudc_reset(struct tegra_xudc *xudc) in tegra_xudc_reset()
2834 static void tegra_xudc_port_connect(struct tegra_xudc *xudc) in tegra_xudc_port_connect()
2900 static void tegra_xudc_port_disconnect(struct tegra_xudc *xudc) in tegra_xudc_port_disconnect()
2916 static void tegra_xudc_port_reset(struct tegra_xudc *xudc) in tegra_xudc_port_reset()
2929 static void tegra_xudc_port_suspend(struct tegra_xudc *xudc) in tegra_xudc_port_suspend()
2944 static void tegra_xudc_port_resume(struct tegra_xudc *xudc) in tegra_xudc_port_resume()
2957 static inline void clear_port_change(struct tegra_xudc *xudc, u32 flag) in clear_port_change()
2967 static void __tegra_xudc_handle_port_status(struct tegra_xudc *xudc) in __tegra_xudc_handle_port_status()
3059 static void tegra_xudc_handle_port_status(struct tegra_xudc *xudc) in tegra_xudc_handle_port_status()
3066 static void tegra_xudc_handle_event(struct tegra_xudc *xudc, in tegra_xudc_handle_event()
3089 static void tegra_xudc_process_event_ring(struct tegra_xudc *xudc) in tegra_xudc_process_event_ring()
3124 struct tegra_xudc *xudc = data; in tegra_xudc_irq() local
3140 static int tegra_xudc_alloc_ep(struct tegra_xudc *xudc, unsigned int index) in tegra_xudc_alloc_ep()
3189 static void tegra_xudc_free_ep(struct tegra_xudc *xudc, unsigned int index) in tegra_xudc_free_ep()
3204 static int tegra_xudc_alloc_eps(struct tegra_xudc *xudc) in tegra_xudc_alloc_eps()
3252 static void tegra_xudc_init_eps(struct tegra_xudc *xudc) in tegra_xudc_init_eps()
3258 static void tegra_xudc_free_eps(struct tegra_xudc *xudc) in tegra_xudc_free_eps()
3272 static int tegra_xudc_alloc_event_ring(struct tegra_xudc *xudc) in tegra_xudc_alloc_event_ring()
3298 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
3882 struct tegra_xudc *xudc = platform_get_drvdata(pdev); in tegra_xudc_remove() local
3914 static int __maybe_unused tegra_xudc_powergate(struct tegra_xudc *xudc) in tegra_xudc_powergate()
3937 static int __maybe_unused tegra_xudc_unpowergate(struct tegra_xudc *xudc) in tegra_xudc_unpowergate()
3974 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_suspend() local
3996 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_resume() local
4017 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_runtime_suspend() local
4024 struct tegra_xudc *xudc = dev_get_drvdata(dev); in tegra_xudc_runtime_resume() local