Searched refs:usbphyc (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/drivers/phy/st/ |
H A D | phy-stm32-usbphyc.c | 138 struct stm32_usbphyc *usbphyc; member 169 static int stm32_usbphyc_regulators_enable(struct stm32_usbphyc *usbphyc) in stm32_usbphyc_regulators_enable() argument 173 ret = regulator_enable(usbphyc->vdda1v1); in stm32_usbphyc_regulators_enable() 177 ret = regulator_enable(usbphyc->vdda1v8); in stm32_usbphyc_regulators_enable() 184 regulator_disable(usbphyc->vdda1v1); in stm32_usbphyc_regulators_enable() 189 static int stm32_usbphyc_regulators_disable(struct stm32_usbphyc *usbphyc) in stm32_usbphyc_regulators_disable() argument 193 ret = regulator_disable(usbphyc->vdda1v8); in stm32_usbphyc_regulators_disable() 197 ret = regulator_disable(usbphyc->vdda1v1); in stm32_usbphyc_regulators_disable() 231 static int stm32_usbphyc_pll_init(struct stm32_usbphyc *usbphyc) in stm32_usbphyc_pll_init() argument 234 u32 clk_rate = clk_get_rate(usbphyc in stm32_usbphyc_pll_init() 263 __stm32_usbphyc_pll_disable(struct stm32_usbphyc *usbphyc) __stm32_usbphyc_pll_disable() argument 277 stm32_usbphyc_pll_disable(struct stm32_usbphyc *usbphyc) stm32_usbphyc_pll_disable() argument 286 stm32_usbphyc_pll_enable(struct stm32_usbphyc *usbphyc) stm32_usbphyc_pll_enable() argument 338 struct stm32_usbphyc *usbphyc = usbphyc_phy->usbphyc; stm32_usbphyc_phy_init() local 373 struct stm32_usbphyc *usbphyc = usbphyc_phy->usbphyc; stm32_usbphyc_phy_exit() local 410 struct stm32_usbphyc *usbphyc = container_of(hw, struct stm32_usbphyc, clk48_hw); stm32_usbphyc_clk48_prepare() local 417 struct stm32_usbphyc *usbphyc = container_of(hw, struct stm32_usbphyc, clk48_hw); stm32_usbphyc_clk48_unprepare() local 435 struct stm32_usbphyc *usbphyc = data; stm32_usbphyc_clk48_unregister() local 441 stm32_usbphyc_clk48_register(struct stm32_usbphyc *usbphyc) stm32_usbphyc_clk48_register() argument 463 stm32_usbphyc_phy_tuning(struct stm32_usbphyc *usbphyc, struct device_node *np, u32 index) stm32_usbphyc_phy_tuning() argument 564 stm32_usbphyc_switch_setup(struct stm32_usbphyc *usbphyc, u32 utmi_switch) stm32_usbphyc_switch_setup() argument 579 struct stm32_usbphyc *usbphyc = dev_get_drvdata(dev); stm32_usbphyc_of_xlate() local 619 struct stm32_usbphyc *usbphyc; stm32_usbphyc_probe() local 775 struct stm32_usbphyc *usbphyc = dev_get_drvdata(&pdev->dev); stm32_usbphyc_remove() local 790 struct stm32_usbphyc *usbphyc = dev_get_drvdata(dev); stm32_usbphyc_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/phy/st/ |
H A D | phy-stm32-usbphyc.c | 60 struct stm32_usbphyc *usbphyc; member 113 static int stm32_usbphyc_pll_init(struct stm32_usbphyc *usbphyc) in stm32_usbphyc_pll_init() argument 116 u32 clk_rate = clk_get_rate(usbphyc->clk); in stm32_usbphyc_pll_init() 122 dev_err(usbphyc->dev, "input clk freq (%dHz) out of range\n", in stm32_usbphyc_pll_init() 136 writel_relaxed(usbphyc_pll, usbphyc->base + STM32_USBPHYC_PLL); in stm32_usbphyc_pll_init() 138 dev_dbg(usbphyc->dev, "input clk freq=%dHz, ndiv=%lu, frac=%lu\n", in stm32_usbphyc_pll_init() 145 static bool stm32_usbphyc_has_one_phy_active(struct stm32_usbphyc *usbphyc) in stm32_usbphyc_has_one_phy_active() argument 149 for (i = 0; i < usbphyc->nphys; i++) in stm32_usbphyc_has_one_phy_active() 150 if (usbphyc->phys[i]->active) in stm32_usbphyc_has_one_phy_active() 156 static int stm32_usbphyc_pll_enable(struct stm32_usbphyc *usbphyc) in stm32_usbphyc_pll_enable() argument 189 stm32_usbphyc_pll_disable(struct stm32_usbphyc *usbphyc) stm32_usbphyc_pll_disable() argument 212 struct stm32_usbphyc *usbphyc = usbphyc_phy->usbphyc; stm32_usbphyc_phy_init() local 227 struct stm32_usbphyc *usbphyc = usbphyc_phy->usbphyc; stm32_usbphyc_phy_exit() local 256 stm32_usbphyc_switch_setup(struct stm32_usbphyc *usbphyc, u32 utmi_switch) stm32_usbphyc_switch_setup() argument 271 struct stm32_usbphyc *usbphyc = dev_get_drvdata(dev); stm32_usbphyc_of_xlate() local 311 struct stm32_usbphyc *usbphyc; stm32_usbphyc_probe() local 437 struct stm32_usbphyc *usbphyc = dev_get_drvdata(&pdev->dev); stm32_usbphyc_remove() local [all...] |
Completed in 2 milliseconds