^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef SUN3X_TIME_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define SUN3X_TIME_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) extern int sun3x_hwclk(int set, struct rtc_time *t);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) void sun3x_sched_init(irq_handler_t vector);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) struct mostek_dt {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) volatile unsigned char csr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) volatile unsigned char sec;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) volatile unsigned char min;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) volatile unsigned char hour;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) volatile unsigned char wday;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) volatile unsigned char mday;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) volatile unsigned char month;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) volatile unsigned char year;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #endif