| /f-stack/freebsd/kern/ |
| H A D | subr_rtc.c | 140 struct rtc_instance *rtc; in settime_task_func() local 143 rtc = arg; in settime_task_func() 259 struct rtc_instance *rtc, *tmp; in clock_unregister() local 269 if (rtc != NULL) { in clock_unregister() 272 free(rtc, M_DEVBUF); in clock_unregister() 279 struct rtc_instance *rtc; in clock_schedule() local 284 rtc->schedns = offsetns; in clock_schedule() 294 struct rtc_instance *rtc; in read_clocks() local 312 device_printf(rtc->clockdev, in read_clocks() 380 struct rtc_instance *rtc; in resettodr() local [all …]
|
| /f-stack/freebsd/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# 19 - const: allwinner,sun6i-a31-rtc 20 - const: allwinner,sun8i-a23-rtc 21 - const: allwinner,sun8i-h3-rtc 22 - const: allwinner,sun8i-r40-rtc 23 - const: allwinner,sun8i-v3-rtc 24 - const: allwinner,sun50i-h5-rtc 28 - const: allwinner,sun50i-h6-rtc 54 - $ref: "rtc.yaml#" 74 - allwinner,sun8i-v3-rtc [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 20 - const: samsung,exynos3250-rtc 51 - $ref: rtc.yaml# 57 - samsung,s3c6410-rtc 66 - const: rtc 75 - const: 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 | moxa,moxart-rtc.txt | 5 - compatible : Should be "moxa,moxart-rtc" 6 - gpio-rtc-sclk : RTC sclk gpio, with zero flags 7 - gpio-rtc-data : RTC data gpio, with zero flags 8 - gpio-rtc-reset : RTC reset gpio, with zero flags 12 rtc: rtc { 13 compatible = "moxa,moxart-rtc"; 14 gpio-rtc-sclk = <&gpio 5 0>; 15 gpio-rtc-data = <&gpio 6 0>; 16 gpio-rtc-reset = <&gpio 7 0>;
|
| H A D | ingenic,rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/ingenic,rtc.yaml# 13 - $ref: rtc.yaml# 19 - ingenic,jz4740-rtc 20 - ingenic,jz4760-rtc 22 - const: ingenic,jz4725b-rtc 23 - const: ingenic,jz4740-rtc 26 - ingenic,jz4770-rtc 27 - ingenic,jz4780-rtc 40 const: rtc 74 rtc_dev: rtc@10003000 { [all …]
|
| H A D | atmel,at91rm9200-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/atmel,at91rm9200-rtc.yaml# 10 - $ref: "rtc.yaml#" 18 - atmel,at91rm9200-rtc 19 - atmel,at91sam9x5-rtc 20 - atmel,sama5d4-rtc 21 - atmel,sama5d2-rtc 22 - microchip,sam9x60-rtc 43 rtc@fffffe00 { 44 compatible = "atmel,at91rm9200-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 | 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 | 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 | 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"; 132 rtc@5c004000 { [all …]
|
| 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 | imxdi-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/imxdi-rtc.yaml# 14 const: fsl,imx25-rtc 21 - description: rtc alarm interrupt 39 rtc@53ffc000 { 40 compatible = "fsl,imx25-rtc";
|
| H A D | spear-rtc.txt | 4 - compatible : "st,spear600-rtc" 5 - reg : Address range of the rtc registers 6 - interrupt: Should contain the rtc interrupt number 10 rtc@fc000000 { 11 compatible = "st,spear600-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";
|
| H A D | rtc-mxc_v2.yaml | 4 $id: http://devicetree.org/schemas/rtc/rtc-mxc_v2.yaml# 10 - $ref: "rtc.yaml#" 18 - fsl,imx53-rtc 41 rtc@53fa4000 { 42 compatible = "fsl,imx53-rtc";
|
| H A D | stericsson,coh901331.txt | 5 - reg: address range of rtc register set. 6 - interrupts: rtc alarm interrupt. 7 - clocks: phandle to the rtc clock source 10 rtc: rtc@c0017000 {
|
| H A D | rtc-meson.txt | 5 * "amlogic,meson6-rtc" 6 * "amlogic,meson8-rtc" 7 * "amlogic,meson8b-rtc" 8 * "amlogic,meson8m2-rtc" 25 rtc: rtc@740 { 26 compatible = "amlogic,meson6-rtc";
|
| H A D | renesas,sh-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/renesas,sh-rtc.yaml# 16 - const: renesas,r7s72100-rtc # RZ/A1H 17 - const: renesas,sh-rtc 66 rtc: rtc@fcff1000 { 67 compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc";
|
| H A D | sprd,sc27xx-rtc.txt | 4 - compatible: should be "sprd,sc2731-rtc". 5 - reg: address offset of rtc register. 6 - interrupts: rtc alarm interrupt. 20 rtc@280 { 21 compatible = "sprd,sc2731-rtc";
|
| H A D | rtc-aspeed.txt | 6 * aspeed,ast2400-rtc for the ast2400 7 * aspeed,ast2500-rtc for the ast2500 8 * aspeed,ast2600-rtc for the ast2600 17 rtc@1e781000 { 18 compatible = "aspeed,ast2400-rtc";
|
| H A D | imxdi-rtc.txt | 4 - compatible: should be: "fsl,imx25-rtc" 7 - clocks: should contain the phandle for the rtc clock 8 - interrupts: rtc alarm interrupt 15 rtc@53ffc000 { 16 compatible = "fsl,imx25-rtc";
|
| /f-stack/freebsd/amd64/vmm/io/ |
| H A D | vrtc.c | 225 rtc->sec = rtcset(rtc, ct.sec); in secs_to_rtc() 226 rtc->min = rtcset(rtc, ct.min); in secs_to_rtc() 250 rtc->hour = rtcset(rtc, hour); in secs_to_rtc() 256 rtc->day_of_month = rtcset(rtc, ct.day); in secs_to_rtc() 257 rtc->month = rtcset(rtc, ct.mon); in secs_to_rtc() 258 rtc->year = rtcset(rtc, ct.year % 100); in secs_to_rtc() 259 rtc->century = rtcset(rtc, ct.year / 100); in secs_to_rtc() 298 error = rtcget(rtc, rtc->sec, &ct.sec); in rtc_to_secs() 304 error = rtcget(rtc, rtc->min, &ct.min); in rtc_to_secs() 362 error = rtcget(rtc, rtc->month, &ct.mon); in rtc_to_secs() [all …]
|