Searched refs:rtc_clk (Results 1 – 8 of 8) sorted by relevance
/drivers/rtc/ |
D | rtc-s3c.c | 38 struct clk *rtc_clk; member 73 ret = clk_enable(info->rtc_clk); in s3c_rtc_enable_clk() 80 clk_disable(info->rtc_clk); in s3c_rtc_enable_clk() 91 clk_disable(info->rtc_clk); in s3c_rtc_disable_clk() 438 clk_unprepare(info->rtc_clk); in s3c_rtc_remove() 481 info->rtc_clk = devm_clk_get(&pdev->dev, "rtc"); in s3c_rtc_probe() 482 if (IS_ERR(info->rtc_clk)) { in s3c_rtc_probe() 483 ret = PTR_ERR(info->rtc_clk); in s3c_rtc_probe() 490 ret = clk_prepare_enable(info->rtc_clk); in s3c_rtc_probe() 568 clk_disable_unprepare(info->rtc_clk); in s3c_rtc_probe()
|
/drivers/net/wireless/ath/ath10k/ |
D | ahb.c | 103 ar_ahb->rtc_clk = devm_clk_get(dev, "wifi_wcss_rtc"); in ath10k_ahb_clock_init() 104 if (IS_ERR_OR_NULL(ar_ahb->rtc_clk)) { in ath10k_ahb_clock_init() 106 PTR_ERR(ar_ahb->rtc_clk)); in ath10k_ahb_clock_init() 107 return ar_ahb->rtc_clk ? PTR_ERR(ar_ahb->rtc_clk) : -ENODEV; in ath10k_ahb_clock_init() 119 ar_ahb->rtc_clk = NULL; in ath10k_ahb_clock_deinit() 129 IS_ERR_OR_NULL(ar_ahb->rtc_clk)) { in ath10k_ahb_clock_enable() 147 ret = clk_prepare_enable(ar_ahb->rtc_clk); in ath10k_ahb_clock_enable() 173 clk_disable_unprepare(ar_ahb->rtc_clk); in ath10k_ahb_clock_disable()
|
D | ahb.h | 23 struct clk *rtc_clk; member
|
/drivers/net/wireless/microchip/wilc1000/ |
D | sdio.c | 152 wilc->rtc_clk = devm_clk_get(&func->card->dev, "rtc"); in wilc_sdio_probe() 153 if (PTR_ERR_OR_ZERO(wilc->rtc_clk) == -EPROBE_DEFER) { in wilc_sdio_probe() 156 } else if (!IS_ERR(wilc->rtc_clk)) in wilc_sdio_probe() 157 clk_prepare_enable(wilc->rtc_clk); in wilc_sdio_probe() 167 if (!IS_ERR(wilc->rtc_clk)) in wilc_sdio_remove() 168 clk_disable_unprepare(wilc->rtc_clk); in wilc_sdio_remove() 201 if (!IS_ERR(wilc->rtc_clk)) in wilc_sdio_suspend() 202 clk_disable_unprepare(wilc->rtc_clk); in wilc_sdio_suspend()
|
D | spi.c | 114 wilc->rtc_clk = devm_clk_get(&spi->dev, "rtc_clk"); in wilc_bus_probe() 115 if (PTR_ERR_OR_ZERO(wilc->rtc_clk) == -EPROBE_DEFER) { in wilc_bus_probe() 118 } else if (!IS_ERR(wilc->rtc_clk)) in wilc_bus_probe() 119 clk_prepare_enable(wilc->rtc_clk); in wilc_bus_probe() 128 if (!IS_ERR(wilc->rtc_clk)) in wilc_bus_remove() 129 clk_disable_unprepare(wilc->rtc_clk); in wilc_bus_remove()
|
D | netdev.h | 205 struct clk *rtc_clk; member
|
/drivers/clk/ux500/ |
D | u8500_of_clk.c | 64 struct clk *clk, *rtc_clk, *twd_clk; in u8500_clk_init() local 93 rtc_clk = clk_register_fixed_rate(NULL, "rtc32k", "NULL", in u8500_clk_init() 561 of_clk_add_provider(child, of_clk_src_simple_get, rtc_clk); in u8500_clk_init()
|
/drivers/clk/ |
D | clk-stm32h7.c | 1169 static const struct composite_clk_cfg rtc_clk = variable 1358 get_cfg_composite_div(&rtc_clk_cfg, &rtc_clk, &c_cfg, &stm32rcc_lock); in stm32h7_rcc_init() 1361 rtc_clk.name, in stm32h7_rcc_init() 1362 rtc_clk.parent_name, in stm32h7_rcc_init() 1363 rtc_clk.num_parents, in stm32h7_rcc_init() 1367 rtc_clk.flags); in stm32h7_rcc_init()
|