Home
last modified time | relevance | path

Searched refs:cdns3 (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/usb/cdns3/
Dcore.h17 struct cdns3;
30 int (*start)(struct cdns3 *cdns);
31 void (*stop)(struct cdns3 *cdns);
32 int (*suspend)(struct cdns3 *cdns, bool do_wakeup);
33 int (*resume)(struct cdns3 *cdns, bool hibernated);
67 struct cdns3 { struct
96 int cdns3_hw_role_switch(struct cdns3 *cdns); argument
Ddrd.h156 int cdns3_is_host(struct cdns3 *cdns);
157 int cdns3_is_device(struct cdns3 *cdns);
158 int cdns3_get_id(struct cdns3 *cdns);
159 int cdns3_get_vbus(struct cdns3 *cdns);
160 int cdns3_drd_init(struct cdns3 *cdns);
161 int cdns3_drd_exit(struct cdns3 *cdns);
162 int cdns3_drd_update_mode(struct cdns3 *cdns);
163 int cdns3_drd_switch_gadget(struct cdns3 *cdns, int on);
164 int cdns3_drd_switch_host(struct cdns3 *cdns, int on);
165 int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode);
DMakefile5 cdns3-y := core.o drd.o
7 obj-$(CONFIG_USB_CDNS3) += cdns3.o
8 cdns3-$(CONFIG_USB_CDNS3_GADGET) += gadget.o ep0.o
11 cdns3-$(CONFIG_TRACING) += trace.o
14 cdns3-$(CONFIG_USB_CDNS3_HOST) += host.o
16 obj-$(CONFIG_USB_CDNS3_PCI_WRAP) += cdns3-pci-wrap.o
Ddrd.c30 int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode) in cdns3_set_mode()
67 int cdns3_get_id(struct cdns3 *cdns) in cdns3_get_id()
77 int cdns3_get_vbus(struct cdns3 *cdns) in cdns3_get_vbus()
87 int cdns3_is_host(struct cdns3 *cdns) in cdns3_is_host()
97 int cdns3_is_device(struct cdns3 *cdns) in cdns3_is_device()
112 static void cdns3_otg_disable_irq(struct cdns3 *cdns) in cdns3_otg_disable_irq()
121 static void cdns3_otg_enable_irq(struct cdns3 *cdns) in cdns3_otg_enable_irq()
134 int cdns3_drd_switch_host(struct cdns3 *cdns, int on) in cdns3_drd_switch_host()
171 int cdns3_drd_switch_gadget(struct cdns3 *cdns, int on) in cdns3_drd_switch_gadget()
213 static int cdns3_init_otg_mode(struct cdns3 *cdns) in cdns3_init_otg_mode()
[all …]
Dcore.c28 static int cdns3_idle_init(struct cdns3 *cdns);
31 struct cdns3_role_driver *cdns3_get_current_role_driver(struct cdns3 *cdns) in cdns3_get_current_role_driver()
37 static int cdns3_role_start(struct cdns3 *cdns, enum usb_role role) in cdns3_role_start()
63 static void cdns3_role_stop(struct cdns3 *cdns) in cdns3_role_stop()
79 static void cdns3_exit_roles(struct cdns3 *cdns) in cdns3_exit_roles()
85 static enum usb_role cdsn3_hw_role_state_machine(struct cdns3 *cdns);
93 static int cdns3_core_init_role(struct cdns3 *cdns) in cdns3_core_init_role()
201 static enum usb_role cdsn3_hw_role_state_machine(struct cdns3 *cdns) in cdsn3_hw_role_state_machine()
254 static int cdns3_idle_role_start(struct cdns3 *cdns) in cdns3_idle_role_start()
259 static void cdns3_idle_role_stop(struct cdns3 *cdns) in cdns3_idle_role_stop()
[all …]
Dgadget-export.h15 int cdns3_gadget_init(struct cdns3 *cdns);
16 void cdns3_gadget_exit(struct cdns3 *cdns);
19 static inline int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init()
24 static inline void cdns3_gadget_exit(struct cdns3 *cdns) { } in cdns3_gadget_exit()
Dhost-export.h14 int cdns3_host_init(struct cdns3 *cdns);
18 static inline int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init()
23 static inline void cdns3_host_exit(struct cdns3 *cdns) { } in cdns3_host_exit()
Dhost.c17 static int __cdns3_host_init(struct cdns3 *cdns) in __cdns3_host_init()
52 static void cdns3_host_exit(struct cdns3 *cdns) in cdns3_host_exit()
59 int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init()
DKconfig11 as module, the module will be called cdns3.ko.
44 be dynamically linked and module will be called cdns3-pci.ko
Dgadget.c1379 struct cdns3 *cdns = data; in cdns3_device_irq_handler()
1423 struct cdns3 *cdns = data; in cdns3_device_thread_irq_handler()
2536 void cdns3_gadget_exit(struct cdns3 *cdns) in cdns3_gadget_exit()
2572 static int cdns3_gadget_start(struct cdns3 *cdns) in cdns3_gadget_start()
2688 static int __cdns3_gadget_init(struct cdns3 *cdns) in __cdns3_gadget_init()
2724 static int cdns3_gadget_suspend(struct cdns3 *cdns, bool do_wakeup) in cdns3_gadget_suspend()
2740 static int cdns3_gadget_resume(struct cdns3 *cdns, bool hibernated) in cdns3_gadget_resume()
2759 int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init()
Dtrace.h12 #define TRACE_SYSTEM cdns3
/Linux-v5.4/Documentation/devicetree/bindings/usb/
Dcdns-usb3.txt14 - interrupts: Interrupts used by cdns3 controller:
26 - cdns3,usb2-phy
27 - cdns3,usb3-phy
44 phy-names = "cdns3,usb2-phy", "cnds3,usb3-phy";
/Linux-v5.4/drivers/usb/
DMakefile16 obj-$(CONFIG_USB_CDNS3) += cdns3/
DKconfig114 source "drivers/usb/cdns3/Kconfig"