Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/rtc/
Drtc-s3c.c38 struct clk *rtc_clk; member
62 ret = clk_enable(info->rtc_clk); in s3c_rtc_enable_clk()
69 clk_disable(info->rtc_clk); in s3c_rtc_enable_clk()
80 clk_disable(info->rtc_clk); in s3c_rtc_disable_clk()
396 clk_unprepare(info->rtc_clk); in s3c_rtc_remove()
431 info->rtc_clk = devm_clk_get(&pdev->dev, "rtc"); in s3c_rtc_probe()
432 if (IS_ERR(info->rtc_clk)) { in s3c_rtc_probe()
433 ret = PTR_ERR(info->rtc_clk); in s3c_rtc_probe()
440 ret = clk_prepare_enable(info->rtc_clk); in s3c_rtc_probe()
501 clk_disable_unprepare(info->rtc_clk); in s3c_rtc_probe()
Drtc-zynqmp.c55 struct clk *rtc_clk; member
322 xrtcdev->rtc_clk = devm_clk_get_optional(&pdev->dev, "rtc_clk"); in xlnx_rtc_probe()
323 if (IS_ERR(xrtcdev->rtc_clk)) { in xlnx_rtc_probe()
324 if (PTR_ERR(xrtcdev->rtc_clk) != -EPROBE_DEFER) in xlnx_rtc_probe()
327 xrtcdev->freq = clk_get_rate(xrtcdev->rtc_clk); in xlnx_rtc_probe()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dahb.c103 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()
Dahb.h23 struct clk *rtc_clk; member
/linux-6.1.9/arch/arm/boot/dts/
Dmt6580.dtsi50 rtc_clk: dummy32k { label
67 clocks = <&system_clk>, <&rtc_clk>;
Dmt6582.dtsi47 rtc_clk: dummy32k { label
63 clocks = <&system_clk>, <&rtc_clk>;
Dmt6592.dtsi69 rtc_clk: dummy32k { label
85 clocks = <&system_clk>, <&rtc_clk>;
Dmt6589.dtsi57 rtc_clk: dummy32k { label
80 clocks = <&system_clk>, <&rtc_clk>;
Dmt8127.dtsi68 rtc_clk: dummy32k { label
107 clocks = <&system_clk>, <&rtc_clk>;
Dmt8135.dtsi93 rtc_clk: dummy32k { label
175 clocks = <&system_clk>, <&rtc_clk>;
Dmt2701.dtsi67 rtc_clk: dummy32k { label
173 clocks = <&system_clk>, <&rtc_clk>;
Dste-dbx5x0.dtsi308 rtc_clk: rtc32k-clock { label
347 clocks = <&rtc_clk>;
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dsdio.c172 wilc->rtc_clk = devm_clk_get_optional(&func->card->dev, "rtc"); in wilc_sdio_probe()
173 if (IS_ERR(wilc->rtc_clk)) { in wilc_sdio_probe()
174 ret = PTR_ERR(wilc->rtc_clk); in wilc_sdio_probe()
177 clk_prepare_enable(wilc->rtc_clk); in wilc_sdio_probe()
196 clk_disable_unprepare(wilc->rtc_clk); in wilc_sdio_remove()
237 if (!IS_ERR(wilc->rtc_clk)) in wilc_sdio_suspend()
238 clk_disable_unprepare(wilc->rtc_clk); in wilc_sdio_suspend()
Dspi.c227 wilc->rtc_clk = devm_clk_get_optional(&spi->dev, "rtc"); in wilc_bus_probe()
228 if (IS_ERR(wilc->rtc_clk)) { in wilc_bus_probe()
229 ret = PTR_ERR(wilc->rtc_clk); in wilc_bus_probe()
232 clk_prepare_enable(wilc->rtc_clk); in wilc_bus_probe()
248 clk_disable_unprepare(wilc->rtc_clk); in wilc_bus_remove()
Dnetdev.h204 struct clk *rtc_clk; member
/linux-6.1.9/arch/arm64/boot/dts/freescale/
Dfsl-ls1028a.dtsi69 rtc_clk: rtc-clk { label
73 clock-output-names = "rtc_clk";
1217 <&rtc_clk>, <&clockgen 4 1>;
1228 <&rtc_clk>, <&clockgen 4 1>;
1239 <&rtc_clk>, <&clockgen 4 1>;
1250 <&rtc_clk>, <&clockgen 4 1>;
1261 <&rtc_clk>, <&clockgen 4 1>;
1272 <&rtc_clk>, <&clockgen 4 1>;
1283 <&rtc_clk>, <&clockgen 4 1>;
1294 <&rtc_clk>, <&clockgen 4 1>;
/linux-6.1.9/Documentation/devicetree/bindings/rtc/
Dxlnx,zynqmp-rtc.yaml73 clocks = <&rtc_clk>;
/linux-6.1.9/drivers/clk/ux500/
Du8500_of_clk.c130 struct clk *clk, *rtc_clk, *twd_clk; in u8500_clk_init() local
180 rtc_clk = clk_register_fixed_rate(NULL, "rtc32k", "NULL", in u8500_clk_init()
609 of_clk_add_provider(child, of_clk_src_simple_get, rtc_clk); in u8500_clk_init()
/linux-6.1.9/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-6.1.9/Documentation/devicetree/bindings/clock/
Dstericsson,u8500-clks.yaml167 rtc_clk: rtc32k-clock {