| /netbsd-src/sys/arch/playstation2/playstation2/ |
| H A D | clock.c | 81 struct bootinfo_rtc *rtc = in get_bootinfo_tod() local 85 dt->dt_year = bcdtobin(rtc->year) + 2000; in get_bootinfo_tod() 86 dt->dt_mon = bcdtobin(rtc->mon); in get_bootinfo_tod() 87 dt->dt_day = bcdtobin(rtc->day); in get_bootinfo_tod() 88 dt->dt_hour = bcdtobin(rtc->hour); in get_bootinfo_tod() 89 dt->dt_min = bcdtobin(rtc->min); in get_bootinfo_tod() 90 dt->dt_sec = bcdtobin(rtc->sec); in get_bootinfo_tod()
|
| /netbsd-src/sys/arch/powerpc/powerpc/ |
| H A D | clock.c | 80 .tc_name = "rtc", 214 u_int32_t rtc[2]; in delay() 216 mfrtc(rtc); in delay() 218 rtc[0]++; in delay() 221 rtc[1] += (n * 1000); in delay() 222 if (rtc[1] >= 1000000000) { in delay() 223 rtc[0]++; in delay() 224 rtc[1] -= 1000000000; in delay() 229 : "r"(rtc[0]), "r"(rtc[ in delay() [all...] |
| /netbsd-src/sys/arch/x68k/dev/ |
| H A D | rtclock_var.h | 54 #define RTC_REG(x) (bus_space_read_1(rtc->sc_bst, rtc->sc_bht, (x)) & 0x0f) 55 #define RTC_WRITE(x,v) bus_space_write_1(rtc->sc_bst, rtc->sc_bht, (x), (v))
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
| H A D | moxart.dtsi | 75 rtc: rtc { label 76 compatible = "moxa,moxart-rtc"; 77 gpio-rtc-sclk = <&gpio 5 0>; 78 gpio-rtc-data = <&gpio 6 0>; 79 gpio-rtc-reset = <&gpio 7 0>;
|
| H A D | kirkwood-6192.dtsi | 58 rtc: rtc@10300 { label 59 compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
|
| H A D | pxa168.dtsi | 143 rtc: rtc@d4010000 { label 144 compatible = "mrvl,mmp-rtc"; 147 interrupt-names = "rtc 1Hz", "rtc alarm";
|
| H A D | kirkwood-6281.dtsi | 58 rtc: rtc@10300 { label 59 compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
|
| H A D | pxa910.dtsi | 155 rtc: rtc@d4010000 { label 156 compatible = "mrvl,mmp-rtc"; 159 interrupt-names = "rtc 1Hz", "rtc alarm";
|
| H A D | s3c24xx.dtsi | 77 rtc: rtc@57000000 { label 78 compatible = "samsung,s3c2410-rtc";
|
| H A D | kirkwood-6282.dtsi | 96 rtc: rtc@10300 { label 97 compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
|
| H A D | qcom-pma8084.dtsi | 14 rtc@6000 { 15 compatible = "qcom,pm8941-rtc"; 18 reg-names = "rtc", "alarm";
|
| H A D | s3c2416.dtsi | 85 &rtc { 86 compatible = "samsung,s3c2416-rtc"; 88 clock-names = "rtc";
|
| /netbsd-src/sys/arch/sh3/conf/ |
| H A D | files.shb | 10 device rtc 11 attach rtc at shb 12 file arch/sh3/dev/rtc.c rtc needs-flag
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/mips/boot/dts/ingenic/ |
| H A D | jz4740.dtsi | 47 rtc: rtc { label 57 clocks = <&ext>, <&rtc>; 58 clock-names = "ext", "rtc"; 76 clock-names = "rtc", "ext", "pclk", "tcu"; 107 rtc_dev: rtc@10003000 { 108 compatible = "ingenic,jz4740-rtc"; 115 clock-names = "rtc";
|
| H A D | x1830.dtsi | 48 rtclk: rtc { 64 clock-names = "ext", "rtc"; 108 clock-names = "rtc", "ext", "pclk"; 125 rtc: rtc@10003000 { label 126 compatible = "ingenic,x1830-rtc", "ingenic,jz4780-rtc"; 133 clock-names = "rtc";
|
| H A D | x1000.dtsi | 48 rtclk: rtc { 64 clock-names = "ext", "rtc"; 115 clock-names = "rtc", "ext", "pclk"; 132 rtc: rtc@10003000 { label 133 compatible = "ingenic,x1000-rtc", "ingenic,jz4780-rtc"; 140 clock-names = "rtc";
|
| H A D | jz4780.dtsi | 57 rtc: rtc { label 72 clocks = <&ext>, <&rtc>; 73 clock-names = "ext", "rtc"; 108 clock-names = "rtc", "ext", "pclk"; 149 rtc_dev: rtc@10003000 { 150 compatible = "ingenic,jz4780-rtc"; 157 clock-names = "rtc";
|
| /netbsd-src/sys/arch/atari/dev/ |
| H A D | clock.c | 406 struct rtc *rtc = cookie; in mc146818_read() local 408 rtc->rtc_regno = regno; in mc146818_read() 409 return rtc->rtc_data & 0xff; in mc146818_read() 414 struct rtc *rtc = cookie; in mc146818_write() local 416 rtc->rtc_regno = regno; in mc146818_write() 417 rtc->rtc_data = value; in mc146818_write()
|
| H A D | clockreg.h | 37 #define RTC ((struct rtc *)AD_RTC) 39 struct rtc { struct
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/qcom/ |
| H A D | pmk8350.dtsi | 57 pmk8350_rtc: rtc@6100 { 58 compatible = "qcom,pmk8350-rtc"; 60 reg-names = "rtc", "alarm";
|
| H A D | pm8998.dtsi | 87 rtc@6000 { 88 compatible = "qcom,pm8941-rtc"; 90 reg-names = "rtc", "alarm";
|
| /netbsd-src/tests/lib/libc/gen/ |
| H A D | t_sleep.c | 152 int rtc, kq, kerrno; in do_kevent() local 170 rtc = kevent(kq, &ktimer, 1, &kresult, 1, delay); in do_kevent() 175 if (rtc == -1) { in do_kevent() 182 ATF_REQUIRE_MSG(rtc > 0, in do_kevent()
|
| /netbsd-src/sys/arch/evbppc/conf/ |
| H A D | files.pmppc | 44 device rtc : mc146818 45 attach rtc at mainbus 46 file arch/evbppc/pmppc/dev/ds17485.c rtc
|
| /netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-g12b-gsking-x.dts | 19 rtc0 = &rtc; 116 rtc: rtc@51 { label
|
| H A D | meson-g12b-gtking-pro.dts | 18 rtc0 = &rtc; 125 rtc: rtc@51 { label
|