Home
last modified time | relevance | path

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

/linux-4.1.27/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);
Dchipidea.h18 struct usb_phy *usb_phy; member
Dotg.h20 struct usb_phy *usb_phy; member
Dulpi.h185 struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops,
188 static inline struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops, in otg_ulpi_create()
Dmsm_hsusb.h143 struct usb_phy phy;
Dhcd.h109 struct usb_phy *usb_phy; member
/linux-4.1.27/drivers/usb/renesas_usbhs/
Drcar2.c36 struct usb_phy *usb_phy = usb_get_phy_dev(&pdev->dev, 0); in usbhs_rcar2_hardware_init() local
38 if (IS_ERR(usb_phy)) in usbhs_rcar2_hardware_init()
39 return PTR_ERR(usb_phy); in usbhs_rcar2_hardware_init()
41 priv->usb_phy = usb_phy; in usbhs_rcar2_hardware_init()
57 if (priv->usb_phy) { in usbhs_rcar2_hardware_exit()
58 usb_put_phy(priv->usb_phy); in usbhs_rcar2_hardware_exit()
59 priv->usb_phy = NULL; in usbhs_rcar2_hardware_exit()
84 if (priv->usb_phy) { in usbhs_rcar2_power_ctrl()
86 retval = usb_phy_init(priv->usb_phy); in usbhs_rcar2_power_ctrl()
89 retval = usb_phy_set_suspend(priv->usb_phy, 0); in usbhs_rcar2_power_ctrl()
[all …]
Dcommon.h281 struct usb_phy *usb_phy; member
/linux-4.1.27/drivers/usb/phy/
Dphy.c25 static struct usb_phy *__usb_find_phy(struct list_head *list, in __usb_find_phy()
28 struct usb_phy *phy = NULL; in __usb_find_phy()
40 static struct usb_phy *__usb_find_phy_dev(struct device *dev, in __usb_find_phy_dev()
58 static struct usb_phy *__of_usb_find_phy(struct device_node *node) in __of_usb_find_phy()
60 struct usb_phy *phy; in __of_usb_find_phy()
77 struct usb_phy *phy = *(struct usb_phy **)res; in devm_usb_phy_release()
84 struct usb_phy **phy = res; in devm_usb_phy_match()
100 struct usb_phy *devm_usb_get_phy(struct device *dev, enum usb_phy_type type) in devm_usb_get_phy()
102 struct usb_phy **ptr, *phy; in devm_usb_get_phy()
129 struct usb_phy *usb_get_phy(enum usb_phy_type type) in 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.c169 static int ulpi_read(struct usb_phy *phy, u32 reg) in ulpi_read()
194 static int ulpi_write(struct usb_phy *phy, u32 val, u32 reg) in ulpi_write()
240 static int msm_phy_notify_disconnect(struct usb_phy *phy, in msm_phy_notify_disconnect()
312 static int msm_otg_reset(struct usb_phy *phy) in msm_otg_reset()
365 static int msm_usb_reset(struct usb_phy *phy) in msm_usb_reset()
396 static int msm_phy_init(struct usb_phy *phy) in msm_phy_init()
460 struct usb_phy *phy = &motg->phy; in msm_otg_suspend()
557 struct usb_phy *phy = &motg->phy; in msm_otg_resume()
643 static int msm_otg_set_power(struct usb_phy *phy, unsigned mA) in msm_otg_set_power()
660 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;
52 static int isp1301_phy_init(struct usb_phy *phy) in isp1301_phy_init()
79 static int isp1301_phy_set_vbus(struct usb_phy *phy, int on) in isp1301_phy_set_vbus()
95 struct usb_phy *phy; in isp1301_probe()
Dphy-mxs-usb.c157 struct usb_phy phy;
303 static int mxs_phy_init(struct usb_phy *phy) in mxs_phy_init()
316 static void mxs_phy_shutdown(struct usb_phy *phy) in mxs_phy_shutdown()
362 static int mxs_phy_suspend(struct usb_phy *x, int suspend) in mxs_phy_suspend()
403 static int mxs_phy_set_wakeup(struct usb_phy *x, bool enabled) in mxs_phy_set_wakeup()
420 static int mxs_phy_on_connect(struct usb_phy *phy, in mxs_phy_on_connect()
433 static int mxs_phy_on_disconnect(struct usb_phy *phy, in mxs_phy_on_disconnect()
Dphy-rcar-gen2-usb.c22 struct usb_phy phy;
123 static int rcar_gen2_usb_phy_set_suspend(struct usb_phy *phy, int suspend) in rcar_gen2_usb_phy_set_suspend()
136 static int rcar_gen2_usb_phy_init(struct usb_phy *phy) in rcar_gen2_usb_phy_init()
152 static void rcar_gen2_usb_phy_shutdown(struct usb_phy *phy) in rcar_gen2_usb_phy_shutdown()
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-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()
286 nop->phy.otg->usb_phy = &nop->phy; in usb_phy_gen_create_phy()
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-tahvo.c54 struct usb_phy phy;
181 static int tahvo_usb_set_suspend(struct usb_phy *dev, int suspend) in tahvo_usb_set_suspend()
201 struct tahvo_usb *tu = container_of(otg->usb_phy, struct tahvo_usb, in tahvo_usb_set_host()
231 struct tahvo_usb *tu = container_of(otg->usb_phy, struct tahvo_usb, in tahvo_usb_set_peripheral()
390 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()
DKconfig98 internal transceiver via the usb_phy interface, and
/linux-4.1.27/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.c159 hcd->usb_phy = devm_usb_get_phy_by_phandle(&pdev->dev, "usb-phy", 0); in xhci_plat_probe()
160 if (IS_ERR(hcd->usb_phy)) { in xhci_plat_probe()
161 ret = PTR_ERR(hcd->usb_phy); in xhci_plat_probe()
164 hcd->usb_phy = NULL; in xhci_plat_probe()
166 ret = usb_phy_init(hcd->usb_phy); in xhci_plat_probe()
178 usb_phy_shutdown(hcd->usb_phy); in xhci_plat_probe()
203 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()
401 struct usb_phy *u_phy; in tegra_ehci_probe()
457 hcd->usb_phy = u_phy; in tegra_ehci_probe()
474 err = usb_phy_init(hcd->usb_phy); in tegra_ehci_probe()
488 err = usb_phy_set_suspend(hcd->usb_phy, 0); in tegra_ehci_probe()
515 usb_phy_shutdown(hcd->usb_phy); in tegra_ehci_probe()
529 otg_set_host(hcd->usb_phy->otg, NULL); in tegra_ehci_remove()
531 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.c133 hcd->usb_phy = usb_get_phy(USB_PHY_TYPE_USB2); in usb_hcd_fsl_probe()
135 hcd, ehci, hcd->usb_phy); in usb_hcd_fsl_probe()
137 if (!IS_ERR_OR_NULL(hcd->usb_phy)) { in usb_hcd_fsl_probe()
138 retval = otg_set_host(hcd->usb_phy->otg, in usb_hcd_fsl_probe()
141 usb_put_phy(hcd->usb_phy); in usb_hcd_fsl_probe()
178 if (!IS_ERR_OR_NULL(hcd->usb_phy)) { in usb_hcd_fsl_remove()
179 otg_set_host(hcd->usb_phy->otg, NULL); in usb_hcd_fsl_remove()
180 usb_put_phy(hcd->usb_phy); in usb_hcd_fsl_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.c926 otg_start_hnp(hcd->usb_phy->otg); in ehci_hub_control()
/linux-4.1.27/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.c348 ret = usb_phy_init(ci->usb_phy); in _ci_usb_phy_init()
365 usb_phy_shutdown(ci->usb_phy); in ci_usb_phy_exit()
717 } else if (ci->platdata->usb_phy) { in ci_hdrc_probe()
718 ci->usb_phy = ci->platdata->usb_phy; in ci_hdrc_probe()
721 ci->usb_phy = devm_usb_get_phy(dev->parent, USB_PHY_TYPE_USB2); in ci_hdrc_probe()
725 PTR_ERR(ci->usb_phy) == -ENXIO) in ci_hdrc_probe()
728 if (IS_ERR(ci->phy) && IS_ERR(ci->usb_phy)) in ci_hdrc_probe()
733 else if (IS_ERR(ci->usb_phy)) in ci_hdrc_probe()
734 ci->usb_phy = NULL; in ci_hdrc_probe()
895 usb_phy_set_suspend(ci->usb_phy, 1); in ci_controller_suspend()
[all …]
Dhost.c105 hcd->usb_phy = ci->usb_phy; in host_start()
Dci.h239 struct usb_phy *usb_phy; member
Dci_hdrc_imx.c65 struct usb_phy *phy;
264 pdata.usb_phy = data->phy; in ci_hdrc_imx_probe()
Dotg_fsm.c772 ci->otg.usb_phy = ci->usb_phy; in ci_hdrc_otg_fsm_init()
Dudc.c1556 if (ci->usb_phy) in ci_udc_vbus_draw()
1557 return usb_phy_set_power(ci->usb_phy, ma); in ci_udc_vbus_draw()
/linux-4.1.27/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.1.27/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()
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.c92 struct usb_phy *transceiver;
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dkeystone-phy.txt14 usb_phy: usb_phy@2620738 {
Dkeystone-usb.txt40 usb-phy = <&usb_phy>, <&usb_phy>;
/linux-4.1.27/Documentation/devicetree/bindings/phy/
Dsun4i-usb-phy.txt18 * "usb_phy" for sun4i, sun5i or sun7i
34 clock-names = "usb_phy";
/linux-4.1.27/arch/arm/boot/dts/
Dnspire.dtsi57 usb_phy: usb_phy { label
86 usb-phy = <&usb_phy>;
Dkeystone.dtsi171 usb_phy: usb_phy@2620738 { label
196 usb-phy = <&usb_phy>, <&usb_phy>;
Dk2l-evm.dts31 &usb_phy {
Dk2e.dtsi53 usb1_phy: usb_phy@2620750 {
Dk2e-evm.dts46 &usb_phy {
Dk2hk-evm.dts82 &usb_phy {
Dsun5i-a13.dtsi342 clock-output-names = "usb_ohci0", "usb_phy";
432 clock-names = "usb_phy";
Dsun5i-a10s.dtsi304 clock-output-names = "usb_ohci0", "usb_phy";
425 clock-names = "usb_phy";
Dsun4i-a10.dtsi405 clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
541 clock-names = "usb_phy";
Dsun7i-a20.dtsi448 clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
656 clock-names = "usb_phy";
/linux-4.1.27/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;
684 otg->usb_phy = &twl->phy; in twl4030_usb_probe()
/linux-4.1.27/include/linux/platform_data/
Dusb-ehci-mxc.h9 struct usb_phy *otg;
/linux-4.1.27/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.1.27/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.1.27/arch/arm/mach-shmobile/
Dboard-marzen.c72 static struct platform_device usb_phy = { variable
254 &usb_phy,
Dsetup-r8a7778.c109 static struct usb_phy *phy = NULL; in r8a7778_usb_phy_power()
Dsetup-r8a7779.c340 static struct usb_phy *phy;
/linux-4.1.27/include/linux/phy/
Domap_usb.h34 struct usb_phy phy;
/linux-4.1.27/drivers/clk/mxs/
Dclk-imx23.c93 lcdif, etm, usb, usb_phy, enumerator
160 clks[usb_phy] = clk_register_gate(NULL, "usb_phy", "pll", 0, PLLCTRL0, 18, 0, &mxs_lock); in mx23_clocks_init()
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dimx23-clock.txt55 usb_phy 41
/linux-4.1.27/drivers/usb/core/
Dhcd.c2645 if (IS_ENABLED(CONFIG_USB_PHY) && !hcd->usb_phy) { in usb_add_hcd()
2646 struct usb_phy *phy = usb_get_phy_dev(hcd->self.controller, 0); in usb_add_hcd()
2658 hcd->usb_phy = phy; in usb_add_hcd()
2837 if (hcd->remove_phy && hcd->usb_phy) { in usb_add_hcd()
2838 usb_phy_shutdown(hcd->usb_phy); in usb_add_hcd()
2839 usb_put_phy(hcd->usb_phy); in usb_add_hcd()
2840 hcd->usb_phy = NULL; in usb_add_hcd()
2920 if (hcd->remove_phy && hcd->usb_phy) { in usb_remove_hcd()
2921 usb_phy_shutdown(hcd->usb_phy); in usb_remove_hcd()
2922 usb_put_phy(hcd->usb_phy); in usb_remove_hcd()
[all …]
Dhub.c4634 if (hcd->usb_phy && !hdev->parent) in hub_port_connect()
4635 usb_phy_notify_disconnect(hcd->usb_phy, udev->speed); in hub_port_connect()
4793 if (hcd->usb_phy && !hdev->parent) in hub_port_connect()
4794 usb_phy_notify_connect(hcd->usb_phy, in hub_port_connect()
/linux-4.1.27/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.h452 struct usb_phy *transceiver;
Ds3c-hsudc.c148 struct usb_phy *transceiver;
Domap_udc.c2599 omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) in omap_udc_setup()
2731 struct usb_phy *xceiv = NULL; in omap_udc_probe()
/linux-4.1.27/drivers/usb/dwc2/
Dplatform.c161 struct usb_phy *uphy; in dwc2_driver_probe()
Dcore.h600 struct usb_phy *uphy;
/linux-4.1.27/drivers/usb/dwc3/
Dcore.h739 struct usb_phy *usb2_phy;
740 struct usb_phy *usb3_phy;
/linux-4.1.27/drivers/usb/musb/
Dmusb_core.h352 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()