Home
last modified time | relevance | path

Searched refs:reg_clk (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-plat.c270 xhci->reg_clk = devm_clk_get_optional(&pdev->dev, "reg"); in xhci_plat_probe()
271 if (IS_ERR(xhci->reg_clk)) { in xhci_plat_probe()
272 ret = PTR_ERR(xhci->reg_clk); in xhci_plat_probe()
276 ret = clk_prepare_enable(xhci->reg_clk); in xhci_plat_probe()
396 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_probe()
413 struct clk *reg_clk = xhci->reg_clk; in xhci_plat_remove() local
427 clk_disable_unprepare(reg_clk); in xhci_plat_remove()
459 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_suspend()
476 ret = clk_prepare_enable(xhci->reg_clk); in xhci_plat_resume()
[all...]
H A Dxhci.h1786 struct clk *reg_clk; member
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-plat.c198 xhci->reg_clk = devm_clk_get_optional(&pdev->dev, "reg"); in xhci_plat_probe()
199 if (IS_ERR(xhci->reg_clk)) { in xhci_plat_probe()
200 ret = PTR_ERR(xhci->reg_clk); in xhci_plat_probe()
220 ret = clk_prepare_enable(xhci->reg_clk); in xhci_plat_probe()
350 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_probe()
410 struct clk *reg_clk = xhci->reg_clk; in xhci_plat_remove() local
429 clk_disable_unprepare(reg_clk); in xhci_plat_remove()
461 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_suspend()
478 ret = clk_prepare_enable(xhci->reg_clk); in xhci_plat_resume_common()
[all...]
H A Dxhci.h1798 struct clk *reg_clk; member
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dlpc18xx_wdt.c53 struct clk *reg_clk; member
219 lpc18xx_wdt->reg_clk = devm_clk_get(dev, "reg"); in lpc18xx_wdt_probe()
220 if (IS_ERR(lpc18xx_wdt->reg_clk)) { in lpc18xx_wdt_probe()
222 return PTR_ERR(lpc18xx_wdt->reg_clk); in lpc18xx_wdt_probe()
231 ret = clk_prepare_enable(lpc18xx_wdt->reg_clk); in lpc18xx_wdt_probe()
237 lpc18xx_wdt->reg_clk); in lpc18xx_wdt_probe()
/kernel/linux/linux-6.6/drivers/watchdog/
H A 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()
/kernel/linux/linux-5.10/drivers/dma/
H A Dmv_xor_v2.c139 * @reg_clk: reference to the 'reg' clock
160 struct clk *reg_clk; member
746 xor_dev->reg_clk = devm_clk_get(&pdev->dev, "reg"); in mv_xor_v2_probe()
747 if (PTR_ERR(xor_dev->reg_clk) != -ENOENT) { in mv_xor_v2_probe()
748 if (!IS_ERR(xor_dev->reg_clk)) { in mv_xor_v2_probe()
749 ret = clk_prepare_enable(xor_dev->reg_clk); in mv_xor_v2_probe()
753 return PTR_ERR(xor_dev->reg_clk); in mv_xor_v2_probe()
881 clk_disable_unprepare(xor_dev->reg_clk); in mv_xor_v2_probe()
902 clk_disable_unprepare(xor_dev->reg_clk); in mv_xor_v2_remove()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-mv64xxx.c138 struct clk *reg_clk; member
905 drv_data->reg_clk = devm_clk_get(&pd->dev, "reg"); in mv64xxx_i2c_probe()
906 if (PTR_ERR(drv_data->reg_clk) == -EPROBE_DEFER) in mv64xxx_i2c_probe()
908 if (!IS_ERR(drv_data->reg_clk)) in mv64xxx_i2c_probe()
909 clk_prepare_enable(drv_data->reg_clk); in mv64xxx_i2c_probe()
960 clk_disable_unprepare(drv_data->reg_clk); in mv64xxx_i2c_probe()
974 clk_disable_unprepare(drv_data->reg_clk); in mv64xxx_i2c_remove()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-mv64xxx.c140 struct clk *reg_clk; member
964 clk_disable_unprepare(drv_data->reg_clk); in mv64xxx_i2c_runtime_suspend()
976 clk_prepare_enable(drv_data->reg_clk); in mv64xxx_i2c_runtime_resume()
1017 drv_data->reg_clk = devm_clk_get(&pd->dev, "reg"); in mv64xxx_i2c_probe()
1018 if (IS_ERR(drv_data->reg_clk)) { in mv64xxx_i2c_probe()
1019 if (PTR_ERR(drv_data->reg_clk) == -EPROBE_DEFER) in mv64xxx_i2c_probe()
1021 drv_data->reg_clk = NULL; in mv64xxx_i2c_probe()
/kernel/linux/linux-6.6/drivers/dma/
H A Dmv_xor_v2.c139 * @reg_clk: reference to the 'reg' clock
160 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()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dmarvell_nand.c387 * @reg_clk: Registers clock
403 struct clk *reg_clk; member
2964 nfc->reg_clk = devm_clk_get(&pdev->dev, "reg"); in marvell_nfc_probe()
2965 if (IS_ERR(nfc->reg_clk)) { in marvell_nfc_probe()
2966 if (PTR_ERR(nfc->reg_clk) != -ENOENT) { in marvell_nfc_probe()
2967 ret = PTR_ERR(nfc->reg_clk); in marvell_nfc_probe()
2971 nfc->reg_clk = NULL; in marvell_nfc_probe()
2974 ret = clk_prepare_enable(nfc->reg_clk); in marvell_nfc_probe()
3014 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_probe()
3032 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_remove()
[all...]
H A Dmeson_nand.c163 struct regmap *reg_clk; member
1028 regmap_update_bits(nfc->reg_clk, in meson_nfc_clk_init()
1407 nfc->reg_clk = in meson_nfc_probe()
1410 if (IS_ERR(nfc->reg_clk)) { in meson_nfc_probe()
1412 return PTR_ERR(nfc->reg_clk); in meson_nfc_probe()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dmarvell_nand.c395 * @reg_clk: Registers clock
411 struct clk *reg_clk; member
2976 nfc->reg_clk = devm_clk_get(&pdev->dev, "reg"); in marvell_nfc_probe()
2977 if (IS_ERR(nfc->reg_clk)) { in marvell_nfc_probe()
2978 if (PTR_ERR(nfc->reg_clk) != -ENOENT) { in marvell_nfc_probe()
2979 ret = PTR_ERR(nfc->reg_clk); in marvell_nfc_probe()
2983 nfc->reg_clk = NULL; in marvell_nfc_probe()
2986 ret = clk_prepare_enable(nfc->reg_clk); in marvell_nfc_probe()
3026 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_probe()
3044 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_remove()
[all...]
H A Dmeson_nand.c173 void __iomem *reg_clk; member
1144 nfc->nand_divider.reg = nfc->reg_clk; in meson_nfc_clk_init()
1157 writel(CLK_SELECT_NAND | readl(nfc->reg_clk), in meson_nfc_clk_init()
1158 nfc->reg_clk); in meson_nfc_clk_init()
1539 nfc->reg_clk = devm_platform_ioremap_resource_byname(pdev, "emmc"); in meson_nfc_probe()
1540 if (IS_ERR(nfc->reg_clk)) in meson_nfc_probe()
1541 return PTR_ERR(nfc->reg_clk); in meson_nfc_probe()
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/
H A Dsafexcel.c1778 priv->reg_clk = devm_clk_get(&pdev->dev, "reg"); in safexcel_probe()
1779 ret = PTR_ERR_OR_ZERO(priv->reg_clk); in safexcel_probe()
1785 ret = clk_prepare_enable(priv->reg_clk); in safexcel_probe()
1804 clk_disable_unprepare(priv->reg_clk); in safexcel_probe()
1818 clk_disable_unprepare(priv->reg_clk); in safexcel_remove()
H A Dsafexcel.h814 struct clk *reg_clk; member
/kernel/linux/linux-6.6/drivers/crypto/inside-secure/
H A Dsafexcel.c1772 priv->reg_clk = devm_clk_get(&pdev->dev, "reg"); in safexcel_probe()
1773 ret = PTR_ERR_OR_ZERO(priv->reg_clk); in safexcel_probe()
1779 ret = clk_prepare_enable(priv->reg_clk); in safexcel_probe()
1798 clk_disable_unprepare(priv->reg_clk); in safexcel_probe()
1812 clk_disable_unprepare(priv->reg_clk); in safexcel_remove()
H A Dsafexcel.h821 struct clk *reg_clk; member
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Drt5665.c4110 unsigned int val_len = 0, val_clk, reg_clk, mask_clk, val_bits = 0x0100; in rt5665_hw_params() local
4157 reg_clk = RT5665_ADDA_CLK_1; in rt5665_hw_params()
4165 reg_clk = RT5665_ADDA_CLK_2; in rt5665_hw_params()
4172 reg_clk = RT5665_ADDA_CLK_2; in rt5665_hw_params()
4183 snd_soc_component_update_bits(component, reg_clk, mask_clk, val_clk); in rt5665_hw_params()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A 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()

Completed in 50 milliseconds