Home
last modified time | relevance | path

Searched refs:dwc3 (Results 1 – 25 of 41) sorted by relevance

12

/linux/drivers/usb/dwc3/
H A Dcore.h708 struct dwc3 *dwc;
755 struct dwc3 *dwc;
1007 void (*pre_set_role)(struct dwc3 *dwc, enum usb_role role);
1008 void (*pre_run_stop)(struct dwc3 *dwc, bool is_on);
1202 struct dwc3 { struct
1456 #define work_to_dwc(w) (container_of((w), struct dwc3, drd_work)) argument
1615 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode, bool ignore_susphy);
1616 void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
1646 static inline u32 dwc3_mdwidth(struct dwc3 *dwc) in dwc3_mdwidth()
1657 bool dwc3_has_imod(struct dwc3 *dwc);
[all …]
H A Ddwc3-haps.c3 * dwc3-haps.c - Synopsys HAPS PCI Specific glue layer
20 * @dwc3: child dwc3 platform_device
24 struct platform_device *dwc3; member
60 dwc->dwc3 = platform_device_alloc("dwc3", PLATFORM_DEVID_AUTO); in dwc3_haps_probe()
61 if (!dwc->dwc3) in dwc3_haps_probe()
75 ret = platform_device_add_resources(dwc->dwc3, res, ARRAY_SIZE(res)); in dwc3_haps_probe()
77 dev_err(dev, "couldn't add resources to dwc3 device\n"); in dwc3_haps_probe()
82 dwc->dwc3 in dwc3_haps_probe()
[all...]
H A Dep0.c30 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep);
31 static void __dwc3_ep0_do_control_data(struct dwc3 *dwc,
33 static int dwc3_ep0_delegate_req(struct dwc3 *dwc,
40 struct dwc3 *dwc; in dwc3_ep0_prepare_one_trb()
68 struct dwc3 *dwc; in dwc3_ep0_start_trans()
92 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue()
196 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue()
229 void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
264 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt()
274 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt()
[all …]
H A Ddwc3-pci.c3 * dwc3-pci.c - PCI Specific glue layer
77 * @dwc3: child dwc3 platform_device
84 struct platform_device *dwc3; member
290 dwc->dwc3->id = PLATFORM_DEVID_NONE; in dwc3_pci_quirks()
291 platform_bytcr_gpios.dev_id = "dwc3.ulpi"; in dwc3_pci_quirks()
311 return device_add_software_node(&dwc->dwc3->dev, swnode); in dwc3_pci_quirks()
318 struct platform_device *dwc3 = dwc->dwc3; in dwc3_pci_resume_work() local
321 ret = pm_runtime_get_sync(&dwc3 in dwc3_pci_resume_work()
[all...]
H A Ddwc3-imx8mp.c3 * dwc3-imx8mp.c - NXP imx8mp Specific Glue layer
103 struct dwc3 *dwc3 = platform_get_drvdata(dwc3_imx->dwc3_pdev); in dwc3_imx8mp_wakeup_enable() local
106 if (!dwc3) in dwc3_imx8mp_wakeup_enable()
111 if ((dwc3->current_dr_role == DWC3_GCTL_PRTCAP_HOST) && dwc3->xhci) { in dwc3_imx8mp_wakeup_enable()
145 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3_pdev); in dwc3_imx8mp_interrupt()
161 static void dwc3_imx_pre_set_role(struct dwc3 *dwc, enum usb_role role) in dwc3_imx_pre_set_role()
185 struct dwc3 *dwc3; in dwc3_imx8mp_probe() local
[all...]
H A Dgadget.c41 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
72 int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
89 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state()
142 static void dwc3_ep0_reset_state(struct dwc3 *dwc) in dwc3_ep0_reset_state()
196 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request()
229 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback()
255 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned int cmd, in dwc3_send_gadget_generic_command()
316 struct dwc3 *dwc = dep->dwc; in dwc3_send_gadget_ep_cmd()
461 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd()
493 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool()
[all …]
H A Ddebugfs.c283 struct dwc3 *dwc = s->private; in dwc3_host_lsp()
313 struct dwc3 *dwc = s->private; in dwc3_gadget_lsp()
327 struct dwc3 *dwc = s->private; in dwc3_lsp_show()
368 struct dwc3 *dwc = s->private; in dwc3_lsp_write()
394 struct dwc3 *dwc = s->private;
433 struct dwc3 *dwc = s->private; in dwc3_mode_write()
467 struct dwc3 *dwc = s->private;
519 struct dwc3 *dwc = s->private; in dwc3_testmode_write()
564 struct dwc3 *dwc = s->private;
607 struct dwc3 *dw
[all...]
H A Ddwc3-qcom-legacy.c4 * Inspired by dwc3-of-simple.c
76 struct platform_device *dwc3; member
263 max_speed = usb_get_maximum_speed(&qcom->dwc3->dev); in dwc3_qcom_interconnect_init()
306 struct dwc3 *dwc; in dwc3_qcom_is_host()
311 dwc = platform_get_drvdata(qcom->dwc3); in dwc3_qcom_is_host()
322 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in dwc3_qcom_read_usb2_speed()
501 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in qcom_dwc3_resume_irq()
519 /* Configure dwc3 t in dwc3_qcom_select_utmi_clk()
[all...]
H A Ddwc3-google.c3 * dwc3-google.c - Google DWC3 Specific Glue Layer
55 struct dwc3 dwc;
204 struct dwc3 *dwc = &google->dwc; in dwc3_google_resume_irq()
463 struct dwc3 *dwc = platform_get_drvdata(pdev); in dwc3_google_remove()
530 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_google_pm_suspend()
543 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_google_pm_resume()
556 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_google_complete()
563 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_google_prepare()
570 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_google_runtime_suspend()
583 struct dwc3 *dw
[all...]
H A Ddwc3-apple.c7 * - dwc3-qcom.c Copyright (c) 2018, The Linux Foundation. All rights reserved.
8 * - dwc3-of-simple.c Copyright (c) 2015 Texas Instruments Incorporated - https://www.ti.com
20 * This platform requires a very specific sequence of operations to bring up dwc3 and its USB3 PHY:
25 * 3) The PHY bring-up has to be finalized and dwc3's PIPE interface has to be switched to the
34 * 2) The PHY has to switch dwc3's PIPE interface back to the dummy backend
37 * We also can't transition the PHY from one mode to another while dwc3 is up and running (this is
41 * After both the PHY and dwc3 are initialized we will only ever see a single "new device connected"
52 * broken until a phy+dwc3 reset, or it's broken until a full SoC reset (likely because we can't
57 * Hence there's really no good way to keep dwc3 fully up and running after we disconnect a cable
65 * the PHY properly and thus also can't fully bring up dwc3
[all...]
/linux/Documentation/devicetree/bindings/usb/
H A Ddwc3-st.txt3 This file documents the parameters for the dwc3-st driver.
4 This driver controls the glue logic used to configure the dwc3 core on
8 - compatible : must be "st,stih407-dwc3"
32 The dwc3 core should be added as subnode to ST DWC3 glue as shown in the
33 example below. The DT binding details of dwc3 can be found in:
34 Documentation/devicetree/bindings/usb/snps,dwc3.yaml
37 is "otg", which isn't supported by this SoC. Valid dr_mode values for dwc3-st are either "host"
44 st_dwc3: dwc3@8f94000 {
45 compatible = "st,stih407-dwc3";
58 dwc3: dwc3@9900000 {
[all …]
H A Ddwc3-cavium.txt8 the node is not important. The content of the node is defined in dwc3.txt.
23 compatible = "cavium,octeon-7130-xhci", "snps,dwc3";
/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2g.dtsi493 keystone_usb0: keystone-dwc3@2680000 {
494 compatible = "ti,keystone-dwc3";
506 compatible = "snps,dwc3";
516 keystone_usb1: keystone-dwc3@2580000 {
517 compatible = "ti,keystone-dwc3";
529 compatible = "snps,dwc3";
H A Dkeystone-k2e.dtsi69 compatible = "ti,keystone-dwc3";
82 compatible = "snps,dwc3";
H A Dkeystone.dtsi208 compatible = "ti,keystone-dwc3";
221 compatible = "snps,dwc3";
/linux/arch/arm/boot/dts/socionext/
H A Duniphier-pro5.dtsi476 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
491 compatible = "socionext,uniphier-pro5-dwc3-glue",
541 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
556 compatible = "socionext,uniphier-pro5-dwc3-glue",
H A Duniphier-pro4.dtsi618 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
634 compatible = "socionext,uniphier-pro4-dwc3-glue",
673 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
689 compatible = "socionext,uniphier-pro4-dwc3-glue",
H A Duniphier-pxs2.dtsi646 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
662 compatible = "socionext,uniphier-pxs2-dwc3-glue",
743 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
758 compatible = "socionext,uniphier-pxs2-dwc3-glue",
/linux/Documentation/driver-api/usb/
H A Ddwc3.rst65 The DWC3 driver sits on the *drivers/usb/dwc3/* directory. All files
144 # echo 1 > /t/events/dwc3/enable
153 # cat /d/*dwc3*/regdump > /root/regdump.txt
160 **[BUG REPORT] usb: dwc3: Bug while doing XYZ**
687 .. kernel-doc:: drivers/usb/dwc3/core.h
691 .. kernel-doc:: drivers/usb/dwc3/gadget.h
695 .. kernel-doc:: drivers/usb/dwc3/gadget.c
699 .. kernel-doc:: drivers/usb/dwc3/core.c
/linux/arch/arm/boot/dts/samsung/
H A Dexynos54xx.dtsi152 compatible = "snps,dwc3";
174 compatible = "snps,dwc3";
/linux/arch/arm/boot/dts/ti/omap/
H A Ddra74x.dtsi209 compatible = "ti,dwc3";
218 compatible = "snps,dwc3";
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62p-main.dtsi23 compatible = "snps,dwc3";
/linux/drivers/usb/roles/
H A DKconfig23 lines between the xHCI host controller and the dwc3 gadget controller
/linux/drivers/phy/spacemit/
H A DKconfig43 by K3 dwc3 driver.
/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1043a.dtsi836 compatible = "fsl,ls1043a-dwc3", "fsl,ls1028a-dwc3";
849 compatible = "fsl,ls1043a-dwc3", "fsl,ls1028a-dwc3";
862 compatible = "fsl,ls1043a-dwc3", "fsl,ls1028a-dwc3";

12