Home
last modified time | relevance | path

Searched refs:reg_clk (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/usb/host/
Dxhci-plat.c201 xhci->reg_clk = devm_clk_get_optional(&pdev->dev, "reg"); in xhci_plat_probe()
202 if (IS_ERR(xhci->reg_clk)) { in xhci_plat_probe()
203 ret = PTR_ERR(xhci->reg_clk); in xhci_plat_probe()
223 ret = clk_prepare_enable(xhci->reg_clk); in xhci_plat_probe()
362 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_probe()
422 struct clk *reg_clk = xhci->reg_clk; in xhci_plat_remove() local
441 clk_disable_unprepare(reg_clk); in xhci_plat_remove()
473 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_suspend()
490 ret = clk_prepare_enable(xhci->reg_clk); in xhci_plat_resume_common()
514 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_resume_common()
Dxhci.h1513 struct clk *reg_clk; member
/linux-6.12.1/drivers/watchdog/
Dlpc18xx_wdt.c53 struct clk *reg_clk; member
213 lpc18xx_wdt->reg_clk = devm_clk_get_enabled(dev, "reg"); in lpc18xx_wdt_probe()
214 if (IS_ERR(lpc18xx_wdt->reg_clk)) { in lpc18xx_wdt_probe()
216 return PTR_ERR(lpc18xx_wdt->reg_clk); in lpc18xx_wdt_probe()
/linux-6.12.1/drivers/i2c/busses/
Di2c-mv64xxx.c139 struct clk *reg_clk; member
963 clk_disable_unprepare(drv_data->reg_clk); in mv64xxx_i2c_runtime_suspend()
975 clk_prepare_enable(drv_data->reg_clk); in mv64xxx_i2c_runtime_resume()
1016 drv_data->reg_clk = devm_clk_get(&pd->dev, "reg"); in mv64xxx_i2c_probe()
1017 if (IS_ERR(drv_data->reg_clk)) { in mv64xxx_i2c_probe()
1018 if (PTR_ERR(drv_data->reg_clk) == -EPROBE_DEFER) in mv64xxx_i2c_probe()
1020 drv_data->reg_clk = NULL; in mv64xxx_i2c_probe()
/linux-6.12.1/drivers/dma/
Dmv_xor_v2.c160 struct clk *reg_clk; member
742 xor_dev->reg_clk = devm_clk_get_optional_enabled(&pdev->dev, "reg"); in mv_xor_v2_probe()
743 if (IS_ERR(xor_dev->reg_clk)) in mv_xor_v2_probe()
744 return PTR_ERR(xor_dev->reg_clk); in mv_xor_v2_probe()
/linux-6.12.1/drivers/mtd/nand/raw/
Dmarvell_nand.c411 struct clk *reg_clk; member
2970 nfc->reg_clk = devm_clk_get(&pdev->dev, "reg"); in marvell_nfc_probe()
2971 if (IS_ERR(nfc->reg_clk)) { in marvell_nfc_probe()
2972 if (PTR_ERR(nfc->reg_clk) != -ENOENT) { in marvell_nfc_probe()
2973 ret = PTR_ERR(nfc->reg_clk); in marvell_nfc_probe()
2977 nfc->reg_clk = NULL; in marvell_nfc_probe()
2980 ret = clk_prepare_enable(nfc->reg_clk); in marvell_nfc_probe()
3020 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_probe()
3038 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_remove()
3050 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_suspend()
[all …]
Dmeson_nand.c180 void __iomem *reg_clk; member
1158 nfc->nand_divider.reg = nfc->reg_clk; in meson_nfc_clk_init()
1172 nfc->reg_clk); in meson_nfc_clk_init()
1571 nfc->reg_clk = devm_platform_ioremap_resource_byname(pdev, "emmc"); in meson_nfc_probe()
1572 if (IS_ERR(nfc->reg_clk)) in meson_nfc_probe()
1573 return PTR_ERR(nfc->reg_clk); in meson_nfc_probe()
/linux-6.12.1/drivers/crypto/inside-secure/
Dsafexcel.c1768 priv->reg_clk = devm_clk_get(&pdev->dev, "reg"); in safexcel_probe()
1769 ret = PTR_ERR_OR_ZERO(priv->reg_clk); in safexcel_probe()
1775 ret = clk_prepare_enable(priv->reg_clk); in safexcel_probe()
1794 clk_disable_unprepare(priv->reg_clk); in safexcel_probe()
1808 clk_disable_unprepare(priv->reg_clk); in safexcel_remove()
Dsafexcel.h821 struct clk *reg_clk; member
/linux-6.12.1/sound/soc/codecs/
Drt5665.c4109 unsigned int val_len = 0, val_clk, reg_clk, mask_clk, val_bits = 0x0100; in rt5665_hw_params() local
4156 reg_clk = RT5665_ADDA_CLK_1; in rt5665_hw_params()
4164 reg_clk = RT5665_ADDA_CLK_2; in rt5665_hw_params()
4171 reg_clk = RT5665_ADDA_CLK_2; in rt5665_hw_params()
4182 snd_soc_component_update_bits(component, reg_clk, mask_clk, val_clk); in rt5665_hw_params()