Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/host/
Dxhci-plat.c238 xhci->reg_clk = devm_clk_get_optional(&pdev->dev, "reg"); in xhci_plat_probe()
239 if (IS_ERR(xhci->reg_clk)) { in xhci_plat_probe()
240 ret = PTR_ERR(xhci->reg_clk); in xhci_plat_probe()
244 ret = clk_prepare_enable(xhci->reg_clk); in xhci_plat_probe()
346 clk_disable_unprepare(xhci->reg_clk); in xhci_plat_probe()
363 struct clk *reg_clk = xhci->reg_clk; in xhci_plat_remove() local
376 clk_disable_unprepare(reg_clk); in xhci_plat_remove()
Dxhci.h1766 struct clk *reg_clk; member
/Linux-v5.4/drivers/watchdog/
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()
/Linux-v5.4/drivers/dma/
Dmv_xor_v2.c156 struct clk *reg_clk; member
741 xor_dev->reg_clk = devm_clk_get(&pdev->dev, "reg"); in mv_xor_v2_probe()
742 if (PTR_ERR(xor_dev->reg_clk) != -ENOENT) { in mv_xor_v2_probe()
743 if (!IS_ERR(xor_dev->reg_clk)) { in mv_xor_v2_probe()
744 ret = clk_prepare_enable(xor_dev->reg_clk); in mv_xor_v2_probe()
748 return PTR_ERR(xor_dev->reg_clk); in mv_xor_v2_probe()
875 clk_disable_unprepare(xor_dev->reg_clk); in mv_xor_v2_probe()
/Linux-v5.4/drivers/i2c/busses/
Di2c-mv64xxx.c138 struct clk *reg_clk; member
909 drv_data->reg_clk = devm_clk_get(&pd->dev, "reg"); in mv64xxx_i2c_probe()
910 if (IS_ERR(drv_data->reg_clk) && in mv64xxx_i2c_probe()
911 PTR_ERR(drv_data->reg_clk) == -EPROBE_DEFER) in mv64xxx_i2c_probe()
913 if (!IS_ERR(drv_data->reg_clk)) in mv64xxx_i2c_probe()
914 clk_prepare_enable(drv_data->reg_clk); in mv64xxx_i2c_probe()
965 clk_disable_unprepare(drv_data->reg_clk); in mv64xxx_i2c_probe()
979 clk_disable_unprepare(drv_data->reg_clk); in mv64xxx_i2c_remove()
/Linux-v5.4/drivers/mtd/nand/raw/
Dmarvell_nand.c395 struct clk *reg_clk; member
2883 nfc->reg_clk = devm_clk_get(&pdev->dev, "reg"); in marvell_nfc_probe()
2884 if (IS_ERR(nfc->reg_clk)) { in marvell_nfc_probe()
2885 if (PTR_ERR(nfc->reg_clk) != -ENOENT) { in marvell_nfc_probe()
2886 ret = PTR_ERR(nfc->reg_clk); in marvell_nfc_probe()
2890 nfc->reg_clk = NULL; in marvell_nfc_probe()
2893 ret = clk_prepare_enable(nfc->reg_clk); in marvell_nfc_probe()
2930 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_probe()
2948 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_remove()
2962 clk_disable_unprepare(nfc->reg_clk); in marvell_nfc_suspend()
[all …]
Dmeson_nand.c162 struct regmap *reg_clk; member
1015 regmap_update_bits(nfc->reg_clk, in meson_nfc_clk_init()
1393 nfc->reg_clk = in meson_nfc_probe()
1396 if (IS_ERR(nfc->reg_clk)) { in meson_nfc_probe()
1398 return PTR_ERR(nfc->reg_clk); in meson_nfc_probe()
/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel.c1586 priv->reg_clk = devm_clk_get(&pdev->dev, "reg"); in safexcel_probe()
1587 ret = PTR_ERR_OR_ZERO(priv->reg_clk); in safexcel_probe()
1593 ret = clk_prepare_enable(priv->reg_clk); in safexcel_probe()
1612 clk_disable_unprepare(priv->reg_clk); in safexcel_probe()
Dsafexcel.h716 struct clk *reg_clk; member
/Linux-v5.4/sound/soc/codecs/
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()