usb_phy 153 arch/arm/mach-imx/mx31moboard-devboard.c static int devboard_isp1105_init(struct usb_phy *otg) usb_phy 189 arch/arm/mach-imx/mx31moboard-devboard.c struct usb_phy *phy; usb_phy 178 arch/arm/mach-imx/mx31moboard-marxbot.c static int marxbot_isp1105_init(struct usb_phy *otg) usb_phy 214 arch/arm/mach-imx/mx31moboard-marxbot.c struct usb_phy *phy; usb_phy 8 arch/arm/mach-imx/ulpi.h static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags) usb_phy 13 arch/arm/mach-imx/ulpi.h static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags) usb_phy 33 arch/arm/mach-pxa/pxa3xx-ulpi.c struct usb_phy *otg; usb_phy 79 arch/arm/mach-pxa/pxa3xx-ulpi.c static int pxa310_ulpi_read(struct usb_phy *otg, u32 reg) usb_phy 98 arch/arm/mach-pxa/pxa3xx-ulpi.c static int pxa310_ulpi_write(struct usb_phy *otg, u32 val, u32 reg) usb_phy 153 drivers/clk/mxs/clk-imx23.c clks[usb_phy] = clk_register_gate(NULL, "usb_phy", "pll", 0, PLLCTRL0, 18, 0, &mxs_lock); usb_phy 126 drivers/phy/motorola/phy-cpcap-usb.c struct usb_phy phy; usb_phy 613 drivers/phy/motorola/phy-cpcap-usb.c otg->usb_phy = &ddata->phy; usb_phy 57 drivers/phy/ti/phy-dm816x-usb.c struct usb_phy phy; usb_phy 236 drivers/phy/ti/phy-dm816x-usb.c otg->usb_phy = &phy->phy; usb_phy 46 drivers/phy/ti/phy-omap-usb2.c struct usb_phy *x = usb_get_phy(USB_PHY_TYPE_USB2); usb_phy 59 drivers/phy/ti/phy-omap-usb2.c struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); usb_phy 69 drivers/phy/ti/phy-omap-usb2.c struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); usb_phy 401 drivers/phy/ti/phy-omap-usb2.c otg->usb_phy = &phy->phy; usb_phy 146 drivers/phy/ti/phy-twl4030-usb.c struct usb_phy phy; usb_phy 706 drivers/phy/ti/phy-twl4030-usb.c otg->usb_phy = &twl->phy; usb_phy 1337 drivers/pinctrl/qcom/pinctrl-msm8998.c FUNCTION(usb_phy), usb_phy 1388 drivers/pinctrl/qcom/pinctrl-msm8998.c PINGROUP(38, WEST, usb_phy, _, _, _, _, _, _, _, _), usb_phy 955 drivers/pinctrl/qcom/pinctrl-sc7180.c FUNCTION(usb_phy), usb_phy 1077 drivers/pinctrl/qcom/pinctrl-sc7180.c [104] = PINGROUP(104, WEST, usb_phy, _, qdss, _, _, _, _, _, _), usb_phy 1109 drivers/pinctrl/qcom/pinctrl-sdm845.c FUNCTION(usb_phy), usb_phy 1162 drivers/pinctrl/qcom/pinctrl-sdm845.c PINGROUP(38, NORTH, usb_phy, _, _, _, _, _, _, _, _, _), usb_phy 1305 drivers/pinctrl/qcom/pinctrl-sm8150.c FUNCTION(usb_phy), usb_phy 1360 drivers/pinctrl/qcom/pinctrl-sm8150.c [38] = PINGROUP(38, SOUTH, usb_phy, _, _, _, _, _, _, _, _), usb_phy 312 drivers/power/supply/ab8500_charger.c struct usb_phy *usb_phy; usb_phy 3298 drivers/power/supply/ab8500_charger.c usb_unregister_notifier(di->usb_phy, &di->nb); usb_phy 3299 drivers/power/supply/ab8500_charger.c usb_put_phy(di->usb_phy); usb_phy 3527 drivers/power/supply/ab8500_charger.c di->usb_phy = usb_get_phy(USB_PHY_TYPE_USB2); usb_phy 3528 drivers/power/supply/ab8500_charger.c if (IS_ERR_OR_NULL(di->usb_phy)) { usb_phy 3534 drivers/power/supply/ab8500_charger.c ret = usb_register_notifier(di->usb_phy, &di->nb); usb_phy 3596 drivers/power/supply/ab8500_charger.c usb_unregister_notifier(di->usb_phy, &di->nb); usb_phy 3604 drivers/power/supply/ab8500_charger.c usb_put_phy(di->usb_phy); usb_phy 86 drivers/power/supply/bq25890_charger.c struct usb_phy *usb_phy; usb_phy 899 drivers/power/supply/bq25890_charger.c bq->usb_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); usb_phy 900 drivers/power/supply/bq25890_charger.c if (!IS_ERR_OR_NULL(bq->usb_phy)) { usb_phy 903 drivers/power/supply/bq25890_charger.c usb_register_notifier(bq->usb_phy, &bq->usb_nb); usb_phy 922 drivers/power/supply/bq25890_charger.c if (!IS_ERR_OR_NULL(bq->usb_phy)) usb_phy 923 drivers/power/supply/bq25890_charger.c usb_unregister_notifier(bq->usb_phy, &bq->usb_nb); usb_phy 934 drivers/power/supply/bq25890_charger.c if (!IS_ERR_OR_NULL(bq->usb_phy)) usb_phy 935 drivers/power/supply/bq25890_charger.c usb_unregister_notifier(bq->usb_phy, &bq->usb_nb); usb_phy 33 drivers/power/supply/da9150-charger.c struct usb_phy *usb_phy; usb_phy 586 drivers/power/supply/da9150-charger.c charger->usb_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); usb_phy 587 drivers/power/supply/da9150-charger.c if (!IS_ERR_OR_NULL(charger->usb_phy)) { usb_phy 590 drivers/power/supply/da9150-charger.c usb_register_notifier(charger->usb_phy, &charger->otg_nb); usb_phy 624 drivers/power/supply/da9150-charger.c if (!IS_ERR_OR_NULL(charger->usb_phy)) usb_phy 625 drivers/power/supply/da9150-charger.c usb_unregister_notifier(charger->usb_phy, &charger->otg_nb); usb_phy 663 drivers/power/supply/da9150-charger.c if (!IS_ERR_OR_NULL(charger->usb_phy)) usb_phy 664 drivers/power/supply/da9150-charger.c usb_unregister_notifier(charger->usb_phy, &charger->otg_nb); usb_phy 50 drivers/power/supply/isp1704_charger.c struct usb_phy *phy; usb_phy 37 drivers/power/supply/pda_power.c static struct usb_phy *transceiver; usb_phy 239 drivers/power/supply/rt9455_charger.c struct usb_phy *usb_phy; usb_phy 1638 drivers/power/supply/rt9455_charger.c info->usb_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); usb_phy 1639 drivers/power/supply/rt9455_charger.c if (IS_ERR(info->usb_phy)) { usb_phy 1643 drivers/power/supply/rt9455_charger.c ret = usb_register_notifier(info->usb_phy, &info->nb); usb_phy 1694 drivers/power/supply/rt9455_charger.c usb_unregister_notifier(info->usb_phy, &info->nb); usb_phy 1712 drivers/power/supply/rt9455_charger.c usb_unregister_notifier(info->usb_phy, &info->nb); usb_phy 57 drivers/power/supply/sc2731_charger.c struct usb_phy *usb_phy; usb_phy 446 drivers/power/supply/sc2731_charger.c if (info->usb_phy->chg_state != USB_CHARGER_PRESENT) usb_phy 449 drivers/power/supply/sc2731_charger.c usb_phy_get_charger_current(info->usb_phy, &min, &max); usb_phy 496 drivers/power/supply/sc2731_charger.c info->usb_phy = devm_usb_get_phy_by_phandle(&pdev->dev, "phys", 0); usb_phy 497 drivers/power/supply/sc2731_charger.c if (IS_ERR(info->usb_phy)) { usb_phy 499 drivers/power/supply/sc2731_charger.c return PTR_ERR(info->usb_phy); usb_phy 503 drivers/power/supply/sc2731_charger.c ret = usb_register_notifier(info->usb_phy, &info->usb_notify); usb_phy 518 drivers/power/supply/sc2731_charger.c usb_unregister_notifier(info->usb_phy, &info->usb_notify); usb_phy 115 drivers/power/supply/twl4030_charger.c struct usb_phy *transceiver; usb_phy 32 drivers/power/supply/wm831x_power.c struct usb_phy *usb_phy; usb_phy 647 drivers/power/supply/wm831x_power.c power->usb_phy = devm_usb_get_phy_by_phandle(&pdev->dev, "phys", 0); usb_phy 648 drivers/power/supply/wm831x_power.c ret = PTR_ERR_OR_ZERO(power->usb_phy); usb_phy 653 drivers/power/supply/wm831x_power.c ret = usb_register_notifier(power->usb_phy, &power->usb_notify); usb_phy 663 drivers/power/supply/wm831x_power.c power->usb_phy = NULL; usb_phy 704 drivers/power/supply/wm831x_power.c if (wm831x_power->usb_phy) { usb_phy 705 drivers/power/supply/wm831x_power.c usb_unregister_notifier(wm831x_power->usb_phy, usb_phy 249 drivers/usb/chipidea/ci.h struct usb_phy *usb_phy; usb_phy 87 drivers/usb/chipidea/ci_hdrc_imx.c struct usb_phy *phy; usb_phy 406 drivers/usb/chipidea/ci_hdrc_imx.c pdata.usb_phy = data->phy; usb_phy 409 drivers/usb/chipidea/ci_hdrc_imx.c of_device_is_compatible(np, "fsl,imx51-usb")) && pdata.usb_phy && usb_phy 413 drivers/usb/chipidea/ci_hdrc_imx.c usb_phy_init(pdata.usb_phy); usb_phy 19 drivers/usb/chipidea/ci_hdrc_tegra.c struct usb_phy *phy; usb_phy 108 drivers/usb/chipidea/ci_hdrc_tegra.c udc->data.usb_phy = udc->phy; usb_phy 351 drivers/usb/chipidea/core.c ret = usb_phy_init(ci->usb_phy); usb_phy 371 drivers/usb/chipidea/core.c usb_phy_shutdown(ci->usb_phy); usb_phy 1020 drivers/usb/chipidea/core.c } else if (ci->platdata->usb_phy) { usb_phy 1021 drivers/usb/chipidea/core.c ci->usb_phy = ci->platdata->usb_phy; usb_phy 1035 drivers/usb/chipidea/core.c ci->usb_phy = devm_usb_get_phy_by_phandle(dev->parent, usb_phy 1038 drivers/usb/chipidea/core.c if (PTR_ERR(ci->usb_phy) == -EPROBE_DEFER) { usb_phy 1041 drivers/usb/chipidea/core.c } else if (IS_ERR(ci->usb_phy)) { usb_phy 1042 drivers/usb/chipidea/core.c ci->usb_phy = NULL; usb_phy 1047 drivers/usb/chipidea/core.c if (!ci->phy && !ci->usb_phy) { usb_phy 1048 drivers/usb/chipidea/core.c ci->usb_phy = devm_usb_get_phy(dev->parent, usb_phy 1051 drivers/usb/chipidea/core.c if (PTR_ERR(ci->usb_phy) == -EPROBE_DEFER) { usb_phy 1054 drivers/usb/chipidea/core.c } else if (IS_ERR(ci->usb_phy)) { usb_phy 1055 drivers/usb/chipidea/core.c ci->usb_phy = NULL; usb_phy 1060 drivers/usb/chipidea/core.c if (!ci->phy && !ci->usb_phy) { usb_phy 1259 drivers/usb/chipidea/core.c usb_phy_set_suspend(ci->usb_phy, 1); usb_phy 1282 drivers/usb/chipidea/core.c if (ci->usb_phy) { usb_phy 1283 drivers/usb/chipidea/core.c usb_phy_set_suspend(ci->usb_phy, 0); usb_phy 1284 drivers/usb/chipidea/core.c usb_phy_set_wakeup(ci->usb_phy, false); usb_phy 1326 drivers/usb/chipidea/core.c usb_phy_set_wakeup(ci->usb_phy, true); usb_phy 1371 drivers/usb/chipidea/core.c usb_phy_set_wakeup(ci->usb_phy, true); usb_phy 130 drivers/usb/chipidea/host.c if (ci->phy || ci->usb_phy) { usb_phy 132 drivers/usb/chipidea/host.c if (ci->usb_phy) usb_phy 133 drivers/usb/chipidea/host.c hcd->usb_phy = ci->usb_phy; usb_phy 796 drivers/usb/chipidea/otg_fsm.c ci->otg.usb_phy = ci->usb_phy; usb_phy 1539 drivers/usb/chipidea/udc.c if (ci->usb_phy) usb_phy 1540 drivers/usb/chipidea/udc.c usb_phy_set_charger_state(ci->usb_phy, is_active ? usb_phy 1596 drivers/usb/chipidea/udc.c if (ci->usb_phy) usb_phy 1597 drivers/usb/chipidea/udc.c return usb_phy_set_power(ci->usb_phy, ma); usb_phy 4971 drivers/usb/core/hub.c if (hcd->usb_phy && !hdev->parent) usb_phy 4972 drivers/usb/core/hub.c usb_phy_notify_disconnect(hcd->usb_phy, udev->speed); usb_phy 5130 drivers/usb/core/hub.c if (hcd->usb_phy && !hdev->parent) usb_phy 5131 drivers/usb/core/hub.c usb_phy_notify_connect(hcd->usb_phy, usb_phy 1060 drivers/usb/dwc2/core.h struct usb_phy *uphy; usb_phy 1076 drivers/usb/dwc3/core.h struct usb_phy *usb2_phy; usb_phy 1077 drivers/usb/dwc3/core.h struct usb_phy *usb3_phy; usb_phy 483 drivers/usb/gadget/udc/fsl_usb2_udc.h struct usb_phy *transceiver; usb_phy 216 drivers/usb/gadget/udc/mv_udc.h struct usb_phy *transceiver; usb_phy 2616 drivers/usb/gadget/udc/omap_udc.c omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) usb_phy 2749 drivers/usb/gadget/udc/omap_udc.c struct usb_phy *xceiv = NULL; usb_phy 167 drivers/usb/gadget/udc/omap_udc.h struct usb_phy *transceiver; usb_phy 116 drivers/usb/gadget/udc/pxa25x_udc.h struct usb_phy *transceiver; usb_phy 458 drivers/usb/gadget/udc/pxa27x_udc.h struct usb_phy *transceiver; usb_phy 145 drivers/usb/gadget/udc/s3c-hsudc.c struct usb_phy *transceiver; usb_phy 155 drivers/usb/host/ehci-fsl.c hcd->usb_phy = usb_get_phy(USB_PHY_TYPE_USB2); usb_phy 157 drivers/usb/host/ehci-fsl.c hcd, ehci, hcd->usb_phy); usb_phy 159 drivers/usb/host/ehci-fsl.c if (!IS_ERR_OR_NULL(hcd->usb_phy)) { usb_phy 160 drivers/usb/host/ehci-fsl.c retval = otg_set_host(hcd->usb_phy->otg, usb_phy 163 drivers/usb/host/ehci-fsl.c usb_put_phy(hcd->usb_phy); usb_phy 698 drivers/usb/host/ehci-fsl.c if (!IS_ERR_OR_NULL(hcd->usb_phy)) { usb_phy 699 drivers/usb/host/ehci-fsl.c otg_set_host(hcd->usb_phy->otg, NULL); usb_phy 700 drivers/usb/host/ehci-fsl.c usb_put_phy(hcd->usb_phy); usb_phy 942 drivers/usb/host/ehci-hub.c otg_start_hnp(hcd->usb_phy->otg); usb_phy 36 drivers/usb/host/ehci-mv.c struct usb_phy *otg; usb_phy 56 drivers/usb/host/ehci-omap.c struct usb_phy *phy[OMAP3_HS_USB_PORTS]; /* one PHY for each port */ usb_phy 155 drivers/usb/host/ehci-omap.c struct usb_phy *phy; usb_phy 195 drivers/usb/host/ehci-tegra.c tegra_usb_phy_postresume(hcd->usb_phy); usb_phy 248 drivers/usb/host/ehci-tegra.c tegra_usb_phy_preresume(hcd->usb_phy); usb_phy 393 drivers/usb/host/ehci-tegra.c struct usb_phy *u_phy; usb_phy 451 drivers/usb/host/ehci-tegra.c hcd->usb_phy = u_phy; usb_phy 469 drivers/usb/host/ehci-tegra.c err = usb_phy_init(hcd->usb_phy); usb_phy 483 drivers/usb/host/ehci-tegra.c err = usb_phy_set_suspend(hcd->usb_phy, 0); usb_phy 510 drivers/usb/host/ehci-tegra.c usb_phy_shutdown(hcd->usb_phy); usb_phy 524 drivers/usb/host/ehci-tegra.c otg_set_host(hcd->usb_phy->otg, NULL); usb_phy 526 drivers/usb/host/ehci-tegra.c usb_phy_shutdown(hcd->usb_phy); usb_phy 180 drivers/usb/host/ohci-omap.c otg_start_hnp(hcd->usb_phy->otg); usb_phy 183 drivers/usb/host/ohci-omap.c hcd->usb_phy->otg->state = OTG_STATE_A_SUSPEND; usb_phy 220 drivers/usb/host/ohci-omap.c hcd->usb_phy = usb_get_phy(USB_PHY_TYPE_USB2); usb_phy 221 drivers/usb/host/ohci-omap.c if (!IS_ERR_OR_NULL(hcd->usb_phy)) { usb_phy 222 drivers/usb/host/ohci-omap.c int status = otg_set_host(hcd->usb_phy->otg, usb_phy 225 drivers/usb/host/ohci-omap.c hcd->usb_phy->label, status); usb_phy 227 drivers/usb/host/ohci-omap.c usb_put_phy(hcd->usb_phy); usb_phy 400 drivers/usb/host/ohci-omap.c if (!IS_ERR_OR_NULL(hcd->usb_phy)) { usb_phy 401 drivers/usb/host/ohci-omap.c (void) otg_set_host(hcd->usb_phy->otg, 0); usb_phy 402 drivers/usb/host/ohci-omap.c usb_put_phy(hcd->usb_phy); usb_phy 296 drivers/usb/host/xhci-plat.c hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0); usb_phy 297 drivers/usb/host/xhci-plat.c if (IS_ERR(hcd->usb_phy)) { usb_phy 298 drivers/usb/host/xhci-plat.c ret = PTR_ERR(hcd->usb_phy); usb_phy 301 drivers/usb/host/xhci-plat.c hcd->usb_phy = NULL; usb_phy 303 drivers/usb/host/xhci-plat.c ret = usb_phy_init(hcd->usb_phy); usb_phy 337 drivers/usb/host/xhci-plat.c usb_phy_shutdown(hcd->usb_phy); usb_phy 371 drivers/usb/host/xhci-plat.c usb_phy_shutdown(hcd->usb_phy); usb_phy 367 drivers/usb/misc/lvstest.c if (hcd->usb_phy) usb_phy 368 drivers/usb/misc/lvstest.c usb_phy_notify_connect(hcd->usb_phy, usb_phy 372 drivers/usb/misc/lvstest.c if (hcd->usb_phy) usb_phy 373 drivers/usb/misc/lvstest.c usb_phy_notify_disconnect(hcd->usb_phy, usb_phy 69 drivers/usb/musb/da8xx.c struct platform_device *usb_phy; usb_phy 548 drivers/usb/musb/da8xx.c glue->usb_phy = usb_phy_generic_register(); usb_phy 549 drivers/usb/musb/da8xx.c ret = PTR_ERR_OR_ZERO(glue->usb_phy); usb_phy 585 drivers/usb/musb/da8xx.c usb_phy_generic_unregister(glue->usb_phy); usb_phy 596 drivers/usb/musb/da8xx.c usb_phy_generic_unregister(glue->usb_phy); usb_phy 129 drivers/usb/musb/musb_core.c static int musb_ulpi_read(struct usb_phy *phy, u32 reg) usb_phy 173 drivers/usb/musb/musb_core.c static int musb_ulpi_write(struct usb_phy *phy, u32 val, u32 reg) usb_phy 330 drivers/usb/musb/musb_core.h struct usb_phy *xceiv; usb_phy 80 drivers/usb/musb/sunxi.c struct platform_device *usb_phy; usb_phy 81 drivers/usb/musb/sunxi.c struct usb_phy *xceiv; usb_phy 764 drivers/usb/musb/sunxi.c glue->usb_phy = usb_phy_generic_register(); usb_phy 765 drivers/usb/musb/sunxi.c if (IS_ERR(glue->usb_phy)) { usb_phy 767 drivers/usb/musb/sunxi.c PTR_ERR(glue->usb_phy)); usb_phy 768 drivers/usb/musb/sunxi.c return PTR_ERR(glue->usb_phy); usb_phy 799 drivers/usb/musb/sunxi.c usb_phy_generic_unregister(glue->usb_phy); usb_phy 806 drivers/usb/musb/sunxi.c struct platform_device *usb_phy = glue->usb_phy; usb_phy 809 drivers/usb/musb/sunxi.c usb_phy_generic_unregister(usb_phy); usb_phy 324 drivers/usb/musb/tusb6010.c static int tusb_draw_power(struct usb_phy *x, unsigned mA) usb_phy 126 drivers/usb/phy/phy-ab8500-usb.c struct usb_phy phy; usb_phy 144 drivers/usb/phy/phy-ab8500-usb.c static inline struct ab8500_usb *phy_to_ab(struct usb_phy *x) usb_phy 603 drivers/usb/phy/phy-ab8500-usb.c static int ab8500_usb_set_suspend(struct usb_phy *x, int suspend) usb_phy 617 drivers/usb/phy/phy-ab8500-usb.c ab = phy_to_ab(otg->usb_phy); usb_phy 641 drivers/usb/phy/phy-ab8500-usb.c ab = phy_to_ab(otg->usb_phy); usb_phy 876 drivers/usb/phy/phy-ab8500-usb.c otg->usb_phy = &ab->phy; usb_phy 23 drivers/usb/phy/phy-am335x.c static int am335x_init(struct usb_phy *phy) usb_phy 31 drivers/usb/phy/phy-am335x.c static void am335x_shutdown(struct usb_phy *phy) usb_phy 462 drivers/usb/phy/phy-fsl-usb.c container_of(otg->usb_phy, struct fsl_otg, phy); usb_phy 557 drivers/usb/phy/phy-fsl-usb.c otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); usb_phy 607 drivers/usb/phy/phy-fsl-usb.c otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); usb_phy 669 drivers/usb/phy/phy-fsl-usb.c otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); usb_phy 687 drivers/usb/phy/phy-fsl-usb.c otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); usb_phy 808 drivers/usb/phy/phy-fsl-usb.c fsl_otg_tc->phy.otg->usb_phy = &fsl_otg_tc->phy; usb_phy 835 drivers/usb/phy/phy-fsl-usb.c struct usb_phy *otg_trans = usb_get_phy(USB_PHY_TYPE_USB2); usb_phy 358 drivers/usb/phy/phy-fsl-usb.h struct usb_phy phy; usb_phy 47 drivers/usb/phy/phy-generic.c static int nop_set_suspend(struct usb_phy *x, int suspend) usb_phy 136 drivers/usb/phy/phy-generic.c int usb_gen_phy_init(struct usb_phy *phy) usb_phy 158 drivers/usb/phy/phy-generic.c void usb_gen_phy_shutdown(struct usb_phy *phy) usb_phy 186 drivers/usb/phy/phy-generic.c atomic_notifier_call_chain(&otg->usb_phy->notifier, usb_phy 293 drivers/usb/phy/phy-generic.c nop->phy.otg->usb_phy = &nop->phy; usb_phy 10 drivers/usb/phy/phy-generic.h struct usb_phy phy; usb_phy 22 drivers/usb/phy/phy-generic.h int usb_gen_phy_init(struct usb_phy *phy); usb_phy 23 drivers/usb/phy/phy-generic.h void usb_gen_phy_shutdown(struct usb_phy *phy); usb_phy 32 drivers/usb/phy/phy-gpio-vbus-usb.c struct usb_phy phy; usb_phy 182 drivers/usb/phy/phy-gpio-vbus-usb.c gpio_vbus = container_of(otg->usb_phy, struct gpio_vbus_data, phy); usb_phy 214 drivers/usb/phy/phy-gpio-vbus-usb.c static int gpio_vbus_set_power(struct usb_phy *phy, unsigned mA) usb_phy 226 drivers/usb/phy/phy-gpio-vbus-usb.c static int gpio_vbus_set_suspend(struct usb_phy *phy, int suspend) usb_phy 273 drivers/usb/phy/phy-gpio-vbus-usb.c gpio_vbus->phy.otg->usb_phy = &gpio_vbus->phy; usb_phy 40 drivers/usb/phy/phy-isp1301-omap.c struct usb_phy phy; usb_phy 1265 drivers/usb/phy/phy-isp1301-omap.c struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); usb_phy 1321 drivers/usb/phy/phy-isp1301-omap.c struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); usb_phy 1389 drivers/usb/phy/phy-isp1301-omap.c isp1301_set_power(struct usb_phy *dev, unsigned mA) usb_phy 1401 drivers/usb/phy/phy-isp1301-omap.c struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); usb_phy 1428 drivers/usb/phy/phy-isp1301-omap.c struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); usb_phy 1571 drivers/usb/phy/phy-isp1301-omap.c isp->phy.otg->usb_phy = &isp->phy; usb_phy 19 drivers/usb/phy/phy-isp1301.c struct usb_phy phy; usb_phy 56 drivers/usb/phy/phy-isp1301.c static int isp1301_phy_init(struct usb_phy *phy) usb_phy 83 drivers/usb/phy/phy-isp1301.c static int isp1301_phy_set_vbus(struct usb_phy *phy, int on) usb_phy 99 drivers/usb/phy/phy-isp1301.c struct usb_phy *phy; usb_phy 44 drivers/usb/phy/phy-keystone.c static int keystone_usbphy_init(struct usb_phy *phy) usb_phy 55 drivers/usb/phy/phy-keystone.c static void keystone_usbphy_shutdown(struct usb_phy *phy) usb_phy 53 drivers/usb/phy/phy-mv-usb.c struct mv_otg *mvotg = container_of(otg->usb_phy, struct mv_otg, phy); usb_phy 710 drivers/usb/phy/phy-mv-usb.c otg->usb_phy = &mvotg->phy; usb_phy 135 drivers/usb/phy/phy-mv-usb.h struct usb_phy phy; usb_phy 200 drivers/usb/phy/phy-mxs-usb.c struct usb_phy phy; usb_phy 422 drivers/usb/phy/phy-mxs-usb.c static int mxs_phy_init(struct usb_phy *phy) usb_phy 435 drivers/usb/phy/phy-mxs-usb.c static void mxs_phy_shutdown(struct usb_phy *phy) usb_phy 484 drivers/usb/phy/phy-mxs-usb.c static int mxs_phy_suspend(struct usb_phy *x, int suspend) usb_phy 525 drivers/usb/phy/phy-mxs-usb.c static int mxs_phy_set_wakeup(struct usb_phy *x, bool enabled) usb_phy 542 drivers/usb/phy/phy-mxs-usb.c static int mxs_phy_on_connect(struct usb_phy *phy, usb_phy 555 drivers/usb/phy/phy-mxs-usb.c static int mxs_phy_on_disconnect(struct usb_phy *phy, usb_phy 677 drivers/usb/phy/phy-mxs-usb.c static enum usb_charger_type mxs_phy_charger_detect(struct usb_phy *phy) usb_phy 46 drivers/usb/phy/phy-tahvo.c struct usb_phy phy; usb_phy 174 drivers/usb/phy/phy-tahvo.c static int tahvo_usb_set_suspend(struct usb_phy *dev, int suspend) usb_phy 194 drivers/usb/phy/phy-tahvo.c struct tahvo_usb *tu = container_of(otg->usb_phy, struct tahvo_usb, usb_phy 224 drivers/usb/phy/phy-tahvo.c struct tahvo_usb *tu = container_of(otg->usb_phy, struct tahvo_usb, usb_phy 383 drivers/usb/phy/phy-tahvo.c tu->phy.otg->usb_phy = &tu->phy; usb_phy 791 drivers/usb/phy/phy-tegra-usb.c static int tegra_usb_phy_suspend(struct usb_phy *x, int suspend) usb_phy 894 drivers/usb/phy/phy-tegra-usb.c void tegra_usb_phy_preresume(struct usb_phy *x) usb_phy 903 drivers/usb/phy/phy-tegra-usb.c void tegra_usb_phy_postresume(struct usb_phy *x) usb_phy 912 drivers/usb/phy/phy-tegra-usb.c void tegra_ehci_phy_restore_start(struct usb_phy *x, usb_phy 922 drivers/usb/phy/phy-tegra-usb.c void tegra_ehci_phy_restore_end(struct usb_phy *x) usb_phy 35 drivers/usb/phy/phy-ulpi-viewport.c static int ulpi_viewport_read(struct usb_phy *otg, u32 reg) usb_phy 53 drivers/usb/phy/phy-ulpi-viewport.c static int ulpi_viewport_write(struct usb_phy *otg, u32 val, u32 reg) usb_phy 42 drivers/usb/phy/phy-ulpi.c static int ulpi_set_otg_flags(struct usb_phy *phy) usb_phy 66 drivers/usb/phy/phy-ulpi.c static int ulpi_set_fc_flags(struct usb_phy *phy) usb_phy 108 drivers/usb/phy/phy-ulpi.c static int ulpi_set_ic_flags(struct usb_phy *phy) usb_phy 127 drivers/usb/phy/phy-ulpi.c static int ulpi_set_flags(struct usb_phy *phy) usb_phy 142 drivers/usb/phy/phy-ulpi.c static int ulpi_check_integrity(struct usb_phy *phy) usb_phy 168 drivers/usb/phy/phy-ulpi.c static int ulpi_init(struct usb_phy *phy) usb_phy 201 drivers/usb/phy/phy-ulpi.c struct usb_phy *phy = otg->usb_phy; usb_phy 227 drivers/usb/phy/phy-ulpi.c struct usb_phy *phy = otg->usb_phy; usb_phy 243 drivers/usb/phy/phy-ulpi.c struct usb_phy * usb_phy 247 drivers/usb/phy/phy-ulpi.c struct usb_phy *phy; usb_phy 266 drivers/usb/phy/phy-ulpi.c otg->usb_phy = phy; usb_phy 33 drivers/usb/phy/phy.c struct usb_phy *phy; usb_phy 37 drivers/usb/phy/phy.c static struct usb_phy *__usb_find_phy(struct list_head *list, usb_phy 40 drivers/usb/phy/phy.c struct usb_phy *phy = NULL; usb_phy 52 drivers/usb/phy/phy.c static struct usb_phy *__of_usb_find_phy(struct device_node *node) usb_phy 54 drivers/usb/phy/phy.c struct usb_phy *phy; usb_phy 69 drivers/usb/phy/phy.c static void usb_phy_set_default_current(struct usb_phy *usb_phy) usb_phy 71 drivers/usb/phy/phy.c usb_phy->chg_cur.sdp_min = DEFAULT_SDP_CUR_MIN; usb_phy 72 drivers/usb/phy/phy.c usb_phy->chg_cur.sdp_max = DEFAULT_SDP_CUR_MAX; usb_phy 73 drivers/usb/phy/phy.c usb_phy->chg_cur.dcp_min = DEFAULT_DCP_CUR_MIN; usb_phy 74 drivers/usb/phy/phy.c usb_phy->chg_cur.dcp_max = DEFAULT_DCP_CUR_MAX; usb_phy 75 drivers/usb/phy/phy.c usb_phy->chg_cur.cdp_min = DEFAULT_CDP_CUR_MIN; usb_phy 76 drivers/usb/phy/phy.c usb_phy->chg_cur.cdp_max = DEFAULT_CDP_CUR_MAX; usb_phy 77 drivers/usb/phy/phy.c usb_phy->chg_cur.aca_min = DEFAULT_ACA_CUR_MIN; usb_phy 78 drivers/usb/phy/phy.c usb_phy->chg_cur.aca_max = DEFAULT_ACA_CUR_MAX; usb_phy 99 drivers/usb/phy/phy.c struct usb_phy *usb_phy = container_of(work, struct usb_phy, chg_work); usb_phy 104 drivers/usb/phy/phy.c switch (usb_phy->chg_state) { usb_phy 106 drivers/usb/phy/phy.c usb_phy_get_charger_current(usb_phy, &min, &max); usb_phy 108 drivers/usb/phy/phy.c atomic_notifier_call_chain(&usb_phy->notifier, max, usb_phy); usb_phy 113 drivers/usb/phy/phy.c usb_phy_set_default_current(usb_phy); usb_phy 115 drivers/usb/phy/phy.c atomic_notifier_call_chain(&usb_phy->notifier, 0, usb_phy); usb_phy 120 drivers/usb/phy/phy.c dev_warn(usb_phy->dev, "Unknown USB charger state: %d\n", usb_phy 121 drivers/usb/phy/phy.c usb_phy->chg_state); usb_phy 125 drivers/usb/phy/phy.c kobject_uevent_env(&usb_phy->dev->kobj, KOBJ_CHANGE, envp); usb_phy 128 drivers/usb/phy/phy.c static void __usb_phy_get_charger_type(struct usb_phy *usb_phy) usb_phy 130 drivers/usb/phy/phy.c if (extcon_get_state(usb_phy->edev, EXTCON_CHG_USB_SDP) > 0) { usb_phy 131 drivers/usb/phy/phy.c usb_phy->chg_type = SDP_TYPE; usb_phy 132 drivers/usb/phy/phy.c usb_phy->chg_state = USB_CHARGER_PRESENT; usb_phy 133 drivers/usb/phy/phy.c } else if (extcon_get_state(usb_phy->edev, EXTCON_CHG_USB_CDP) > 0) { usb_phy 134 drivers/usb/phy/phy.c usb_phy->chg_type = CDP_TYPE; usb_phy 135 drivers/usb/phy/phy.c usb_phy->chg_state = USB_CHARGER_PRESENT; usb_phy 136 drivers/usb/phy/phy.c } else if (extcon_get_state(usb_phy->edev, EXTCON_CHG_USB_DCP) > 0) { usb_phy 137 drivers/usb/phy/phy.c usb_phy->chg_type = DCP_TYPE; usb_phy 138 drivers/usb/phy/phy.c usb_phy->chg_state = USB_CHARGER_PRESENT; usb_phy 139 drivers/usb/phy/phy.c } else if (extcon_get_state(usb_phy->edev, EXTCON_CHG_USB_ACA) > 0) { usb_phy 140 drivers/usb/phy/phy.c usb_phy->chg_type = ACA_TYPE; usb_phy 141 drivers/usb/phy/phy.c usb_phy->chg_state = USB_CHARGER_PRESENT; usb_phy 143 drivers/usb/phy/phy.c usb_phy->chg_type = UNKNOWN_TYPE; usb_phy 144 drivers/usb/phy/phy.c usb_phy->chg_state = USB_CHARGER_ABSENT; usb_phy 147 drivers/usb/phy/phy.c schedule_work(&usb_phy->chg_work); usb_phy 162 drivers/usb/phy/phy.c struct usb_phy *usb_phy = container_of(nb, struct usb_phy, type_nb); usb_phy 164 drivers/usb/phy/phy.c __usb_phy_get_charger_type(usb_phy); usb_phy 182 drivers/usb/phy/phy.c void usb_phy_set_charger_current(struct usb_phy *usb_phy, unsigned int mA) usb_phy 184 drivers/usb/phy/phy.c switch (usb_phy->chg_type) { usb_phy 186 drivers/usb/phy/phy.c if (usb_phy->chg_cur.sdp_max == mA) usb_phy 189 drivers/usb/phy/phy.c usb_phy->chg_cur.sdp_max = (mA > DEFAULT_SDP_CUR_MAX_SS) ? usb_phy 193 drivers/usb/phy/phy.c if (usb_phy->chg_cur.dcp_max == mA) usb_phy 196 drivers/usb/phy/phy.c usb_phy->chg_cur.dcp_max = (mA > DEFAULT_DCP_CUR_MAX) ? usb_phy 200 drivers/usb/phy/phy.c if (usb_phy->chg_cur.cdp_max == mA) usb_phy 203 drivers/usb/phy/phy.c usb_phy->chg_cur.cdp_max = (mA > DEFAULT_CDP_CUR_MAX) ? usb_phy 207 drivers/usb/phy/phy.c if (usb_phy->chg_cur.aca_max == mA) usb_phy 210 drivers/usb/phy/phy.c usb_phy->chg_cur.aca_max = (mA > DEFAULT_ACA_CUR_MAX) ? usb_phy 217 drivers/usb/phy/phy.c schedule_work(&usb_phy->chg_work); usb_phy 231 drivers/usb/phy/phy.c void usb_phy_get_charger_current(struct usb_phy *usb_phy, usb_phy 234 drivers/usb/phy/phy.c switch (usb_phy->chg_type) { usb_phy 236 drivers/usb/phy/phy.c *min = usb_phy->chg_cur.sdp_min; usb_phy 237 drivers/usb/phy/phy.c *max = usb_phy->chg_cur.sdp_max; usb_phy 240 drivers/usb/phy/phy.c *min = usb_phy->chg_cur.dcp_min; usb_phy 241 drivers/usb/phy/phy.c *max = usb_phy->chg_cur.dcp_max; usb_phy 244 drivers/usb/phy/phy.c *min = usb_phy->chg_cur.cdp_min; usb_phy 245 drivers/usb/phy/phy.c *max = usb_phy->chg_cur.cdp_max; usb_phy 248 drivers/usb/phy/phy.c *min = usb_phy->chg_cur.aca_min; usb_phy 249 drivers/usb/phy/phy.c *max = usb_phy->chg_cur.aca_max; usb_phy 268 drivers/usb/phy/phy.c void usb_phy_set_charger_state(struct usb_phy *usb_phy, usb_phy 271 drivers/usb/phy/phy.c if (usb_phy->chg_state == state || !usb_phy->charger_detect) usb_phy 274 drivers/usb/phy/phy.c usb_phy->chg_state = state; usb_phy 275 drivers/usb/phy/phy.c if (usb_phy->chg_state == USB_CHARGER_PRESENT) usb_phy 276 drivers/usb/phy/phy.c usb_phy->chg_type = usb_phy->charger_detect(usb_phy); usb_phy 278 drivers/usb/phy/phy.c usb_phy->chg_type = UNKNOWN_TYPE; usb_phy 280 drivers/usb/phy/phy.c schedule_work(&usb_phy->chg_work); usb_phy 286 drivers/usb/phy/phy.c struct usb_phy *phy = *(struct usb_phy **)res; usb_phy 302 drivers/usb/phy/phy.c struct usb_phy **phy = res; usb_phy 307 drivers/usb/phy/phy.c static void usb_charger_init(struct usb_phy *usb_phy) usb_phy 309 drivers/usb/phy/phy.c usb_phy->chg_type = UNKNOWN_TYPE; usb_phy 310 drivers/usb/phy/phy.c usb_phy->chg_state = USB_CHARGER_DEFAULT; usb_phy 311 drivers/usb/phy/phy.c usb_phy_set_default_current(usb_phy); usb_phy 312 drivers/usb/phy/phy.c INIT_WORK(&usb_phy->chg_work, usb_phy_notify_charger_work); usb_phy 315 drivers/usb/phy/phy.c static int usb_add_extcon(struct usb_phy *x) usb_phy 415 drivers/usb/phy/phy.c struct usb_phy *devm_usb_get_phy(struct device *dev, enum usb_phy_type type) usb_phy 417 drivers/usb/phy/phy.c struct usb_phy **ptr, *phy; usb_phy 444 drivers/usb/phy/phy.c struct usb_phy *usb_get_phy(enum usb_phy_type type) usb_phy 446 drivers/usb/phy/phy.c struct usb_phy *phy = NULL; usb_phy 486 drivers/usb/phy/phy.c struct usb_phy *devm_usb_get_phy_by_node(struct device *dev, usb_phy 490 drivers/usb/phy/phy.c struct usb_phy *phy = ERR_PTR(-ENOMEM); usb_phy 545 drivers/usb/phy/phy.c struct usb_phy *devm_usb_get_phy_by_phandle(struct device *dev, usb_phy 549 drivers/usb/phy/phy.c struct usb_phy *phy; usb_phy 578 drivers/usb/phy/phy.c void devm_usb_put_phy(struct device *dev, struct usb_phy *phy) usb_phy 595 drivers/usb/phy/phy.c void usb_put_phy(struct usb_phy *x) usb_phy 615 drivers/usb/phy/phy.c int usb_add_phy(struct usb_phy *x, enum usb_phy_type type) usb_phy 619 drivers/usb/phy/phy.c struct usb_phy *phy; usb_phy 661 drivers/usb/phy/phy.c int usb_add_phy_dev(struct usb_phy *x) usb_phy 692 drivers/usb/phy/phy.c void usb_remove_phy(struct usb_phy *x) usb_phy 709 drivers/usb/phy/phy.c void usb_phy_set_event(struct usb_phy *x, unsigned long event) usb_phy 47 drivers/usb/renesas_usbhs/mod_gadget.c struct usb_phy *transceiver; usb_phy 30 include/linux/phy/omap_usb.h struct usb_phy phy; usb_phy 10 include/linux/platform_data/usb-ehci-mxc.h struct usb_phy *otg; usb_phy 40 include/linux/usb/chipidea.h struct usb_phy *usb_phy; usb_phy 112 include/linux/usb/hcd.h struct usb_phy *usb_phy; usb_phy 21 include/linux/usb/otg.h struct usb_phy *usb_phy; usb_phy 66 include/linux/usb/phy.h struct usb_phy; usb_phy 73 include/linux/usb/phy.h int (*read)(struct usb_phy *x, u32 reg); usb_phy 74 include/linux/usb/phy.h int (*write)(struct usb_phy *x, u32 val, u32 reg); usb_phy 126 include/linux/usb/phy.h int (*init)(struct usb_phy *x); usb_phy 127 include/linux/usb/phy.h void (*shutdown)(struct usb_phy *x); usb_phy 130 include/linux/usb/phy.h int (*set_vbus)(struct usb_phy *x, int on); usb_phy 133 include/linux/usb/phy.h int (*set_power)(struct usb_phy *x, usb_phy 137 include/linux/usb/phy.h int (*set_suspend)(struct usb_phy *x, usb_phy 145 include/linux/usb/phy.h int (*set_wakeup)(struct usb_phy *x, bool enabled); usb_phy 148 include/linux/usb/phy.h int (*notify_connect)(struct usb_phy *x, usb_phy 150 include/linux/usb/phy.h int (*notify_disconnect)(struct usb_phy *x, usb_phy 157 include/linux/usb/phy.h enum usb_charger_type (*charger_detect)(struct usb_phy *x); usb_phy 161 include/linux/usb/phy.h extern int usb_add_phy(struct usb_phy *, enum usb_phy_type type); usb_phy 162 include/linux/usb/phy.h extern int usb_add_phy_dev(struct usb_phy *); usb_phy 163 include/linux/usb/phy.h extern void usb_remove_phy(struct usb_phy *); usb_phy 166 include/linux/usb/phy.h static inline int usb_phy_io_read(struct usb_phy *x, u32 reg) usb_phy 174 include/linux/usb/phy.h static inline int usb_phy_io_write(struct usb_phy *x, u32 val, u32 reg) usb_phy 183 include/linux/usb/phy.h usb_phy_init(struct usb_phy *x) usb_phy 192 include/linux/usb/phy.h usb_phy_shutdown(struct usb_phy *x) usb_phy 199 include/linux/usb/phy.h usb_phy_vbus_on(struct usb_phy *x) usb_phy 208 include/linux/usb/phy.h usb_phy_vbus_off(struct usb_phy *x) usb_phy 218 include/linux/usb/phy.h extern struct usb_phy *usb_get_phy(enum usb_phy_type type); usb_phy 219 include/linux/usb/phy.h extern struct usb_phy *devm_usb_get_phy(struct device *dev, usb_phy 221 include/linux/usb/phy.h extern struct usb_phy *devm_usb_get_phy_by_phandle(struct device *dev, usb_phy 223 include/linux/usb/phy.h extern struct usb_phy *devm_usb_get_phy_by_node(struct device *dev, usb_phy 225 include/linux/usb/phy.h extern void usb_put_phy(struct usb_phy *); usb_phy 226 include/linux/usb/phy.h extern void devm_usb_put_phy(struct device *dev, struct usb_phy *x); usb_phy 227 include/linux/usb/phy.h extern void usb_phy_set_event(struct usb_phy *x, unsigned long event); usb_phy 228 include/linux/usb/phy.h extern void usb_phy_set_charger_current(struct usb_phy *usb_phy, usb_phy 230 include/linux/usb/phy.h extern void usb_phy_get_charger_current(struct usb_phy *usb_phy, usb_phy 232 include/linux/usb/phy.h extern void usb_phy_set_charger_state(struct usb_phy *usb_phy, usb_phy 235 include/linux/usb/phy.h static inline struct usb_phy *usb_get_phy(enum usb_phy_type type) usb_phy 240 include/linux/usb/phy.h static inline struct usb_phy *devm_usb_get_phy(struct device *dev, usb_phy 246 include/linux/usb/phy.h static inline struct usb_phy *devm_usb_get_phy_by_phandle(struct device *dev, usb_phy 252 include/linux/usb/phy.h static inline struct usb_phy *devm_usb_get_phy_by_node(struct device *dev, usb_phy 258 include/linux/usb/phy.h static inline void usb_put_phy(struct usb_phy *x) usb_phy 262 include/linux/usb/phy.h static inline void devm_usb_put_phy(struct device *dev, struct usb_phy *x) usb_phy 266 include/linux/usb/phy.h static inline void usb_phy_set_event(struct usb_phy *x, unsigned long event) usb_phy 270 include/linux/usb/phy.h static inline void usb_phy_set_charger_current(struct usb_phy *usb_phy, usb_phy 275 include/linux/usb/phy.h static inline void usb_phy_get_charger_current(struct usb_phy *usb_phy, usb_phy 281 include/linux/usb/phy.h static inline void usb_phy_set_charger_state(struct usb_phy *usb_phy, usb_phy 288 include/linux/usb/phy.h usb_phy_set_power(struct usb_phy *x, unsigned mA) usb_phy 302 include/linux/usb/phy.h usb_phy_set_suspend(struct usb_phy *x, int suspend) usb_phy 311 include/linux/usb/phy.h usb_phy_set_wakeup(struct usb_phy *x, bool enabled) usb_phy 320 include/linux/usb/phy.h usb_phy_notify_connect(struct usb_phy *x, enum usb_device_speed speed) usb_phy 329 include/linux/usb/phy.h usb_phy_notify_disconnect(struct usb_phy *x, enum usb_device_speed speed) usb_phy 339 include/linux/usb/phy.h usb_register_notifier(struct usb_phy *x, struct notifier_block *nb) usb_phy 345 include/linux/usb/phy.h usb_unregister_notifier(struct usb_phy *x, struct notifier_block *nb) usb_phy 75 include/linux/usb/tegra_usb_phy.h struct usb_phy *ulpi; usb_phy 76 include/linux/usb/tegra_usb_phy.h struct usb_phy u_phy; usb_phy 83 include/linux/usb/tegra_usb_phy.h void tegra_usb_phy_preresume(struct usb_phy *phy); usb_phy 85 include/linux/usb/tegra_usb_phy.h void tegra_usb_phy_postresume(struct usb_phy *phy); usb_phy 87 include/linux/usb/tegra_usb_phy.h void tegra_ehci_phy_restore_start(struct usb_phy *phy, usb_phy 90 include/linux/usb/tegra_usb_phy.h void tegra_ehci_phy_restore_end(struct usb_phy *phy); usb_phy 56 include/linux/usb/ulpi.h struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops, usb_phy 59 include/linux/usb/ulpi.h static inline struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops,