Searched refs:reg_clk (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/usb/host/ |
| H A D | xhci-plat.c | 213 xhci->reg_clk = devm_clk_get_optional(&pdev->dev, "reg"); in xhci_plat_probe() 214 if (IS_ERR(xhci->reg_clk)) { in xhci_plat_probe() 215 ret = PTR_ERR(xhci->reg_clk); in xhci_plat_probe() 235 ret = clk_prepare_enable(xhci->reg_clk); in xhci_plat_probe() 380 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_probe() 440 struct clk *reg_clk = xhci->reg_clk; in xhci_plat_remove() local 459 clk_disable_unprepare(reg_clk); in xhci_plat_remove() 491 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_suspend_common() 528 ret = clk_prepare_enable(xhci->reg_clk); in xhci_plat_resume_common() 556 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_resume_common()
|
| H A D | xhci.h | 1530 struct clk *reg_clk; member
|
| /linux/drivers/watchdog/ |
| H A D | lpc18xx_wdt.c | 53 struct clk *reg_clk; member 214 lpc18xx_wdt->reg_clk = devm_clk_get_enabled(dev, "reg"); in lpc18xx_wdt_probe() 215 if (IS_ERR(lpc18xx_wdt->reg_clk)) { in lpc18xx_wdt_probe() 217 return PTR_ERR(lpc18xx_wdt->reg_clk); in lpc18xx_wdt_probe()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-mv64xxx.c | 138 struct clk *reg_clk; member 956 clk_disable_unprepare(drv_data->reg_clk); in mv64xxx_i2c_runtime_suspend() 968 clk_prepare_enable(drv_data->reg_clk); in mv64xxx_i2c_runtime_resume() 1009 drv_data->reg_clk = devm_clk_get(&pd->dev, "reg"); in mv64xxx_i2c_probe() 1010 if (IS_ERR(drv_data->reg_clk)) { in mv64xxx_i2c_probe() 1011 if (PTR_ERR(drv_data->reg_clk) == -EPROBE_DEFER) in mv64xxx_i2c_probe() 1013 drv_data->reg_clk = NULL; in mv64xxx_i2c_probe()
|
| /linux/drivers/dma/ |
| H A D | mv_xor_v2.c | 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()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | marvell_nand.c | 414 struct clk *reg_clk; member 2973 nfc->reg_clk = devm_clk_get(&pdev->dev, "reg"); in marvell_nfc_probe() 2974 if (IS_ERR(nfc->reg_clk)) { in marvell_nfc_probe() 2975 if (PTR_ERR(nfc->reg_clk) != -ENOENT) { in marvell_nfc_probe() 2976 ret = PTR_ERR(nfc->reg_clk); in marvell_nfc_probe() 2980 nfc->reg_clk = NULL; in marvell_nfc_probe() 2983 ret = clk_prepare_enable(nfc->reg_clk); in marvell_nfc_probe() 3023 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_probe() 3041 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_remove() 3053 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_suspend() [all …]
|
| H A D | meson_nand.c | 180 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/drivers/crypto/inside-secure/ |
| H A D | safexcel.c | 1767 priv->reg_clk = devm_clk_get(&pdev->dev, "reg"); in safexcel_probe() 1768 ret = PTR_ERR_OR_ZERO(priv->reg_clk); in safexcel_probe() 1774 ret = clk_prepare_enable(priv->reg_clk); in safexcel_probe() 1793 clk_disable_unprepare(priv->reg_clk); in safexcel_probe() 1807 clk_disable_unprepare(priv->reg_clk); in safexcel_remove()
|
| H A D | safexcel.h | 821 struct clk *reg_clk; member
|
| /linux/sound/soc/codecs/ |
| H A D | rt5665.c | 4010 unsigned int val_len = 0, val_clk, reg_clk, mask_clk, val_bits = 0x0100; in rt5665_hw_params() local 4057 reg_clk = RT5665_ADDA_CLK_1; in rt5665_hw_params() 4065 reg_clk = RT5665_ADDA_CLK_2; in rt5665_hw_params() 4072 reg_clk = RT5665_ADDA_CLK_2; in rt5665_hw_params() 4083 snd_soc_component_update_bits(component, reg_clk, mask_clk, val_clk); in rt5665_hw_params()
|