Lines Matching defs:tegra_xudc

397 	struct tegra_xudc *xudc;
444 struct tegra_xudc {
561 static inline u32 fpci_readl(struct tegra_xudc *xudc, unsigned int offset)
566 static inline void fpci_writel(struct tegra_xudc *xudc, u32 val,
572 static inline u32 ipfs_readl(struct tegra_xudc *xudc, unsigned int offset)
577 static inline void ipfs_writel(struct tegra_xudc *xudc, u32 val,
583 static inline u32 xudc_readl(struct tegra_xudc *xudc, unsigned int offset)
588 static inline void xudc_writel(struct tegra_xudc *xudc, u32 val,
594 static inline int xudc_readl_poll(struct tegra_xudc *xudc,
603 static inline struct tegra_xudc *to_xudc(struct usb_gadget *gadget)
605 return container_of(gadget, struct tegra_xudc, gadget);
618 static inline void dump_trb(struct tegra_xudc *xudc, const char *type,
627 static void tegra_xudc_limit_port_speed(struct tegra_xudc *xudc)
663 static void tegra_xudc_restore_port_speed(struct tegra_xudc *xudc)
699 static void tegra_xudc_device_mode_on(struct tegra_xudc *xudc)
719 static void tegra_xudc_device_mode_off(struct tegra_xudc *xudc)
772 struct tegra_xudc *xudc = container_of(work, struct tegra_xudc,
781 static int tegra_xudc_get_phy_index(struct tegra_xudc *xudc,
798 struct tegra_xudc *xudc = container_of(nb, struct tegra_xudc,
832 struct tegra_xudc *xudc = container_of(dwork, struct tegra_xudc,
859 struct tegra_xudc *xudc =
860 container_of(dwork, struct tegra_xudc, port_reset_war_work);
914 static void ep_reload(struct tegra_xudc *xudc, unsigned int ep)
920 static void ep_pause(struct tegra_xudc *xudc, unsigned int ep)
936 static void ep_unpause(struct tegra_xudc *xudc, unsigned int ep)
952 static void ep_unpause_all(struct tegra_xudc *xudc)
965 static void ep_halt(struct tegra_xudc *xudc, unsigned int ep)
980 static void ep_unhalt(struct tegra_xudc *xudc, unsigned int ep)
995 static void ep_unhalt_all(struct tegra_xudc *xudc)
1009 static void ep_wait_for_stopped(struct tegra_xudc *xudc, unsigned int ep)
1015 static void ep_wait_for_inactive(struct tegra_xudc *xudc, unsigned int ep)
1023 struct tegra_xudc *xudc = ep->xudc;
1074 struct tegra_xudc *xudc = ep->xudc;
1201 struct tegra_xudc *xudc = ep->xudc;
1246 struct tegra_xudc *xudc = ep->xudc;
1301 struct tegra_xudc *xudc;
1414 struct tegra_xudc *xudc = ep->xudc;
1508 struct tegra_xudc *xudc;
1535 struct tegra_xudc *xudc = ep->xudc;
1577 struct tegra_xudc *xudc;
1611 struct tegra_xudc *xudc = ep->xudc;
1698 struct tegra_xudc *xudc = ep->xudc;
1750 struct tegra_xudc *xudc;
1776 struct tegra_xudc *xudc = ep->xudc;
1867 struct tegra_xudc *xudc;
1945 struct tegra_xudc *xudc = to_xudc(gadget);
1963 static void tegra_xudc_resume_device_state(struct tegra_xudc *xudc)
1995 struct tegra_xudc *xudc = to_xudc(gadget);
2034 struct tegra_xudc *xudc = to_xudc(gadget);
2064 struct tegra_xudc *xudc = to_xudc(gadget);
2120 struct tegra_xudc *xudc = to_xudc(gadget);
2153 struct tegra_xudc *xudc = to_xudc(gadget);
2165 struct tegra_xudc *xudc = to_xudc(gadget);
2188 tegra_xudc_ep0_queue_status(struct tegra_xudc *xudc,
2201 tegra_xudc_ep0_queue_data(struct tegra_xudc *xudc, void *buf, size_t len,
2212 static void tegra_xudc_ep0_req_done(struct tegra_xudc *xudc)
2229 static int tegra_xudc_ep0_delegate_req(struct tegra_xudc *xudc,
2243 struct tegra_xudc *xudc = req->context;
2251 static int tegra_xudc_ep0_set_feature(struct tegra_xudc *xudc,
2361 static int tegra_xudc_ep0_get_status(struct tegra_xudc *xudc,
2431 static int tegra_xudc_ep0_set_sel(struct tegra_xudc *xudc,
2456 static int tegra_xudc_ep0_set_isoch_delay(struct tegra_xudc *xudc,
2476 struct tegra_xudc *xudc = req->context;
2489 static int tegra_xudc_ep0_set_address(struct tegra_xudc *xudc,
2519 static int tegra_xudc_ep0_standard_req(struct tegra_xudc *xudc,
2562 static void tegra_xudc_handle_ep0_setup_packet(struct tegra_xudc *xudc,
2602 static void tegra_xudc_handle_ep0_event(struct tegra_xudc *xudc,
2639 static void tegra_xudc_handle_transfer_completion(struct tegra_xudc *xudc,
2690 static void tegra_xudc_handle_transfer_event(struct tegra_xudc *xudc,
2792 static void tegra_xudc_reset(struct tegra_xudc *xudc)
2834 static void tegra_xudc_port_connect(struct tegra_xudc *xudc)
2900 static void tegra_xudc_port_disconnect(struct tegra_xudc *xudc)
2916 static void tegra_xudc_port_reset(struct tegra_xudc *xudc)
2929 static void tegra_xudc_port_suspend(struct tegra_xudc *xudc)
2944 static void tegra_xudc_port_resume(struct tegra_xudc *xudc)
2957 static inline void clear_port_change(struct tegra_xudc *xudc, u32 flag)
2967 static void __tegra_xudc_handle_port_status(struct tegra_xudc *xudc)
3059 static void tegra_xudc_handle_port_status(struct tegra_xudc *xudc)
3066 static void tegra_xudc_handle_event(struct tegra_xudc *xudc,
3089 static void tegra_xudc_process_event_ring(struct tegra_xudc *xudc)
3124 struct tegra_xudc *xudc = data;
3140 static int tegra_xudc_alloc_ep(struct tegra_xudc *xudc, unsigned int index)
3189 static void tegra_xudc_free_ep(struct tegra_xudc *xudc, unsigned int index)
3204 static int tegra_xudc_alloc_eps(struct tegra_xudc *xudc)
3252 static void tegra_xudc_init_eps(struct tegra_xudc *xudc)
3258 static void tegra_xudc_free_eps(struct tegra_xudc *xudc)
3272 static int tegra_xudc_alloc_event_ring(struct tegra_xudc *xudc)
3298 static void tegra_xudc_init_event_ring(struct tegra_xudc *xudc)
3332 static void tegra_xudc_free_event_ring(struct tegra_xudc *xudc)
3344 static void tegra_xudc_fpci_ipfs_init(struct tegra_xudc *xudc)
3378 static void tegra_xudc_device_params_init(struct tegra_xudc *xudc)
3481 static int tegra_xudc_phy_get(struct tegra_xudc *xudc)
3562 static void tegra_xudc_phy_exit(struct tegra_xudc *xudc)
3572 static int tegra_xudc_phy_init(struct tegra_xudc *xudc)
3678 static void tegra_xudc_powerdomain_remove(struct tegra_xudc *xudc)
3690 static int tegra_xudc_powerdomain_init(struct tegra_xudc *xudc)
3730 struct tegra_xudc *xudc;
3882 struct tegra_xudc *xudc = platform_get_drvdata(pdev);
3914 static int __maybe_unused tegra_xudc_powergate(struct tegra_xudc *xudc)
3937 static int __maybe_unused tegra_xudc_unpowergate(struct tegra_xudc *xudc)
3974 struct tegra_xudc *xudc = dev_get_drvdata(dev);
3996 struct tegra_xudc *xudc = dev_get_drvdata(dev);
4017 struct tegra_xudc *xudc = dev_get_drvdata(dev);
4024 struct tegra_xudc *xudc = dev_get_drvdata(dev);