Home
last modified time | relevance | path

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

123

/linux/drivers/usb/phy/
H A Dphy.c33 struct usb_phy *phy;
51 static struct usb_phy *__usb_find_phy(struct list_head *list, in __usb_find_phy()
54 struct usb_phy *phy = NULL; in __usb_find_phy()
66 static struct usb_phy *__of_usb_find_phy(struct device_node *node) in __of_usb_find_phy()
68 struct usb_phy *phy; in __of_usb_find_phy()
83 static struct usb_phy *__device_to_usb_phy(const struct device *dev) in __device_to_usb_phy()
85 struct usb_phy *usb_phy; in __device_to_usb_phy() local
87 list_for_each_entry(usb_phy, &phy_list, head) { in __device_to_usb_phy()
88 if (usb_phy->dev == dev) in __device_to_usb_phy()
89 return usb_phy; in __device_to_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-isp1301.c19 struct usb_phy phy;
56 static int isp1301_phy_init(struct usb_phy *phy) in isp1301_phy_init()
83 static int isp1301_phy_set_vbus(struct usb_phy *phy, int on) in isp1301_phy_set_vbus()
98 struct usb_phy *phy; in isp1301_probe()
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()
H A Dphy-fsl-usb.c463 container_of(otg->usb_phy, struct fsl_otg, phy); in fsl_otg_start_host()
558 otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); in fsl_otg_set_host()
608 otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); in fsl_otg_set_peripheral()
670 otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); in fsl_otg_start_srp()
688 otg_dev = container_of(otg->usb_phy, struct fsl_otg, phy); in fsl_otg_start_hnp()
809 fsl_otg_tc->phy.otg->usb_phy = &fsl_otg_tc->phy; in fsl_otg_conf()
836 struct usb_phy *otg_trans = usb_get_phy(USB_PHY_TYPE_USB2); in usb_otg_start()
H A Dphy-mv-usb.h135 struct usb_phy phy;
/linux/drivers/phy/broadcom/
H A Dphy-brcm-usb-init-synopsys.c257 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()
295 reg = brcm_usb_readl(usb_phy + USB_PHY_STATUS); in usb_init_common_7211b0()
[all …]
/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/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()
1321 struct usb_phy *usb_phy; in imx_usbmisc_charger_detection() local
1328 usb_phy = data->usb_phy; in imx_usbmisc_charger_detection()
1338 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
H A Dotg_fsm.c477 usb_phy_vbus_on(ci->usb_phy); in ci_otg_drv_vbus()
489 usb_phy_vbus_off(ci->usb_phy); in ci_otg_drv_vbus()
803 ci->otg.usb_phy = ci->usb_phy; in ci_hdrc_otg_fsm_init()
/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()
/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/usb/host/
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/include/linux/usb/
H A Dotg.h21 struct usb_phy *usb_phy; member
/linux/drivers/phy/ti/
H A Dphy-omap-usb2.c55 struct usb_phy phy;
105 struct usb_phy *x = usb_get_phy(USB_PHY_TYPE_USB2); in omap_usb2_set_comparator()
118 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_set_vbus()
128 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_start_srp()
491 otg->usb_phy = &phy->phy; in omap_usb2_probe()
H A Dphy-dm816x-usb.c47 struct usb_phy phy;
214 otg->usb_phy = &phy->phy; in dm816x_usb_phy_probe()
/linux/arch/arm/boot/dts/nspire/
H A Dnspire.dtsi63 usb_phy: usb_phy { label
92 usb-phy = <&usb_phy>;
/linux/drivers/usb/musb/
H A Dda8xx.c71 struct platform_device *usb_phy; member
554 glue->usb_phy = usb_phy_generic_register(); in da8xx_probe()
555 ret = PTR_ERR_OR_ZERO(glue->usb_phy); in da8xx_probe()
586 usb_phy_generic_unregister(glue->usb_phy); in da8xx_probe()
595 usb_phy_generic_unregister(glue->usb_phy); in da8xx_remove()
/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone.dtsi199 usb_phy: usb_phy@2620738 { label
224 usb-phy = <&usb_phy>, <&usb_phy>;
/linux/Documentation/devicetree/bindings/usb/
H A Dda8xx-usb.txt43 usb_phy: usb-phy {
58 phys = <&usb_phy 0>;
H A Dohci-da8xx.txt20 phys = <&usb_phy 1>;
/linux/drivers/usb/misc/
H A Dlvstest.c367 if (hcd->usb_phy) in lvs_rh_work()
368 usb_phy_notify_connect(hcd->usb_phy, in lvs_rh_work()
372 if (hcd->usb_phy) in lvs_rh_work()
373 usb_phy_notify_disconnect(hcd->usb_phy, in lvs_rh_work()
/linux/drivers/clk/mxs/
H A Dclk-imx23.c86 lcdif, etm, usb, usb_phy, enumerator
153 clks[usb_phy] = clk_register_gate(NULL, "usb_phy", "pll", 0, PLLCTRL0, 18, 0, &mxs_lock); in mx23_clocks_init()
/linux/arch/arm64/boot/dts/broadcom/bcmbca/
H A Dbcm4908.dtsi144 usb_phy: usb-phy@c200 { label
160 phys = <&usb_phy PHY_TYPE_USB2>;
181 phys = <&usb_phy PHY_TYPE_USB2>;
202 phys = <&usb_phy PHY_TYPE_USB3>;

123