/freebsd/sys/contrib/device-tree/Bindings/rtc/ |
H A D | allwinner,sun6i-a31-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/allwinner,sun6i-a31-rtc.yaml# 20 - allwinner,sun6i-a31-rtc 21 - allwinner,sun8i-a23-rtc 22 - allwinner,sun8i-h3-rtc 23 - allwinner,sun8i-r40-rtc 24 - allwinner,sun8i-v3-rtc 25 - allwinner,sun50i-h5-rtc 26 - allwinner,sun50i-h6-rtc 27 - allwinner,sun50i-h616-rtc 64 - $ref: rtc.yaml# [all …]
|
H A D | s3c-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/s3c-rtc.yaml# 16 - samsung,s3c2410-rtc 17 - samsung,s3c2416-rtc 18 - samsung,s3c2443-rtc 19 - samsung,s3c6410-rtc 22 - samsung,exynos7-rtc 23 - samsung,exynos850-rtc 56 - $ref: rtc.yaml# 71 - const: rtc 80 - const: rtc [all …]
|
H A D | ingenic,rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/ingenic,rtc.yaml# 13 - $ref: rtc.yaml# 30 - ingenic,jz4740-rtc 31 - ingenic,jz4760-rtc 37 - ingenic,jz4770-rtc 51 const: rtc 90 rtc_dev: rtc@10003000 { 98 clock-names = "rtc"; 103 rtc: rtc@10003000 { 104 compatible = "ingenic,jz4780-rtc", "ingenic,jz4760-rtc"; [all …]
|
H A D | atmel,at91rm9200-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/atmel,at91rm9200-rtc.yaml# 10 - $ref: rtc.yaml# 19 - atmel,at91rm9200-rtc 20 - atmel,at91sam9x5-rtc 21 - atmel,sama5d4-rtc 22 - atmel,sama5d2-rtc 23 - microchip,sam9x60-rtc 24 - microchip,sama7g5-rtc 26 - const: microchip,sam9x7-rtc 27 - const: microchip,sam9x60-rtc [all …]
|
H A D | sa1100-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/sa1100-rtc.yaml# 10 - $ref: rtc.yaml# 20 - mrvl,sa1100-rtc 21 - mrvl,mmp-rtc 37 - const: rtc 1Hz 38 - const: rtc alarm 50 rtc: rtc@d4010000 { 51 compatible = "mrvl,mmp-rtc"; 54 interrupt-names = "rtc 1Hz", "rtc alarm";
|
H A D | nvidia,tegra20-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/nvidia,tegra20-rtc.yaml# 21 - const: nvidia,tegra20-rtc 24 - nvidia,tegra30-rtc 25 - nvidia,tegra114-rtc 26 - nvidia,tegra124-rtc 27 - nvidia,tegra210-rtc 28 - nvidia,tegra186-rtc 29 - nvidia,tegra194-rtc 30 - nvidia,tegra234-rtc 31 - const: nvidia,tegra20-rtc [all …]
|
H A D | loongson,rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/loongson,rtc.yaml# 17 - $ref: rtc.yaml# 23 - loongson,ls1b-rtc 24 - loongson,ls1c-rtc 25 - loongson,ls7a-rtc 26 - loongson,ls2k1000-rtc 29 - loongson,ls2k2000-rtc 30 - loongson,ls2k0500-rtc 31 - const: loongson,ls7a-rtc 49 rtc@1fe27800 { [all …]
|
H A D | moxa,moxart-rtc.txt | 5 - compatible : Should be "moxa,moxart-rtc" 6 - rtc-sclk-gpios : RTC sclk gpio, with zero flags 7 - rtc-data-gpios : RTC data gpio, with zero flags 8 - rtc-reset-gpios : RTC reset gpio, with zero flags 12 rtc: rtc { 13 compatible = "moxa,moxart-rtc"; 14 rtc-sclk-gpios = <&gpio 5 0>; 15 rtc-data-gpios = <&gpio 6 0>; 16 rtc-reset-gpios = <&gpio 7 0>;
|
H A D | cirrus,ep9301-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/cirrus,ep9301-rtc.yaml# 14 - $ref: rtc.yaml# 19 - const: cirrus,ep9301-rtc 22 - cirrus,ep9302-rtc 23 - cirrus,ep9307-rtc 24 - cirrus,ep9312-rtc 25 - cirrus,ep9315-rtc 26 - const: cirrus,ep9301-rtc 39 rtc@80920000 { 40 compatible = "cirrus,ep9301-rtc";
|
H A D | qcom-pm8xxx-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/qcom-pm8xxx-rtc.yaml# 16 - qcom,pm8058-rtc 17 - qcom,pm8921-rtc 18 - qcom,pm8941-rtc 19 - qcom,pmk8350-rtc 22 - qcom,pm8018-rtc 23 - const: qcom,pm8921-rtc 32 - const: rtc 77 rtc@6000 { 78 compatible = "qcom,pm8941-rtc"; [all …]
|
H A D | amlogic,meson6-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/amlogic,meson6-rtc.yaml# 14 - $ref: rtc.yaml# 21 - amlogic,meson6-rtc 22 - amlogic,meson8-rtc 23 - amlogic,meson8b-rtc 24 - amlogic,meson8m2-rtc 50 rtc: rtc@740 { 51 compatible = "amlogic,meson6-rtc";
|
H A D | sa1100-rtc.txt | 4 - compatible: should be "mrvl,sa1100-rtc" 7 - interrupts: Should be two. The first interrupt number is the rtc alarm 8 interrupt and the second interrupt number is the rtc hz interrupt. 12 rtc: rtc@d4010000 { 13 compatible = "mrvl,mmp-rtc"; 16 interrupt-names = "rtc 1Hz", "rtc alarm";
|
H A D | allwinner,sun4i-a10-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/allwinner,sun4i-a10-rtc.yaml# 10 - $ref: rtc.yaml# 19 - allwinner,sun4i-a10-rtc 20 - allwinner,sun7i-a20-rtc 37 rtc: rtc@1c20d00 { 38 compatible = "allwinner,sun4i-a10-rtc";
|
H A D | rtc-mt7622.txt | 5 "mediatek,mt7622-rtc", "mediatek,soc-rtc" : for MT7622 SoC 10 - clock-names : Should contain "rtc" entries 14 rtc: rtc@10212800 { 15 compatible = "mediatek,mt7622-rtc", 16 "mediatek,soc-rtc"; 20 clock-names = "rtc";
|
H A D | st,stm32-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/st,stm32-rtc.yaml# 15 - st,stm32-rtc 16 - st,stm32h7-rtc 17 - st,stm32mp1-rtc 60 const: st,stm32-rtc 77 const: st,stm32h7-rtc 93 const: st,stm32mp1-rtc 119 rtc@40002800 { 120 compatible = "st,stm32-rtc"; 133 rtc@5c004000 { [all …]
|
H A D | xlnx,zynqmp-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/xlnx,zynqmp-rtc.yaml# 17 - $ref: rtc.yaml# 21 const: xlnx,zynqmp-rtc 31 - const: rtc 65 rtc: rtc@ffa60000 { 66 compatible = "xlnx,zynqmp-rtc"; 72 clock-names = "rtc";
|
H A D | armada-380-rtc.txt | 7 "marvell,armada-380-rtc" for Armada 38x SoC 8 "marvell,armada-8k-rtc" for Aramda 7K/8K SoCs 12 * "rtc" for the RTC registers 13 * "rtc-soc" for the SoC related registers and among them the one 19 rtc@a3800 { 20 compatible = "marvell,armada-380-rtc"; 22 reg-names = "rtc", "rtc-soc";
|
H A D | microchip,mfps-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/microchip,mfps-rtc.yaml# 11 - $ref: rtc.yaml# 20 - microchip,mpfs-rtc 39 strobe (typically 1 Hz) for the calendar counter. By default, the rtc 45 - const: rtc 60 rtc@20124000 { 61 compatible = "microchip,mpfs-rtc"; 64 clock-names = "rtc", "rtcref";
|
H A D | nxp,lpc1788-rtc.txt | 7 - compatible : must contain "nxp,lpc1788-rtc" 10 - clocks : Must contain clock specifiers for rtc and register clock 11 - clock-names : Must contain "rtc" and "reg" 15 rtc: rtc@40046000 { 16 compatible = "nxp,lpc1788-rtc"; 20 clock-names = "rtc", "reg";
|
H A D | renesas,rzn1-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/renesas,rzn1-rtc.yaml# 13 - $ref: rtc.yaml# 19 - renesas,r9a06g032-rtc 20 - const: renesas,rzn1-rtc 59 rtc@40006000 { 60 compatible = "renesas,r9a06g032-rtc", "renesas,rzn1-rtc";
|
H A D | sunplus,sp7021-rtc.yaml | 5 $id: http://devicetree.org/schemas/rtc/sunplus,sp7021-rtc.yaml# 15 const: sunplus,sp7021-rtc 22 - const: rtc 47 rtc: serial@9c003a00 { 48 compatible = "sunplus,sp7021-rtc"; 50 reg-names = "rtc";
|
H A D | rtc-mxc.yaml | 4 $id: http://devicetree.org/schemas/rtc/rtc-mxc.yaml# 10 - $ref: rtc.yaml# 18 - fsl,imx1-rtc 19 - fsl,imx21-rtc 50 rtc@10007000 { 51 compatible = "fsl,imx21-rtc";
|
H A D | rtc-omap.txt | 5 - "ti,da830-rtc" - for RTC IP used similar to that on DA8xx SoC family. 6 - "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family. 11 - "ti,am4372-rtc" - for RTC IP used similar to that on AM437X SoC family. 12 - reg: Address range of rtc register set 13 - interrupts: rtc timer, alarm interrupts in order 16 - system-power-controller: whether the rtc is controlling the system power 18 - clocks: Any internal or external clocks feeding in to rtc 35 rtc@1c23000 { 36 compatible = "ti,da830-rtc";
|
/freebsd/sys/kern/ |
H A D | subr_rtc.c | 137 struct rtc_instance *rtc; in settime_task_func() local 140 rtc = arg; in settime_task_func() 256 struct rtc_instance *rtc, *tmp; in clock_unregister() local 266 if (rtc != NULL) { in clock_unregister() 269 free(rtc, M_DEVBUF); in clock_unregister() 276 struct rtc_instance *rtc; in clock_schedule() local 281 rtc->schedns = offsetns; in clock_schedule() 291 struct rtc_instance *rtc; in read_clocks() local 309 device_printf(rtc->clockdev, in read_clocks() 377 struct rtc_instance *rtc; in resettodr() local [all …]
|
/freebsd/sys/amd64/vmm/io/ |
H A D | vrtc.c | 223 rtc->sec = rtcset(rtc, ct.sec); in secs_to_rtc() 224 rtc->min = rtcset(rtc, ct.min); in secs_to_rtc() 248 rtc->hour = rtcset(rtc, hour); in secs_to_rtc() 254 rtc->day_of_month = rtcset(rtc, ct.day); in secs_to_rtc() 255 rtc->month = rtcset(rtc, ct.mon); in secs_to_rtc() 256 rtc->year = rtcset(rtc, ct.year % 100); in secs_to_rtc() 257 rtc->century = rtcset(rtc, ct.year / 100); in secs_to_rtc() 297 error = rtcget(rtc, rtc->sec, &ct.sec); in rtc_to_secs() 303 error = rtcget(rtc, rtc->min, &ct.min); in rtc_to_secs() 361 error = rtcget(rtc, rtc->month, &ct.mon); in rtc_to_secs() [all …]
|