Home
last modified time | relevance | path

Searched refs:rtc_clk (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/drivers/watchdog/
Djz4740_wdt.c68 struct clk *rtc_clk; member
87 rtc_clk_rate = clk_get_rate(drvdata->rtc_clk); in jz4740_wdt_set_timeout()
194 drvdata->rtc_clk = devm_clk_get(&pdev->dev, "rtc"); in jz4740_wdt_probe()
195 if (IS_ERR(drvdata->rtc_clk)) { in jz4740_wdt_probe()
197 return PTR_ERR(drvdata->rtc_clk); in jz4740_wdt_probe()
/Linux-v4.19/drivers/rtc/
Drtc-s3c.c40 struct clk *rtc_clk; member
79 ret = clk_enable(info->rtc_clk); in s3c_rtc_enable_clk()
86 clk_disable(info->rtc_clk); in s3c_rtc_enable_clk()
107 clk_disable(info->rtc_clk); in s3c_rtc_disable_clk()
472 clk_unprepare(info->rtc_clk); in s3c_rtc_remove()
531 info->rtc_clk = devm_clk_get(&pdev->dev, "rtc"); in s3c_rtc_probe()
532 if (IS_ERR(info->rtc_clk)) { in s3c_rtc_probe()
533 ret = PTR_ERR(info->rtc_clk); in s3c_rtc_probe()
540 ret = clk_prepare_enable(info->rtc_clk); in s3c_rtc_probe()
621 clk_disable_unprepare(info->rtc_clk); in s3c_rtc_probe()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dahb.c114 ar_ahb->rtc_clk = devm_clk_get(dev, "wifi_wcss_rtc"); in ath10k_ahb_clock_init()
115 if (IS_ERR_OR_NULL(ar_ahb->rtc_clk)) { in ath10k_ahb_clock_init()
117 PTR_ERR(ar_ahb->rtc_clk)); in ath10k_ahb_clock_init()
118 return ar_ahb->rtc_clk ? PTR_ERR(ar_ahb->rtc_clk) : -ENODEV; in ath10k_ahb_clock_init()
130 ar_ahb->rtc_clk = NULL; in ath10k_ahb_clock_deinit()
140 IS_ERR_OR_NULL(ar_ahb->rtc_clk)) { in ath10k_ahb_clock_enable()
158 ret = clk_prepare_enable(ar_ahb->rtc_clk); in ath10k_ahb_clock_enable()
184 clk_disable_unprepare(ar_ahb->rtc_clk); in ath10k_ahb_clock_disable()
Dahb.h34 struct clk *rtc_clk; member
/Linux-v4.19/arch/arm/boot/dts/
Dmt6580.dtsi51 rtc_clk: dummy32k { label
68 clocks = <&system_clk>, <&rtc_clk>;
Dmt6592.dtsi68 rtc_clk: dummy32k { label
84 clocks = <&system_clk>, <&rtc_clk>;
Dmt6589.dtsi55 rtc_clk: dummy32k { label
78 clocks = <&system_clk>, <&rtc_clk>;
Dmt8127.dtsi67 rtc_clk: dummy32k { label
106 clocks = <&system_clk>, <&rtc_clk>;
Dmt8135.dtsi92 rtc_clk: dummy32k { label
174 clocks = <&system_clk>, <&rtc_clk>;
Dste-u300.dts69 rtc_clk: rtc_clk@13M { label
263 clocks = <&rtc_clk>;
Dmt2701.dtsi66 rtc_clk: dummy32k { label
172 clocks = <&system_clk>, <&rtc_clk>;
Dste-dbx5x0.dtsi254 rtc_clk: rtc32k-clock { label
293 clocks = <&rtc_clk>;
/Linux-v4.19/Documentation/devicetree/bindings/rtc/
Dstericsson,coh901331.txt15 clocks = <&rtc_clk>;
/Linux-v4.19/drivers/clk/ux500/
Du8500_of_clk.c65 struct clk *clk, *rtc_clk, *twd_clk; in u8500_clk_init() local
94 rtc_clk = clk_register_fixed_rate(NULL, "rtc32k", "NULL", in u8500_clk_init()
560 of_clk_add_provider(child, of_clk_src_simple_get, rtc_clk); in u8500_clk_init()
/Linux-v4.19/drivers/clk/
Dclk-stm32h7.c1169 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()
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dux500.txt57 rtc_clk: rtc32k-clock {
/Linux-v4.19/arch/arm64/boot/dts/mediatek/
Dmt6795.dtsi95 rtc_clk: dummy32k { label