Searched refs:utmi (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/phy/marvell/ |
H A D | phy-mvebu-a3700-utmi.c | 88 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 in mvebu_a3700_utmi_phy_power_on() 166 struct mvebu_a3700_utmi *utmi = phy_get_drvdata(phy); mvebu_a3700_utmi_phy_power_off() local 217 struct mvebu_a3700_utmi *utmi; mvebu_a3700_utmi_phy_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/phy/marvell/ |
H A D | phy-mvebu-a3700-utmi.c | 88 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 in mvebu_a3700_utmi_phy_power_on() 166 struct mvebu_a3700_utmi *utmi = phy_get_drvdata(phy); mvebu_a3700_utmi_phy_power_off() local 217 struct mvebu_a3700_utmi *utmi; mvebu_a3700_utmi_phy_probe() local [all...] |
H A D | phy-mvebu-cp110-utmi.c | 167 struct mvebu_cp110_utmi *utmi = port->priv; in mvebu_cp110_utmi_phy_power_off() local 171 regmap_clear_bits(utmi->syscon, SYSCON_UTMI_CFG_REG(port->id), in mvebu_cp110_utmi_phy_power_off() 175 int test = regmap_test_bits(utmi->syscon, in mvebu_cp110_utmi_phy_power_off() 184 regmap_clear_bits(utmi->syscon, SYSCON_USB_CFG_REG, USB_CFG_PLL_MASK); in mvebu_cp110_utmi_phy_power_off() 192 struct mvebu_cp110_utmi *utmi = port->priv; in mvebu_cp110_utmi_phy_power_on() local 211 regmap_update_bits(utmi->syscon, SYSCON_USB_CFG_REG, in mvebu_cp110_utmi_phy_power_on() 229 regmap_set_bits(utmi->syscon, SYSCON_UTMI_CFG_REG(port->id), in mvebu_cp110_utmi_phy_power_on() 265 regmap_set_bits(utmi->syscon, SYSCON_USB_CFG_REG, USB_CFG_PLL_MASK); in mvebu_cp110_utmi_phy_power_on() 277 { .compatible = "marvell,cp110-utmi-phy" }, 285 struct mvebu_cp110_utmi *utmi; in mvebu_cp110_utmi_phy_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/clk/at91/ |
H A D | clk-utmi.c | 43 struct clk_utmi *utmi = to_clk_utmi(hw); in clk_utmi_prepare() local 52 * the utmi clock. in clk_utmi_prepare() 79 if (utmi->regmap_sfr) { in clk_utmi_prepare() 80 regmap_update_bits(utmi->regmap_sfr, AT91_SFR_UTMICKTRIM, in clk_utmi_prepare() 87 regmap_update_bits(utmi->regmap_pmc, AT91_CKGR_UCKR, uckr, uckr); in clk_utmi_prepare() 89 while (!clk_utmi_ready(utmi->regmap_pmc)) in clk_utmi_prepare() 97 struct clk_utmi *utmi = to_clk_utmi(hw); in clk_utmi_is_prepared() local 99 return clk_utmi_ready(utmi->regmap_pmc); in clk_utmi_is_prepared() 104 struct clk_utmi *utmi = to_clk_utmi(hw); in clk_utmi_unprepare() local 106 regmap_update_bits(utmi in clk_utmi_unprepare() 119 struct clk_utmi *utmi = to_clk_utmi(hw); clk_utmi_save_context() local 128 struct clk_utmi *utmi = to_clk_utmi(hw); clk_utmi_restore_context() local 150 struct clk_utmi *utmi; at91_clk_register_utmi_internal() local 198 struct clk_utmi *utmi = to_clk_utmi(hw); clk_utmi_sama7g5_prepare() local 232 struct clk_utmi *utmi = to_clk_utmi(hw); clk_utmi_sama7g5_is_prepared() local 267 struct clk_utmi *utmi = to_clk_utmi(hw); clk_utmi_sama7g5_save_context() local 276 struct clk_utmi *utmi = to_clk_utmi(hw); clk_utmi_sama7g5_restore_context() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/at91/ |
H A D | clk-utmi.c | 42 struct clk_utmi *utmi = to_clk_utmi(hw); in clk_utmi_prepare() local 51 * the utmi clock. in clk_utmi_prepare() 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 in clk_utmi_unprepare() 129 struct clk_utmi *utmi; at91_clk_register_utmi_internal() local 168 struct clk_utmi *utmi = to_clk_utmi(hw); clk_utmi_sama7g5_prepare() local 202 struct clk_utmi *utmi = to_clk_utmi(hw); clk_utmi_sama7g5_is_prepared() local [all...] |
Completed in 3 milliseconds