Home
last modified time | relevance | path

Searched full:usb_phy (Results 1 – 25 of 146) sorted by relevance

123456

/linux/drivers/usb/phy/
H A DKconfig7 config USB_PHY config
17 select USB_PHY
27 select USB_PHY
43 select USB_PHY
56 select USB_PHY
80 select USB_PHY
83 internal transceiver via the usb_phy interface, and
104 select USB_PHY
120 select USB_PHY
133 select USB_PHY
[all …]
H A Dphy-generic.h10 struct usb_phy phy;
22 int usb_gen_phy_init(struct usb_phy *phy);
23 void usb_gen_phy_shutdown(struct usb_phy *phy);
H A Dphy-generic.c46 static int nop_set_suspend(struct usb_phy *x, int suspend) in nop_set_suspend()
81 struct usb_phy_generic *nop = dev_get_drvdata(otg->usb_phy->dev); in nop_set_vbus()
130 int usb_gen_phy_init(struct usb_phy *phy) in usb_gen_phy_init()
152 void usb_gen_phy_shutdown(struct usb_phy *phy) in usb_gen_phy_shutdown()
180 atomic_notifier_call_chain(&otg->usb_phy->notifier, in nop_set_peripheral()
273 nop->phy.otg->usb_phy = &nop->phy; in usb_phy_gen_create_phy()
H A Dphy-ulpi-viewport.c29 static int ulpi_viewport_read(struct usb_phy *otg, u32 reg) in ulpi_viewport_read()
47 static int ulpi_viewport_write(struct usb_phy *otg, u32 val, u32 reg) in ulpi_viewport_write()
/linux/drivers/phy/broadcom/
H A Dphy-brcm-usb-init-synopsys.c74 /* Register definitions for the USB_PHY block in 7211b0 */
257 void __iomem *usb_phy = params->regs[BRCM_REGS_USB_PHY]; in usb_init_common_7211b0() local
271 brcm_usb_writel(0, usb_phy + USB_PHY_IDDQ); in usb_init_common_7211b0()
272 reg = brcm_usb_readl(usb_phy + USB_PHY_PLL_CTL); in usb_init_common_7211b0()
274 brcm_usb_writel(reg, usb_phy + USB_PHY_PLL_CTL); in usb_init_common_7211b0()
277 reg = brcm_usb_readl(usb_phy + USB_PHY_UTMI_CTL_1); in usb_init_common_7211b0()
279 brcm_usb_writel(reg, usb_phy + USB_PHY_UTMI_CTL_1); in usb_init_common_7211b0()
283 reg = brcm_usb_readl(usb_phy + USB_PHY_PLL_CTL); in usb_init_common_7211b0()
285 brcm_usb_writel(reg, usb_phy + USB_PHY_PLL_CTL); in usb_init_common_7211b0()
291 brcm_usb_writel(reg, usb_phy + USB_PHY_PLL_LDO_CTL); in usb_init_common_7211b0()
[all …]
/linux/drivers/usb/host/
H A Dxhci-plat.c280 hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0); in xhci_plat_probe()
281 if (IS_ERR(hcd->usb_phy)) { in xhci_plat_probe()
282 ret = PTR_ERR(hcd->usb_phy); in xhci_plat_probe()
285 hcd->usb_phy = NULL; in xhci_plat_probe()
287 ret = usb_phy_init(hcd->usb_phy); in xhci_plat_probe()
315 xhci->shared_hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, in xhci_plat_probe()
317 if (IS_ERR(xhci->shared_hcd->usb_phy)) { in xhci_plat_probe()
318 xhci->shared_hcd->usb_phy = NULL; in xhci_plat_probe()
320 ret = usb_phy_init(xhci->shared_hcd->usb_phy); in xhci_plat_probe()
362 usb_phy_shutdown(hcd->usb_phy); in xhci_plat_probe()
[all …]
H A Dehci-fsl.c149 hcd->usb_phy = usb_get_phy(USB_PHY_TYPE_USB2); in fsl_ehci_drv_probe()
151 hcd, ehci, hcd->usb_phy); in fsl_ehci_drv_probe()
153 if (!IS_ERR_OR_NULL(hcd->usb_phy)) { in fsl_ehci_drv_probe()
154 retval = otg_set_host(hcd->usb_phy->otg, in fsl_ehci_drv_probe()
157 usb_put_phy(hcd->usb_phy); in fsl_ehci_drv_probe()
682 if (!IS_ERR_OR_NULL(hcd->usb_phy)) { in fsl_ehci_drv_remove()
683 otg_set_host(hcd->usb_phy->otg, NULL); in fsl_ehci_drv_remove()
684 usb_put_phy(hcd->usb_phy); in fsl_ehci_drv_remove()
/linux/Documentation/devicetree/bindings/phy/
H A Dphy-da8xx-usb.txt21 usb_phy: usb-phy {
30 phys = <&usb_phy 0>;
38 phys = <&usb_phy 1>;
H A Dpistachio-usb-phy.txt10 - clock-names: Must include "usb_phy".
21 usb_phy: usb-phy {
24 clock-names = "usb_phy";
H A Dkeystone-usb-phy.txt14 usb_phy: usb_phy@2620738 {
/linux/drivers/power/supply/
H A Dda9150-charger.c31 struct usb_phy *usb_phy; member
567 charger->usb_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in da9150_charger_probe()
568 if (!IS_ERR_OR_NULL(charger->usb_phy)) { in da9150_charger_probe()
571 usb_register_notifier(charger->usb_phy, &charger->otg_nb); in da9150_charger_probe()
605 if (!IS_ERR_OR_NULL(charger->usb_phy)) in da9150_charger_probe()
606 usb_unregister_notifier(charger->usb_phy, &charger->otg_nb); in da9150_charger_probe()
629 if (!IS_ERR_OR_NULL(charger->usb_phy)) in da9150_charger_remove()
630 usb_unregister_notifier(charger->usb_phy, &charger->otg_nb); in da9150_charger_remove()
H A Dwm831x_power.c32 struct usb_phy *usb_phy; member
650 power->usb_phy = devm_usb_get_phy_by_phandle(&pdev->dev, "phys", 0); in wm831x_power_probe()
651 ret = PTR_ERR_OR_ZERO(power->usb_phy); in wm831x_power_probe()
656 ret = usb_register_notifier(power->usb_phy, &power->usb_notify); in wm831x_power_probe()
666 power->usb_phy = NULL; in wm831x_power_probe()
702 if (wm831x_power->usb_phy) { in wm831x_power_remove()
703 usb_unregister_notifier(wm831x_power->usb_phy, in wm831x_power_remove()
/linux/drivers/usb/chipidea/
H A Dusbmisc_imx.c783 struct usb_phy *usb_phy = data->usb_phy; in imx7d_charger_secondary_detection() local
817 usb_phy->chg_type = DCP_TYPE; in imx7d_charger_secondary_detection()
820 usb_phy->chg_type = CDP_TYPE; in imx7d_charger_secondary_detection()
897 struct usb_phy *usb_phy = data->usb_phy; in imx7d_charger_primary_detection() local
917 usb_phy->chg_type = SDP_TYPE; in imx7d_charger_primary_detection()
934 struct usb_phy *usb_phy = data->usb_phy; in imx7d_charger_detection() local
966 if (!ret && usb_phy->chg_type != SDP_TYPE) in imx7d_charger_detection()
1304 struct usb_phy *usb_phy; in imx_usbmisc_charger_detection() local
1311 usb_phy = data->usb_phy; in imx_usbmisc_charger_detection()
1321 usb_phy->chg_state = USB_CHARGER_ABSENT; in imx_usbmisc_charger_detection()
[all …]
H A Dci_hdrc_imx.h27 struct usb_phy *usb_phy; member
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-ipq806x-usb.c118 struct usb_phy { struct
142 static inline void usb_phy_write_readback(struct usb_phy *phy_dwc3, in usb_phy_write_readback() argument
175 static int usb_ss_write_phycreg(struct usb_phy *phy_dwc3, in usb_ss_write_phycreg()
213 static int usb_ss_read_phycreg(struct usb_phy *phy_dwc3, in usb_ss_read_phycreg()
254 struct usb_phy *phy_dwc3 = phy_get_drvdata(phy); in qcom_ipq806x_usb_hs_phy_init()
293 struct usb_phy *phy_dwc3 = phy_get_drvdata(phy); in qcom_ipq806x_usb_hs_phy_exit()
303 struct usb_phy *phy_dwc3 = phy_get_drvdata(phy); in qcom_ipq806x_usb_ss_phy_init()
434 struct usb_phy *phy_dwc3 = phy_get_drvdata(phy); in qcom_ipq806x_usb_ss_phy_exit()
486 struct usb_phy *phy_dwc3; in qcom_ipq806x_usb_phy_probe()
/linux/drivers/phy/tegra/
H A Dxusb.c570 usb_remove_phy(&port->usb_phy); in tegra_xusb_port_unregister()
571 port->usb_phy.dev->driver = NULL; in tegra_xusb_port_unregister()
614 usb_phy_set_event(&port->usb_phy, to_usb_phy_event(role)); in tegra_xusb_usb_phy_work()
619 atomic_notifier_call_chain(&port->usb_phy.notifier, 0, &port->usb_phy); in tegra_xusb_usb_phy_work()
637 struct tegra_xusb_port *port = container_of(otg->usb_phy, in tegra_xusb_set_peripheral()
639 usb_phy); in tegra_xusb_set_peripheral()
649 struct tegra_xusb_port *port = container_of(otg->usb_phy, in tegra_xusb_set_host()
651 usb_phy); in tegra_xusb_set_host()
696 port->usb_phy.otg = devm_kzalloc(&port->dev, sizeof(struct usb_otg), in tegra_xusb_setup_usb_role_switch()
698 if (!port->usb_phy.otg) in tegra_xusb_setup_usb_role_switch()
[all …]
/linux/drivers/phy/ti/
H A DKconfig20 select USB_PHY
68 select USB_PHY
100 select USB_PHY
/linux/include/linux/usb/
H A Dotg.h20 /* old usb_phy interface */
21 struct usb_phy *usb_phy; member
H A Dchipidea.h39 /* old usb_phy interface */
40 struct usb_phy *usb_phy; member
H A Dtegra_usb_phy.h72 struct usb_phy *ulpi;
73 struct usb_phy u_phy;
/linux/drivers/phy/realtek/
H A DKconfig12 select USB_PHY
24 select USB_PHY
/linux/drivers/clk/mxs/
H A Dclk-imx23.c86 lcdif, etm, usb, usb_phy, enumerator
152 clks[usb] = mxs_clk_gate("usb", "usb_phy", DIGCTRL, 2); in mx23_clocks_init()
153 clks[usb_phy] = clk_register_gate(NULL, "usb_phy", "pll", 0, PLLCTRL0, 18, 0, &mxs_lock); in mx23_clocks_init()
/linux/Documentation/devicetree/bindings/usb/
H A Dingenic,musb.yaml62 usb_phy: usb-phy {
78 phys = <&usb_phy>;
H A Dti,keystone-dwc3.yaml90 usb-phy = <&usb_phy>, <&usb_phy>;
/linux/arch/arm/boot/dts/nspire/
H A Dnspire.dtsi63 usb_phy: usb_phy { label
92 usb-phy = <&usb_phy>;

123456