Home
last modified time | relevance | path

Searched refs:utmi (Results 1 – 4 of 4) sorted by relevance

/drivers/phy/marvell/
Dphy-mvebu-a3700-utmi.c88 struct mvebu_a3700_utmi *utmi = phy_get_drvdata(phy); in mvebu_a3700_utmi_phy_power_on() local
90 int usb32 = utmi->caps->usb32; in mvebu_a3700_utmi_phy_power_on()
98 reg = readl(utmi->regs + USB2_PHY_PLL_CTRL_REG0); in mvebu_a3700_utmi_phy_power_on()
102 writel(reg, utmi->regs + USB2_PHY_PLL_CTRL_REG0); in mvebu_a3700_utmi_phy_power_on()
105 regmap_update_bits(utmi->usb_misc, USB2_PHY_CTRL(usb32), in mvebu_a3700_utmi_phy_power_on()
111 reg = readl(utmi->regs + USB2_PHY_OTG_CTRL); in mvebu_a3700_utmi_phy_power_on()
113 writel(reg, utmi->regs + USB2_PHY_OTG_CTRL); in mvebu_a3700_utmi_phy_power_on()
116 reg = readl(utmi->regs + USB2_PHY_CHRGR_DETECT); in mvebu_a3700_utmi_phy_power_on()
119 writel(reg, utmi->regs + USB2_PHY_CHRGR_DETECT); in mvebu_a3700_utmi_phy_power_on()
122 regmap_update_bits(utmi->usb_misc, USB2_PHY_CTRL(usb32), in mvebu_a3700_utmi_phy_power_on()
[all …]
DMakefile7 obj-$(CONFIG_PHY_MVEBU_A3700_UTMI) += phy-mvebu-a3700-utmi.o
/drivers/clk/at91/
Dclk-utmi.c42 struct clk_utmi *utmi = to_clk_utmi(hw); in clk_utmi_prepare() local
78 if (utmi->regmap_sfr) { in clk_utmi_prepare()
79 regmap_update_bits(utmi->regmap_sfr, AT91_SFR_UTMICKTRIM, in clk_utmi_prepare()
86 regmap_update_bits(utmi->regmap_pmc, AT91_CKGR_UCKR, uckr, uckr); in clk_utmi_prepare()
88 while (!clk_utmi_ready(utmi->regmap_pmc)) in clk_utmi_prepare()
96 struct clk_utmi *utmi = to_clk_utmi(hw); in clk_utmi_is_prepared() local
98 return clk_utmi_ready(utmi->regmap_pmc); in clk_utmi_is_prepared()
103 struct clk_utmi *utmi = to_clk_utmi(hw); in clk_utmi_unprepare() local
105 regmap_update_bits(utmi->regmap_pmc, AT91_CKGR_UCKR, in clk_utmi_unprepare()
129 struct clk_utmi *utmi; in at91_clk_register_utmi_internal() local
[all …]
DMakefile11 obj-$(CONFIG_HAVE_AT91_UTMI) += clk-utmi.o