Linux Audio

Check our new training course

Loading...
v3.1
 1#ifndef SUN3X_TIME_H
 2#define SUN3X_TIME_H
 3
 4extern int sun3x_hwclk(int set, struct rtc_time *t);
 5unsigned long sun3x_gettimeoffset (void);
 6void sun3x_sched_init(irq_handler_t vector);
 7
 8struct mostek_dt {
 9	volatile unsigned char csr;
10	volatile unsigned char sec;
11	volatile unsigned char min;
12	volatile unsigned char hour;
13	volatile unsigned char wday;
14	volatile unsigned char mday;
15	volatile unsigned char month;
16	volatile unsigned char year;
17};
18
19#endif
v4.6
 1#ifndef SUN3X_TIME_H
 2#define SUN3X_TIME_H
 3
 4extern int sun3x_hwclk(int set, struct rtc_time *t);
 5u32 sun3x_gettimeoffset(void);
 6void sun3x_sched_init(irq_handler_t vector);
 7
 8struct mostek_dt {
 9	volatile unsigned char csr;
10	volatile unsigned char sec;
11	volatile unsigned char min;
12	volatile unsigned char hour;
13	volatile unsigned char wday;
14	volatile unsigned char mday;
15	volatile unsigned char month;
16	volatile unsigned char year;
17};
18
19#endif