/openbmc/linux/drivers/rtc/ |
H A D | rtc-zynqmp.c | 55 struct clk *rtc_clk; member 321 /* Getting the rtc_clk info */ in xlnx_rtc_probe() 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()
|
H A D | rtc-s3c.c | 37 struct clk *rtc_clk; member 61 ret = clk_enable(info->rtc_clk); in s3c_rtc_enable_clk() 68 clk_disable(info->rtc_clk); in s3c_rtc_enable_clk() 79 clk_disable(info->rtc_clk); in s3c_rtc_disable_clk() 395 clk_unprepare(info->rtc_clk); in s3c_rtc_remove() 428 info->rtc_clk = devm_clk_get(&pdev->dev, "rtc"); in s3c_rtc_probe() 429 if (IS_ERR(info->rtc_clk)) in s3c_rtc_probe() 430 return dev_err_probe(&pdev->dev, PTR_ERR(info->rtc_clk), in s3c_rtc_probe() 432 ret = clk_prepare_enable(info->rtc_clk); in s3c_rtc_probe() 493 clk_disable_unprepare(info->rtc_clk); in s3c_rtc_probe()
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A 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()
|
H A D | ahb.h | 23 struct clk *rtc_clk; member
|
/openbmc/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt6580.dtsi | 50 rtc_clk: dummy32k { label 67 clocks = <&system_clk>, <&rtc_clk>;
|
H A D | mt6582.dtsi | 47 rtc_clk: dummy32k { label 63 clocks = <&system_clk>, <&rtc_clk>;
|
H A D | mt6589.dtsi | 57 rtc_clk: dummy32k { label 80 clocks = <&system_clk>, <&rtc_clk>;
|
H A D | mt6592.dtsi | 69 rtc_clk: dummy32k { label 85 clocks = <&system_clk>, <&rtc_clk>;
|
H A D | mt8127.dtsi | 68 rtc_clk: dummy32k { label 107 clocks = <&system_clk>, <&rtc_clk>;
|
H A D | mt8135.dtsi | 93 rtc_clk: dummy32k { label 174 clocks = <&system_clk>, <&rtc_clk>;
|
H A D | mt2701.dtsi | 67 rtc_clk: dummy32k { label 173 clocks = <&system_clk>, <&rtc_clk>;
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | sdio.c | 171 wilc->rtc_clk = devm_clk_get_optional(&func->card->dev, "rtc"); in wilc_sdio_probe() 172 if (IS_ERR(wilc->rtc_clk)) { in wilc_sdio_probe() 173 ret = PTR_ERR(wilc->rtc_clk); in wilc_sdio_probe() 176 clk_prepare_enable(wilc->rtc_clk); in wilc_sdio_probe() 195 clk_disable_unprepare(wilc->rtc_clk); in wilc_sdio_remove() 236 if (!IS_ERR(wilc->rtc_clk)) in wilc_sdio_suspend() 237 clk_disable_unprepare(wilc->rtc_clk); in wilc_sdio_suspend()
|
H A D | spi.c | 228 wilc->rtc_clk = devm_clk_get_optional(&spi->dev, "rtc"); in wilc_bus_probe() 229 if (IS_ERR(wilc->rtc_clk)) { in wilc_bus_probe() 230 ret = PTR_ERR(wilc->rtc_clk); in wilc_bus_probe() 233 clk_prepare_enable(wilc->rtc_clk); in wilc_bus_probe() 249 clk_disable_unprepare(wilc->rtc_clk); in wilc_bus_remove()
|
H A D | netdev.h | 204 struct clk *rtc_clk; member
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1028a.dtsi | 86 rtc_clk: rtc-clk { label 90 clock-output-names = "rtc_clk"; 1235 <&rtc_clk>, <&clockgen 4 1>; 1246 <&rtc_clk>, <&clockgen 4 1>; 1257 <&rtc_clk>, <&clockgen 4 1>; 1268 <&rtc_clk>, <&clockgen 4 1>; 1279 <&rtc_clk>, <&clockgen 4 1>; 1290 <&rtc_clk>, <&clockgen 4 1>; 1301 <&rtc_clk>, <&clockgen 4 1>; 1312 <&rtc_clk>, <&clockgen 4 1>;
|
/openbmc/linux/Documentation/devicetree/bindings/rtc/ |
H A D | xlnx,zynqmp-rtc.yaml | 73 clocks = <&rtc_clk>;
|
/openbmc/linux/drivers/clk/ |
H A D | clk-stm32h7.c | 1168 static const struct composite_clk_cfg rtc_clk = variable 1357 get_cfg_composite_div(&rtc_clk_cfg, &rtc_clk, &c_cfg, &stm32rcc_lock); in stm32h7_rcc_init() 1360 rtc_clk.name, in stm32h7_rcc_init() 1361 rtc_clk.parent_name, in stm32h7_rcc_init() 1362 rtc_clk.num_parents, in stm32h7_rcc_init() 1366 rtc_clk.flags); in stm32h7_rcc_init()
|
/openbmc/linux/drivers/clk/ux500/ |
H A D | u8500_of_clk.c | 130 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()
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | stericsson,u8500-clks.yaml | 167 rtc_clk: rtc32k-clock {
|
/openbmc/linux/drivers/clk/mmp/ |
H A D | clk-of-pxa1928.c | 116 …{PXA1928_CLK_RTC, "rtc_clk", "clk32", CLK_SET_RATE_PARENT, PXA1928_CLK_RTC * 4, 0x83, 0x83, 0x0, M…
|
H A D | clk-of-pxa910.c | 144 …{PXA910_CLK_RTC, "rtc_clk", "clk32", CLK_SET_RATE_PARENT, APBC_RTC, 0x83, 0x83, 0x0, MMP_CLK_GATE_…
|
H A D | clk-of-pxa168.c | 186 …{PXA168_CLK_RTC, "rtc_clk", "clk32", CLK_SET_RATE_PARENT, APBC_RTC, 0x83, 0x83, 0x0, MMP_CLK_GATE_…
|
/openbmc/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-moorefield.c | 216 PINCTRL_PIN(183, "RTC_CLK"),
|
H A D | pinctrl-merrifield.c | 224 PINCTRL_PIN(189, "RTC_CLK"),
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | ste-dbx5x0.dtsi | 377 rtc_clk: rtc32k-clock { label 421 clocks = <&rtc_clk>;
|