Home
last modified time | relevance | path

Searched refs:usb_phy (Results 1 – 99 of 99) sorted by relevance

/linux-4.4.14/include/linux/usb/
Dphy.h63 struct usb_phy;
70 int (*read)(struct usb_phy *x, u32 reg);
71 int (*write)(struct usb_phy *x, u32 val, u32 reg);
74 struct usb_phy { struct
99 int (*init)(struct usb_phy *x); argument
100 void (*shutdown)(struct usb_phy *x); argument
103 int (*set_vbus)(struct usb_phy *x, int on); argument
106 int (*set_power)(struct usb_phy *x, argument
110 int (*set_suspend)(struct usb_phy *x, argument
118 int (*set_wakeup)(struct usb_phy *x, bool enabled); argument
[all …]
Dtegra_usb_phy.h73 struct usb_phy *ulpi;
74 struct usb_phy u_phy;
80 void tegra_usb_phy_preresume(struct usb_phy *phy);
82 void tegra_usb_phy_postresume(struct usb_phy *phy);
84 void tegra_ehci_phy_restore_start(struct usb_phy *phy,
87 void tegra_ehci_phy_restore_end(struct usb_phy *phy);
Dulpi.h55 struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops,
58 static inline struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops, in otg_ulpi_create()
Dchipidea.h37 struct usb_phy *usb_phy; member
Dotg.h20 struct usb_phy *usb_phy; member
Dmsm_hsusb.h164 struct usb_phy phy;
Dhcd.h103 struct usb_phy *usb_phy; member
/linux-4.4.14/drivers/usb/renesas_usbhs/
Drcar2.c35 struct usb_phy *usb_phy = usb_get_phy_dev(&pdev->dev, 0); in usbhs_rcar2_hardware_init() local
37 if (IS_ERR(usb_phy)) in usbhs_rcar2_hardware_init()
38 return PTR_ERR(usb_phy); in usbhs_rcar2_hardware_init()
40 priv->usb_phy = usb_phy; in usbhs_rcar2_hardware_init()
56 if (priv->usb_phy) { in usbhs_rcar2_hardware_exit()
57 usb_put_phy(priv->usb_phy); in usbhs_rcar2_hardware_exit()
58 priv->usb_phy = NULL; in usbhs_rcar2_hardware_exit()
83 if (priv->usb_phy) { in usbhs_rcar2_power_ctrl()
85 retval = usb_phy_init(priv->usb_phy); in usbhs_rcar2_power_ctrl()
88 retval = usb_phy_set_suspend(priv->usb_phy, 0); in usbhs_rcar2_power_ctrl()
[all …]
Dcommon.h281 struct usb_phy *usb_phy; member
Dmod_gadget.c54 struct usb_phy *transceiver;
/linux-4.4.14/drivers/usb/phy/
Dphy.c26 struct usb_phy *phy;
30 static struct usb_phy *__usb_find_phy(struct list_head *list, in __usb_find_phy()
33 struct usb_phy *phy = NULL; in __usb_find_phy()
45 static struct usb_phy *__usb_find_phy_dev(struct device *dev, in __usb_find_phy_dev()
63 static struct usb_phy *__of_usb_find_phy(struct device_node *node) in __of_usb_find_phy()
65 struct usb_phy *phy; in __of_usb_find_phy()
82 struct usb_phy *phy = *(struct usb_phy **)res; in devm_usb_phy_release()
98 struct usb_phy **phy = res; in devm_usb_phy_match()
114 struct usb_phy *devm_usb_get_phy(struct device *dev, enum usb_phy_type type) in devm_usb_get_phy()
116 struct usb_phy **ptr, *phy; in devm_usb_get_phy()
[all …]
Dphy-ulpi.c55 static int ulpi_set_otg_flags(struct usb_phy *phy) in ulpi_set_otg_flags()
79 static int ulpi_set_fc_flags(struct usb_phy *phy) in ulpi_set_fc_flags()
121 static int ulpi_set_ic_flags(struct usb_phy *phy) in ulpi_set_ic_flags()
140 static int ulpi_set_flags(struct usb_phy *phy) in ulpi_set_flags()
155 static int ulpi_check_integrity(struct usb_phy *phy) in ulpi_check_integrity()
181 static int ulpi_init(struct usb_phy *phy) in ulpi_init()
214 struct usb_phy *phy = otg->usb_phy; in ulpi_set_host()
240 struct usb_phy *phy = otg->usb_phy; in ulpi_set_vbus()
256 struct usb_phy *
260 struct usb_phy *phy; in otg_ulpi_create()
[all …]
Dphy-msm-usb.c171 static int ulpi_read(struct usb_phy *phy, u32 reg) in ulpi_read()
196 static int ulpi_write(struct usb_phy *phy, u32 val, u32 reg) in ulpi_write()
242 static int msm_phy_notify_disconnect(struct usb_phy *phy, in msm_phy_notify_disconnect()
320 static int msm_otg_reset(struct usb_phy *phy) in msm_otg_reset()
373 static int msm_usb_reset(struct usb_phy *phy) in msm_usb_reset()
404 static int msm_phy_init(struct usb_phy *phy) in msm_phy_init()
486 struct usb_phy *phy = &motg->phy; in msm_otg_suspend()
583 struct usb_phy *phy = &motg->phy; in msm_otg_resume()
669 static int msm_otg_set_power(struct usb_phy *phy, unsigned mA) in msm_otg_set_power()
686 static void msm_otg_start_host(struct usb_phy *phy, int on) in msm_otg_start_host()
[all …]
Dphy-generic.h9 struct usb_phy phy;
21 int usb_gen_phy_init(struct usb_phy *phy);
22 void usb_gen_phy_shutdown(struct usb_phy *phy);
Dphy-isp1301.c22 struct usb_phy phy;
53 static int isp1301_phy_init(struct usb_phy *phy) in isp1301_phy_init()
80 static int isp1301_phy_set_vbus(struct usb_phy *phy, int on) in isp1301_phy_set_vbus()
96 struct usb_phy *phy; in isp1301_probe()
Dphy-mxs-usb.c162 struct usb_phy phy;
308 static int mxs_phy_init(struct usb_phy *phy) in mxs_phy_init()
321 static void mxs_phy_shutdown(struct usb_phy *phy) in mxs_phy_shutdown()
367 static int mxs_phy_suspend(struct usb_phy *x, int suspend) in mxs_phy_suspend()
408 static int mxs_phy_set_wakeup(struct usb_phy *x, bool enabled) in mxs_phy_set_wakeup()
425 static int mxs_phy_on_connect(struct usb_phy *phy, in mxs_phy_on_connect()
438 static int mxs_phy_on_disconnect(struct usb_phy *phy, in mxs_phy_on_disconnect()
Dphy-qcom-8x16-usb.c64 struct usb_phy phy;
126 static int phy_8x16_notify_connect(struct usb_phy *phy, in phy_8x16_notify_connect()
142 static int phy_8x16_notify_disconnect(struct usb_phy *phy, in phy_8x16_notify_disconnect()
191 static int phy_8x16_init(struct usb_phy *phy) in phy_8x16_init()
251 static void phy_8x16_shutdown(struct usb_phy *phy) in phy_8x16_shutdown()
319 struct usb_phy *phy; in phy_8x16_probe()
Dphy-gpio-vbus-usb.c35 struct usb_phy phy;
185 gpio_vbus = container_of(otg->usb_phy, struct gpio_vbus_data, phy); in gpio_vbus_set_peripheral()
217 static int gpio_vbus_set_power(struct usb_phy *phy, unsigned mA) in gpio_vbus_set_power()
229 static int gpio_vbus_set_suspend(struct usb_phy *phy, int suspend) in gpio_vbus_set_suspend()
276 gpio_vbus->phy.otg->usb_phy = &gpio_vbus->phy; in gpio_vbus_probe()
Dphy-ulpi-viewport.c44 static int ulpi_viewport_read(struct usb_phy *otg, u32 reg) in ulpi_viewport_read()
62 static int ulpi_viewport_write(struct usb_phy *otg, u32 val, u32 reg) in ulpi_viewport_write()
Dphy-rcar-usb.c64 struct usb_phy phy;
82 static int rcar_usb_phy_init(struct usb_phy *phy) in rcar_usb_phy_init()
165 static void rcar_usb_phy_shutdown(struct usb_phy *phy) in rcar_usb_phy_shutdown()
Dphy-keystone.c53 static int keystone_usbphy_init(struct usb_phy *phy) in keystone_usbphy_init()
64 static void keystone_usbphy_shutdown(struct usb_phy *phy) in keystone_usbphy_shutdown()
Dphy-generic.c60 static int nop_set_suspend(struct usb_phy *x, int suspend) in nop_set_suspend()
142 int usb_gen_phy_init(struct usb_phy *phy) in usb_gen_phy_init()
160 void usb_gen_phy_shutdown(struct usb_phy *phy) in usb_gen_phy_shutdown()
288 nop->phy.otg->usb_phy = &nop->phy; in usb_phy_gen_create_phy()
Dphy-tahvo.c54 struct usb_phy phy;
182 static int tahvo_usb_set_suspend(struct usb_phy *dev, int suspend) in tahvo_usb_set_suspend()
202 struct tahvo_usb *tu = container_of(otg->usb_phy, struct tahvo_usb, in tahvo_usb_set_host()
232 struct tahvo_usb *tu = container_of(otg->usb_phy, struct tahvo_usb, in tahvo_usb_set_peripheral()
393 tu->phy.otg->usb_phy = &tu->phy; in tahvo_usb_probe()
Dphy-am335x.c21 static int am335x_init(struct usb_phy *phy) in am335x_init()
29 static void am335x_shutdown(struct usb_phy *phy) in am335x_shutdown()
Dphy-fsl-usb.c468 container_of(otg->usb_phy, struct fsl_otg, phy); in fsl_otg_start_host()
563 otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); in fsl_otg_set_host()
613 otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); in fsl_otg_set_peripheral()
646 static int fsl_otg_set_power(struct usb_phy *phy, unsigned mA) in fsl_otg_set_power()
686 otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); in fsl_otg_start_srp()
704 otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); in fsl_otg_start_hnp()
826 fsl_otg_tc->phy.otg->usb_phy = &fsl_otg_tc->phy; in fsl_otg_conf()
853 struct usb_phy *otg_trans = usb_get_phy(USB_PHY_TYPE_USB2); in usb_otg_start()
Dphy-ab8500-usb.c215 struct usb_phy phy;
234 static inline struct ab8500_usb *phy_to_ab(struct usb_phy *x) in phy_to_ab()
1039 static int ab8500_usb_set_power(struct usb_phy *phy, unsigned mA) in ab8500_usb_set_power()
1058 static int ab8500_usb_set_suspend(struct usb_phy *x, int suspend) in ab8500_usb_set_suspend()
1072 ab = phy_to_ab(otg->usb_phy); in ab8500_usb_set_peripheral()
1096 ab = phy_to_ab(otg->usb_phy); in ab8500_usb_set_host()
1398 otg->usb_phy = &ab->phy; in ab8500_usb_probe()
Dphy-isp1301-omap.c53 struct usb_phy phy;
1277 struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); in isp1301_set_host()
1333 struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); in isp1301_set_peripheral()
1401 isp1301_set_power(struct usb_phy *dev, unsigned mA) in isp1301_set_power()
1413 struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); in isp1301_start_srp()
1440 struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); in isp1301_start_hnp()
1585 isp->phy.otg->usb_phy = &isp->phy; in isp1301_probe()
Dphy-tegra-usb.c712 static int tegra_usb_phy_suspend(struct usb_phy *x, int suspend) in tegra_usb_phy_suspend()
810 void tegra_usb_phy_preresume(struct usb_phy *x) in tegra_usb_phy_preresume()
819 void tegra_usb_phy_postresume(struct usb_phy *x) in tegra_usb_phy_postresume()
828 void tegra_ehci_phy_restore_start(struct usb_phy *x, in tegra_ehci_phy_restore_start()
838 void tegra_ehci_phy_restore_end(struct usb_phy *x) in tegra_ehci_phy_restore_end()
Dphy-mv-usb.h139 struct usb_phy phy;
Dphy-fsl-usb.h372 struct usb_phy phy;
Dphy-mv-usb.c59 struct mv_otg *mvotg = container_of(otg->usb_phy, struct mv_otg, phy); in mv_otg_set_vbus()
413 struct usb_phy *phy; in mv_otg_work()
721 otg->usb_phy = &mvotg->phy; in mv_otg_probe()
DKconfig97 internal transceiver via the usb_phy interface, and
/linux-4.4.14/drivers/usb/host/
Dohci-omap.c183 otg_start_hnp(hcd->usb_phy->otg); in start_hnp()
186 hcd->usb_phy->otg->state = OTG_STATE_A_SUSPEND; in start_hnp()
223 hcd->usb_phy = usb_get_phy(USB_PHY_TYPE_USB2); in ohci_omap_reset()
224 if (!IS_ERR_OR_NULL(hcd->usb_phy)) { in ohci_omap_reset()
225 int status = otg_set_host(hcd->usb_phy->otg, in ohci_omap_reset()
228 hcd->usb_phy->label, status); in ohci_omap_reset()
230 usb_put_phy(hcd->usb_phy); in ohci_omap_reset()
402 if (!IS_ERR_OR_NULL(hcd->usb_phy)) { in usb_hcd_omap_remove()
403 (void) otg_set_host(hcd->usb_phy->otg, 0); in usb_hcd_omap_remove()
404 usb_put_phy(hcd->usb_phy); in usb_hcd_omap_remove()
Dxhci-plat.c165 hcd->usb_phy = devm_usb_get_phy_by_phandle(&pdev->dev, "usb-phy", 0); in xhci_plat_probe()
166 if (IS_ERR(hcd->usb_phy)) { in xhci_plat_probe()
167 ret = PTR_ERR(hcd->usb_phy); in xhci_plat_probe()
170 hcd->usb_phy = NULL; in xhci_plat_probe()
172 ret = usb_phy_init(hcd->usb_phy); in xhci_plat_probe()
192 usb_phy_shutdown(hcd->usb_phy); in xhci_plat_probe()
214 usb_phy_shutdown(hcd->usb_phy); in xhci_plat_remove()
Dehci-tegra.c209 tegra_usb_phy_postresume(hcd->usb_phy); in tegra_ehci_hub_control()
262 tegra_usb_phy_preresume(hcd->usb_phy); in tegra_ehci_hub_control()
407 struct usb_phy *u_phy; in tegra_ehci_probe()
463 hcd->usb_phy = u_phy; in tegra_ehci_probe()
480 err = usb_phy_init(hcd->usb_phy); in tegra_ehci_probe()
494 err = usb_phy_set_suspend(hcd->usb_phy, 0); in tegra_ehci_probe()
521 usb_phy_shutdown(hcd->usb_phy); in tegra_ehci_probe()
535 otg_set_host(hcd->usb_phy->otg, NULL); in tegra_ehci_remove()
537 usb_phy_shutdown(hcd->usb_phy); in tegra_ehci_remove()
Dehci-msm.c72 struct usb_phy *phy; in ehci_msm_probe()
128 hcd->usb_phy = phy; in ehci_msm_probe()
155 otg_set_host(hcd->usb_phy->otg, NULL); in ehci_msm_remove()
Dehci-fsl.c154 hcd->usb_phy = usb_get_phy(USB_PHY_TYPE_USB2); in fsl_ehci_drv_probe()
156 hcd, ehci, hcd->usb_phy); in fsl_ehci_drv_probe()
158 if (!IS_ERR_OR_NULL(hcd->usb_phy)) { in fsl_ehci_drv_probe()
159 retval = otg_set_host(hcd->usb_phy->otg, in fsl_ehci_drv_probe()
162 usb_put_phy(hcd->usb_phy); in fsl_ehci_drv_probe()
657 if (!IS_ERR_OR_NULL(hcd->usb_phy)) { in fsl_ehci_drv_remove()
658 otg_set_host(hcd->usb_phy->otg, NULL); in fsl_ehci_drv_remove()
659 usb_put_phy(hcd->usb_phy); in fsl_ehci_drv_remove()
Dehci-omap.c70 struct usb_phy *phy[OMAP3_HS_USB_PORTS]; /* one PHY for each port */
171 struct usb_phy *phy; in ehci_hcd_omap_probe()
Dehci-mv.c32 struct usb_phy *otg;
Dehci-hub.c927 otg_start_hnp(hcd->usb_phy->otg); in ehci_hub_control()
/linux-4.4.14/drivers/usb/chipidea/
Dci_hdrc_msm.c29 usb_phy_init(ci->usb_phy); in ci_hdrc_msm_notify_event()
37 usb_phy_notify_disconnect(ci->usb_phy, USB_SPEED_UNKNOWN); in ci_hdrc_msm_notify_event()
57 struct usb_phy *phy; in ci_hdrc_msm_probe()
70 ci_hdrc_msm_platdata.usb_phy = phy; in ci_hdrc_msm_probe()
Dcore.c353 ret = usb_phy_init(ci->usb_phy); in _ci_usb_phy_init()
370 usb_phy_shutdown(ci->usb_phy); in ci_usb_phy_exit()
944 } else if (ci->platdata->usb_phy) { in ci_hdrc_probe()
945 ci->usb_phy = ci->platdata->usb_phy; in ci_hdrc_probe()
948 ci->usb_phy = devm_usb_get_phy(dev->parent, USB_PHY_TYPE_USB2); in ci_hdrc_probe()
952 PTR_ERR(ci->usb_phy) == -ENXIO) in ci_hdrc_probe()
955 if (IS_ERR(ci->phy) && IS_ERR(ci->usb_phy)) in ci_hdrc_probe()
960 else if (IS_ERR(ci->usb_phy)) in ci_hdrc_probe()
961 ci->usb_phy = NULL; in ci_hdrc_probe()
1131 usb_phy_set_suspend(ci->usb_phy, 1); in ci_controller_suspend()
[all …]
Dhost.c131 hcd->usb_phy = ci->usb_phy; in host_start()
Dci.h241 struct usb_phy *usb_phy; member
Dci_hdrc_imx.c81 struct usb_phy *phy;
285 pdata.usb_phy = data->phy; in ci_hdrc_imx_probe()
Dotg_fsm.c771 ci->otg.usb_phy = ci->usb_phy; in ci_hdrc_otg_fsm_init()
Dudc.c1563 if (ci->usb_phy) in ci_udc_vbus_draw()
1564 return usb_phy_set_power(ci->usb_phy, ma); in ci_udc_vbus_draw()
/linux-4.4.14/arch/arm/mach-imx/
Dulpi.h7 static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags) in imx_otg_ulpi_create()
12 static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags) in imx_otg_ulpi_create()
Dmx31moboard-devboard.c161 static int devboard_isp1105_init(struct usb_phy *otg) in devboard_isp1105_init()
197 struct usb_phy *phy; in devboard_usbh1_init()
Dmx31moboard-marxbot.c275 static int marxbot_isp1105_init(struct usb_phy *otg) in marxbot_isp1105_init()
311 struct usb_phy *phy; in marxbot_usbh1_init()
/linux-4.4.14/Documentation/devicetree/bindings/phy/
Dpistachio-usb-phy.txt10 - clock-names: Must include "usb_phy".
21 usb_phy: usb-phy {
24 clock-names = "usb_phy";
Dkeystone-usb-phy.txt14 usb_phy: usb_phy@2620738 {
Dsun4i-usb-phy.txt20 * "usb_phy" for sun4i, sun5i or sun7i
45 clock-names = "usb_phy";
Dqcom,usb-8x16-phy.txt58 usb_phy: phy@78d9000 {
/linux-4.4.14/drivers/power/
Dda9150-charger.c37 struct usb_phy *usb_phy; member
590 charger->usb_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in da9150_charger_probe()
591 if (!IS_ERR_OR_NULL(charger->usb_phy)) { in da9150_charger_probe()
594 usb_register_notifier(charger->usb_phy, &charger->otg_nb); in da9150_charger_probe()
628 if (!IS_ERR_OR_NULL(charger->usb_phy)) in da9150_charger_probe()
629 usb_unregister_notifier(charger->usb_phy, &charger->otg_nb); in da9150_charger_probe()
667 if (!IS_ERR_OR_NULL(charger->usb_phy)) in da9150_charger_remove()
668 usb_unregister_notifier(charger->usb_phy, &charger->otg_nb); in da9150_charger_remove()
Dbq25890_charger.c94 struct usb_phy *usb_phy; member
873 bq->usb_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in bq25890_probe()
874 if (!IS_ERR_OR_NULL(bq->usb_phy)) { in bq25890_probe()
877 usb_register_notifier(bq->usb_phy, &bq->usb_nb); in bq25890_probe()
896 if (!IS_ERR_OR_NULL(bq->usb_phy)) in bq25890_probe()
897 usb_unregister_notifier(bq->usb_phy, &bq->usb_nb); in bq25890_probe()
908 if (!IS_ERR_OR_NULL(bq->usb_phy)) in bq25890_remove()
909 usb_unregister_notifier(bq->usb_phy, &bq->usb_nb); in bq25890_remove()
Drt9455_charger.c248 struct usb_phy *usb_phy; member
1647 info->usb_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in rt9455_probe()
1648 if (IS_ERR(info->usb_phy)) { in rt9455_probe()
1652 ret = usb_register_notifier(info->usb_phy, &info->nb); in rt9455_probe()
1703 usb_unregister_notifier(info->usb_phy, &info->nb); in rt9455_probe()
1721 usb_unregister_notifier(info->usb_phy, &info->nb); in rt9455_remove()
Dab8500_charger.c314 struct usb_phy *usb_phy; member
3418 usb_unregister_notifier(di->usb_phy, &di->nb); in ab8500_charger_remove()
3419 usb_put_phy(di->usb_phy); in ab8500_charger_remove()
3650 di->usb_phy = usb_get_phy(USB_PHY_TYPE_USB2); in ab8500_charger_probe()
3651 if (IS_ERR_OR_NULL(di->usb_phy)) { in ab8500_charger_probe()
3657 ret = usb_register_notifier(di->usb_phy, &di->nb); in ab8500_charger_probe()
3719 usb_unregister_notifier(di->usb_phy, &di->nb); in ab8500_charger_probe()
3727 usb_put_phy(di->usb_phy); in ab8500_charger_probe()
Dpda_power.c40 static struct usb_phy *transceiver;
Disp1704_charger.c63 struct usb_phy *phy;
Dtwl4030_charger.c119 struct usb_phy *transceiver;
/linux-4.4.14/drivers/usb/musb/
Dsunxi.c87 struct platform_device *usb_phy; member
88 struct usb_phy *xceiv;
699 glue->usb_phy = usb_phy_generic_register(); in sunxi_musb_probe()
700 if (IS_ERR(glue->usb_phy)) { in sunxi_musb_probe()
702 PTR_ERR(glue->usb_phy)); in sunxi_musb_probe()
703 return PTR_ERR(glue->usb_phy); in sunxi_musb_probe()
734 usb_phy_generic_unregister(glue->usb_phy); in sunxi_musb_probe()
741 struct platform_device *usb_phy = glue->usb_phy; in sunxi_musb_remove() local
744 usb_phy_generic_unregister(usb_phy); in sunxi_musb_remove()
Dmusb_core.h359 struct usb_phy *xceiv;
Dblackfin.c349 static int bfin_musb_set_power(struct usb_phy *x, unsigned mA) in bfin_musb_set_power()
Dtusb6010.c327 static int tusb_draw_power(struct usb_phy *x, unsigned mA) in tusb_draw_power()
Dmusb_core.c135 static int musb_ulpi_read(struct usb_phy *phy, u32 reg) in musb_ulpi_read()
179 static int musb_ulpi_write(struct usb_phy *phy, u32 val, u32 reg) in musb_ulpi_write()
/linux-4.4.14/arch/arm/boot/dts/
Dnspire.dtsi57 usb_phy: usb_phy { label
86 usb-phy = <&usb_phy>;
Dkeystone.dtsi172 usb_phy: usb_phy@2620738 { label
197 usb-phy = <&usb_phy>, <&usb_phy>;
Dk2l-evm.dts31 &usb_phy {
Dk2e.dtsi56 usb1_phy: usb_phy@2620750 {
Dk2e-evm.dts46 &usb_phy {
Dk2hk-evm.dts82 &usb_phy {
Dbcm-cygnus-clock.dtsi103 "usb_phy", "smart_card", "ch5";
Dsun5i.dtsi295 clock-output-names = "usb_ohci0", "usb_phy";
457 clock-names = "usb_phy";
Dsun4i-a10.dtsi484 "usb_phy";
686 clock-names = "usb_phy";
Dsun7i-a20.dtsi493 "usb_phy";
770 clock-names = "usb_phy";
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dkeystone-usb.txt40 usb-phy = <&usb_phy>, <&usb_phy>;
/linux-4.4.14/drivers/phy/
Dphy-omap-usb2.c50 struct usb_phy *x = usb_get_phy(USB_PHY_TYPE_USB2); in omap_usb2_set_comparator()
63 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_set_vbus()
73 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_start_srp()
252 otg->usb_phy = &phy->phy; in omap_usb2_probe()
Dphy-dm816x-usb.c57 struct usb_phy phy;
236 otg->usb_phy = &phy->phy; in dm816x_usb_phy_probe()
Dphy-twl4030-usb.c158 struct usb_phy phy;
680 otg->usb_phy = &twl->phy; in twl4030_usb_probe()
/linux-4.4.14/include/linux/platform_data/
Dusb-ehci-mxc.h9 struct usb_phy *otg;
/linux-4.4.14/arch/arm/mach-pxa/
Dpxa3xx-ulpi.c36 struct usb_phy *otg;
82 static int pxa310_ulpi_read(struct usb_phy *otg, u32 reg) in pxa310_ulpi_read()
101 static int pxa310_ulpi_write(struct usb_phy *otg, u32 val, u32 reg) in pxa310_ulpi_write()
/linux-4.4.14/drivers/usb/misc/
Dlvstest.c336 if (hcd->usb_phy) in lvs_rh_work()
337 usb_phy_notify_connect(hcd->usb_phy, in lvs_rh_work()
341 if (hcd->usb_phy) in lvs_rh_work()
342 usb_phy_notify_disconnect(hcd->usb_phy, in lvs_rh_work()
/linux-4.4.14/include/linux/phy/
Domap_usb.h34 struct usb_phy phy;
/linux-4.4.14/drivers/clk/mxs/
Dclk-imx23.c92 lcdif, etm, usb, usb_phy, enumerator
159 clks[usb_phy] = clk_register_gate(NULL, "usb_phy", "pll", 0, PLLCTRL0, 18, 0, &mxs_lock); in mx23_clocks_init()
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dimx23-clock.txt55 usb_phy 41
Dbrcm,iproc-clocks.txt122 usb_phy lcpll0 4 BCM_CYGNUS_LCPLL0_USB_PHY_REF_CLK
/linux-4.4.14/drivers/usb/core/
Dhcd.c2685 if (IS_ENABLED(CONFIG_USB_PHY) && !hcd->usb_phy) { in usb_add_hcd()
2686 struct usb_phy *phy = usb_get_phy_dev(hcd->self.controller, 0); in usb_add_hcd()
2698 hcd->usb_phy = phy; in usb_add_hcd()
2896 if (hcd->remove_phy && hcd->usb_phy) { in usb_add_hcd()
2897 usb_phy_shutdown(hcd->usb_phy); in usb_add_hcd()
2898 usb_put_phy(hcd->usb_phy); in usb_add_hcd()
2899 hcd->usb_phy = NULL; in usb_add_hcd()
2979 if (hcd->remove_phy && hcd->usb_phy) { in usb_remove_hcd()
2980 usb_phy_shutdown(hcd->usb_phy); in usb_remove_hcd()
2981 usb_put_phy(hcd->usb_phy); in usb_remove_hcd()
[all …]
Dhub.c4674 if (hcd->usb_phy && !hdev->parent) in hub_port_connect()
4675 usb_phy_notify_disconnect(hcd->usb_phy, udev->speed); in hub_port_connect()
4833 if (hcd->usb_phy && !hdev->parent) in hub_port_connect()
4834 usb_phy_notify_connect(hcd->usb_phy, in hub_port_connect()
/linux-4.4.14/drivers/usb/gadget/udc/
Domap_udc.h166 struct usb_phy *transceiver;
Dpxa25x_udc.h121 struct usb_phy *transceiver;
Dmv_udc.h220 struct usb_phy *transceiver;
Dfsl_usb2_udc.h487 struct usb_phy *transceiver;
Dpxa27x_udc.h462 struct usb_phy *transceiver;
Ds3c-hsudc.c148 struct usb_phy *transceiver;
Domap_udc.c2621 omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) in omap_udc_setup()
2753 struct usb_phy *xceiv = NULL; in omap_udc_probe()
/linux-4.4.14/drivers/usb/dwc3/
Dcore.h759 struct usb_phy *usb2_phy;
760 struct usb_phy *usb3_phy;
/linux-4.4.14/drivers/extcon/
Dextcon-axp288.c119 struct usb_phy *otg;
/linux-4.4.14/drivers/usb/dwc2/
Dcore.h715 struct usb_phy *uphy;