Searched refs:reg_clk (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/usb/host/ |
A D | xhci-plat.c | 270 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() 393 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_probe() 410 struct clk *reg_clk = xhci->reg_clk; in xhci_plat_remove() local 424 clk_disable_unprepare(reg_clk); in xhci_plat_remove()
|
A D | xhci.h | 1790 struct clk *reg_clk; member
|
/linux/drivers/watchdog/ |
A D | lpc18xx_wdt.c | 53 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()
|
/linux/drivers/dma/ |
A D | mv_xor_v2.c | 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()
|
/linux/drivers/i2c/busses/ |
A D | i2c-mv64xxx.c | 140 struct clk *reg_clk; member 913 clk_disable_unprepare(drv_data->reg_clk); in mv64xxx_i2c_runtime_suspend() 925 clk_prepare_enable(drv_data->reg_clk); in mv64xxx_i2c_runtime_resume() 966 drv_data->reg_clk = devm_clk_get(&pd->dev, "reg"); in mv64xxx_i2c_probe() 967 if (IS_ERR(drv_data->reg_clk)) { in mv64xxx_i2c_probe() 968 if (PTR_ERR(drv_data->reg_clk) == -EPROBE_DEFER) in mv64xxx_i2c_probe() 970 drv_data->reg_clk = NULL; in mv64xxx_i2c_probe()
|
/linux/drivers/mtd/nand/raw/ |
A D | marvell_nand.c | 403 struct clk *reg_clk; member 2935 nfc->reg_clk = devm_clk_get(&pdev->dev, "reg"); in marvell_nfc_probe() 2936 if (IS_ERR(nfc->reg_clk)) { in marvell_nfc_probe() 2937 if (PTR_ERR(nfc->reg_clk) != -ENOENT) { in marvell_nfc_probe() 2938 ret = PTR_ERR(nfc->reg_clk); in marvell_nfc_probe() 2942 nfc->reg_clk = NULL; in marvell_nfc_probe() 2945 ret = clk_prepare_enable(nfc->reg_clk); in marvell_nfc_probe() 2985 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_probe() 3003 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_remove() 3017 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_suspend() [all …]
|
A D | meson_nand.c | 162 struct regmap *reg_clk; member 1018 regmap_update_bits(nfc->reg_clk, in meson_nfc_clk_init() 1399 nfc->reg_clk = in meson_nfc_probe() 1402 if (IS_ERR(nfc->reg_clk)) { in meson_nfc_probe() 1404 return PTR_ERR(nfc->reg_clk); in meson_nfc_probe()
|
/linux/drivers/crypto/inside-secure/ |
A D | safexcel.c | 1758 priv->reg_clk = devm_clk_get(&pdev->dev, "reg"); in safexcel_probe() 1759 ret = PTR_ERR_OR_ZERO(priv->reg_clk); in safexcel_probe() 1765 ret = clk_prepare_enable(priv->reg_clk); in safexcel_probe() 1784 clk_disable_unprepare(priv->reg_clk); in safexcel_probe() 1798 clk_disable_unprepare(priv->reg_clk); in safexcel_remove()
|
A D | safexcel.h | 815 struct clk *reg_clk; member
|
/linux/sound/soc/codecs/ |
A D | rt5665.c | 4110 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()
|
Completed in 53 milliseconds